Links

Deploying a Wrapper Super Token

Looking to make an Super Token Wrapper for your ERC20 token? You've come to the right place!
Anyone can deploy a Super Token Wrapper for any ERC20 token. The deployer account doesn't receive any control or admin powers, and all Super Token logic upgrades are handled by Superfluid Protocol Governance.

Using a Block Explorer to Deploy Your Wrapper

1. Head to Super Token Factory contract for appropriate network 👇
2. Connect wallet.
3. Find the createERC20Wrapper function. Refer to the below image and provide the required parameters with no additional characters.
4. Click Write and confirm through your wallet. Congrats, you've created a new Wrapper Super Token!
5. To find the address of your new Wrapper Super Token, go to the transaction hash and click on the "Logs" tab. The address is in the "InterfaceImplementerSet" event log (SUNNYx example).
Alternatively, search your token in the top right search bar and find it in the drop down

Using Deployment Scripts to Deploy Your Wrapper

We've created some handy scripts for deploying the ERC20 Wrapper contract.
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
Now you can use the deploy-unlisted-super-token.js script to deploy the wrapper:
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.

Adding Token to Superfluid Dashboard

Congrats on deploying your Super Token! If you'd like to see it listed on the Superfluid Dashboard, check out this page 👇