Skip to content

Commit

Permalink
feat: deploy more tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZhangReal committed Oct 18, 2023
1 parent 313e645 commit 1ffae2e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions standard-bridge-custom-token/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,35 @@ const TOKENS = {
symbol: "TEST2",
decimals: 18,
l1TokenAddress: "0x32B3b2281717dA83463414af4E8CfB1970E56287",
l2TokenAddress: "0xA2B0b1DF7FbD966560A302E9E2cFB9d0f115FfD6",
},
MATIC: {
name: "Matic Token",
symbol: "MATIC",
decimals: 18,
l1TokenAddress: "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0",
l2TokenAddress: "0x0f52A51287f9b3894d73Df05164D0Ee2533ccBB4",
},
iZi: {
name: "iZUMi Token",
symbol: "iZi",
decimals: 18,
l1TokenAddress: "0x9ad37205d608b8b219e6a2573f922094cec5c200",
l2TokenAddress: "0x91647632245caBf3d66121F86C387aE0ad295F9A",
},
iUSD: {
name: "iZUMi Bond USD",
symbol: "iUSD",
decimals: 18,
l1TokenAddress: "0x0A3BB08b3a15A19b4De82F8AcFc862606FB69A2D",
l2TokenAddress: "0x078f712f038A95BeEA94F036cADB49188a90604b",
},
TRB: {
name: "Tellor Tributes",
symbol: "TRB",
decimals: 18,
l1TokenAddress: "0x88dF592F8eb5D7Bd38bFeF7dEb0fBc02cf3778a0",
l2TokenAddress: "",
},
};

Expand Down
4 changes: 4 additions & 0 deletions standard-bridge-custom-token/scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if (!tokenInfo) {
console.error('Invalid Token: "process.env.DEPLOY_TOKEN_NAME"');
return;
}
if (tokenInfo.l2TokenAddress) {
console.error(`Already Deployed: ${tokenInfo.l2TokenAddress}`);
return;
}

main(tokenInfo).catch((error) => {
console.error(error);
Expand Down

0 comments on commit 1ffae2e

Please sign in to comment.