๐ชToken Registration
Registering a new ZRC-2/ERC-20 token with the ZilBridge.
The following guidelines have been prepared for project owners who wish to bridge their assets from Zilliqa to Ethereum or vice versa.
Qualifying Requirements
Project teams wishing to bridge their token must fulfil all of the following criteria:
No rebasing token;
Must be strictly either ZRC-2 or ERC-20 compliant (i.e. the token should not be on both Zilliqa and Ethereum chains);
At least 500 token holders;
At least USD$1m market capitalisation for the last 2 weeks; and
Listed on both CoinGecko and CoinMarketCap for ERC-20 tokens, or listed on ZilStream for ZRC-2 tokens.
The process to get a token registered with the bridge depends on whether the token is currently a:
A ZRC-2 token on Zilliqa; or
An ERC-20 token on Ethereum
Please note that there is no guarantee that the bridge will be enabled on the desired launch date and the Zilliqa Team reserves the right to approve or reject any token bridging request.
1 | Steps for ZRC-2 Tokens
The following step-by-step instructions are for projects that have issued a ZRC-2 token on Zilliqa and are looking to expand to Ethereum as an ERC-20 token. Please follow the steps listed below:
Step 1: Make sure that your project and your token fulfil the qualifying requirements set above.
Step 2: Clone https://github.com/Zilliqa/switcheo-tradehub-eth and follow the instructions provided in the README to deploy a modified version of an ERC-20 token contract on the Ethereum mainnet.
Do note that the ERC-20 token contract for the bridge is slightly different from the standard ERC-20 token contract. At the deployment time, you will need to set the following immutable parameters. Set them as explained below:
Please do not modify any token contract logic and strictly follow the instructions. Failure to keep it unmodified will result in a malfunctioning bridged token.
Contract Param | Sample Value | Note |
---|---|---|
File Name For the token contract code |
| Replace Zwap with the ZRC-2 token Symbol following the implicit styling convention |
Token Name |
| Replace ZWAP with the ZRC-2 Token Symbol |
Symbol |
| Replace ZWAP with the ZRC-2 Token Symbol |
Decimal |
| Use the ZRC-2 token decimals |
Step 3: Once you have the ERC-20 contract deployed, contact us at zilbridge@zilliqa.com from your official email account (preferably with the same project domain) and provide the following information:
Information | Sample Response |
---|---|
Project team name | ZilSwap |
Project team contact | contact@zilswap.io |
ERC-20 bridged token contract address from Step 2 (Mainnet) |
|
ZRC-2 token contact address (Mainnet) |
|
Desired launch date | November 20, 2021 |
Audit report (if any) | |
Any other information we need to take note of | N/A |
Upon receipt of the email, the team will reach out with an acknowledgement. Please note that it may take 1โ2 weeks (from the time you have received the acknowledgement email) for the token to be available on the bridge.
2 | Steps for ERC-20 Tokens
The following step-by-step instructions are for projects that have issued an ERC-20 token on Ethereum and are looking to expand to Zilliqa as a ZRC-2 token. Please follow the steps listed below:
Step 1: Make sure that your project and your token fulfil the qualifying requirements set above. The contract should also be verified on Etherscan.
Step 2: Deploy the following ZRC-2 token contract on the Zilliqa Mainnet: https://github.com/Switcheo/switcheo-tradehub-zil/blob/main/contracts/SwitcheoTokenZRC2.scilla.
Do note that this token contract is slightly different from the standard ZRC-2 token contract. At the deployment time, you will need to set several immutable parameters. Set them as explained below:
Please do not modify any token contract code logic. Failure to keep it unmodified will result in a malfunctioning bridged token.
Immutable Param Name | Immutable Param Type | Sample Value | Note |
---|---|---|---|
|
|
| Replace USDT with the ERC-20 Token Symbol |
|
|
| Replace USDT with the ERC-20 Token Symbol |
|
|
| DO NOT MODIFY THIS VALUE |
|
|
| Decimal should match the ERC-20 token decimals |
|
|
| DO NOT MODIFY THIS VALUE |
|
| 0xd7 | DO NOT MODIFY THIS VALUE |
Step 3: Once the contract has been deployed, double-check if the parameters
contract_owner
,init_supply
, andinit_lockproxy
are set to the prescribed values. Any difference at this stage will mean that the contract will not be compatible with the ZilBridge.
You may reference the zUSDT contract for comparison: https://viewblock.io/zilliqa/address/zil1sxx29cshups269ahh5qjffyr58mxjv9ft78jqy?tab=state
Step 4: Once you have the ZRC-2 contract deployed, contact us at zilbridge@zilliqa.com from your official email account (preferably with the same project domain) and provide the following information:
Information | Sample Response |
---|---|
Project team name | Tether USDT |
Project team contact | contact@tether.to |
ERC-20 token contract address Mainnet |
|
ZRC-2 bridged token contact address from Step 2 Mainnet |
|
Desired launch date | November 20, 2021 |
Audit report (if any) | N/A |
Any other information we need to take note of | N/A |
Upon receipt of the email, the team will reach out with an acknowledgement. Please note that it may take 1โ2 weeks (from the time you have received the acknowledgement email) for the token to be available on the ZilBridge.
Step 5: The last thing you'll need to do is to get your token registered on Viewblock. You can do so by submitting your project's information to github.com/ViewBlock/cryptometa
Last updated