Deploying Token Handlers
Protocol supported tokens require a Token Handler be deployed. The Token Handler connects the token to the protocol and the Application Manager, providing the ability to configure rules. It is recommended that the Token Handler is deployed prior to the token. See below for details.
Index
Prerequisites
The following steps must already be completed on the target chain:
- The Protocol has been deployed
- You have deployed an Application Manager
- You have created at least one Application Administrator role in the Application Manager.
ERC20 Token Handler Deployment
- Ensure the environment variables are set correctly. The
DEPLOYMENT_OWNER
andDEPLOYMENT_OWNER_KEY
are used by the deployment script. - Run a script to deploy the Handler:
- Run a script to configure the Handler:
ERC721 Token Handler Deployment
- Ensure the environment variables are set correctly. The
DEPLOYMENT_OWNER
andDEPLOYMENT_OWNER_KEY
are used by the deployment script. - Run a script to deploy the Handler:
- Run a script to configure the Handler: