Skip to content

Test ERC20 Token

tetsuroescudero edited this page Nov 4, 2020 · 10 revisions

Overview

To manually test our write/privileged operations, we have deployed a test token to Ropsten using this github repo. After you're done, add the test token information (contract address, token name, etherscan link, etc.) to the wiki so that other people know how to use it.

Test Token Information

Contract Address

0xe9404c75D0c2C6FC9FE5c07f36b5aE15547B546c
Also found in our utils/constants.js file as TEST_TOKEN_CONTRACT_ADDRESS

Etherscan Link

https://ropsten.etherscan.io/address/0xe9404c75D0c2C6FC9FE5c07f36b5aE15547B546c

Test Contract Addresses

The following are found in utils/constants.js:
TEST_TOKEN_CONTRACT_ADDRESS
TEST_TOKEN_OWNER_ADDRESS
TEST_TOKEN_MASTER_MINTER_ADDRESS
TEST_TOKEN_PAUSER_ADDRESS TEST_TOKEN_BLACKLISTER_ADDRESS

To Add a Minter

To Mint

To Burn

To Pause

Adding the Test Token to Metamask

  1. Open Metamask
  2. Scroll down to find and click the Add Token button
  3. Navigate to the right tab Custom Token
  4. Enter the test token contract address (0xe9404c75D0c2C6FC9FE5c07f36b5aE15547B546c)
  5. Enter a name for the test token to show up as in Metamask (e.g. test token)
  6. Press Next and Add Tokens to confirm
  7. The token should now show up in Metamask under Assets and can be used when on the Ropsten network

More Information

For more documentation on methods, please visit the docs folder of the centre tokens github repo
To view methods and implementations of these methods, visit the etherscan link, navigate right to the Contract tab, and Decompile Bytecode

Clone this wiki locally