createERC20Wrapper
function, and input the required parameters, with no additional characters
address
of the token you want to wrap1
will give the Superfluid Governance semi-upgradeabilitySuper
+ the current name of your token (ex. Super Dog Token
)x
(ex. DOGx
)write
and confirming through your wallet. Congrats, you've created a new Super Token Wrapper!DOGx
and wait for your newly created token to appear in the dropdown)$ git clone <https://github.com/superfluid-finance/protocol-monorepo/>
$ yarn install --frozen-lockfile
$ yarn build
$ cd packages/ethereum-contracts
$ cp .env.template .env
# edit .env file and configure the correct mnemonic and rpc endpoint
# check truffle-config.js for what environment variables are required
Deploy Unlisted ERC20 Token Wrapper
You should use the deploy-unlisted-super-token.js
script:
RELEASE_VERSION=v1 npx truffle --network {xdai or matic} exec scripts/deploy-unlisted-super-token.js : {Underlying Token Address} {SuperToken Name} {SuperToken Symbol}
If you are wrapping an existing token, like DAI or USDC, please use suffix x
in the SuperToken symbol. If you are wrapping your own token, feel free to use any name!
In order for the token to be listed in our user dashboard, please follow the following process:
<aside> ⛔ PLEASE Complete the form on our token listing page
</aside>
<aside> ⚠️ While we track and support unlisted tokens, for optimal support from our dashboard and off-chain infrastructure it is highly recommended to list your tokens before using them!
</aside>
🔥 Congratulations! 🔥