Search…
Sponsor a new ERC-20 based sponsored asset
Define a new sponsored CAPE asset tied to an existing ERC-20 token
You can find a video walkthrough here and here.
Note: If you wish to add any freezing or viewing policies to your asset, you will need a CAPE viewing key and/or a CAPE freezing key. If you haven’t created these yet, you can find the instructions here.
Step 1: To create, or 'sponsor', an ERC-20 based asset, click “New CAPE Asset” in the left menu. Enter in the ERC-20 contract address, desired asset token symbol, asset description (optional) and upload an icon (optional).
Note: The following are contract addresses for common ERC-20 test tokens on Ethereum's Goerli testnet:
  • WETH: 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6
  • USDC: 0x07865c6E87B9F70255377e024ace6630C1Eaa37F
  • DAI: 0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844
  • WBTC: 0x7ccF0411c7932B99FC3704d68575250F032e3bB7
  • UNI: 0x82D98aA89E391c6759012df39ccDA0d9d6b24143
  • MATIC: 0x5B3b6CF665Cc7B4552F4347623a2A9E00600CBB5
These can be added to MetaMask by clicking "Assets" -> "Import token":
Note: You may wish to obtain some test ERC-20 tokens on Ethereum's Goerli testnet to try creating a new sponsored ERC-20 based CAPE asset. The following faucets may be useful:
Step 2: Select “enable viewing of transaction amounts” or “enable viewing of transaction addresses” if you want to enable viewing of amounts and addresses for the asset you have sponsored.
You should generate a view key in the “Account” page and include the view key in the “Asset View Key” section. Similarly, if you want to be able to freeze asset records of this type, you should generate a freezing key.
Step 2a: Generate viewing and freezing keys in the Account page.
Step 2b: Configure the viewing and freezing policies.
Step 3: Click on “Create New CAPE” asset to create the new asset type.
Note: The CAPE GUI asset library contains several default CAPE asset types. However, creating new asset types does not automatically add them to a central asset library. Other users who wish to interact with a new asset type will need to import the asset metadata, just as ERC-20 tokens must be imported into MetaMask. See Managing assets in the asset library for more details.
Copy link