Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Sep 11, 2024
1 parent f620bf7 commit ccc5e77
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/tasks/src/localnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ const localnet = async (args: any) => {
try {
const addr = await initLocalnet(port);

// EVM Contract Addresses
const evmHeader = "\nEVM Contract Addresses";
console.log(ansis.cyan(`${evmHeader}\n${"=".repeat(evmHeader.length)}`));

const evmAddresses = {
"Gateway EVM": addr.gatewayEVM,
"ERC-20 Custody": addr.custodyEVM,
Expand All @@ -91,9 +95,12 @@ const localnet = async (args: any) => {
}, {}),
};

console.log(ansis.cyan("EVM Contract Addresses and Foreign ERC-20 Tokens"));
console.table(evmAddresses);

// ZetaChain Contract Addresses
const zetaHeader = "\nZetaChain Contract Addresses";
console.log(ansis.green(`${zetaHeader}\n${"=".repeat(zetaHeader.length)}`));

const zetaAddresses = {
"Gateway ZetaChain": addr.gatewayZetaChain,
ZETA: addr.zetaZetaChain,
Expand All @@ -105,7 +112,6 @@ const localnet = async (args: any) => {
}, {}),
};

console.log(ansis.green("ZetaChain Contract Addresses and ZRC-20 Tokens"));
console.table(zetaAddresses);

fs.writeFileSync(LOCALNET_PID_FILE, process.pid.toString(), "utf-8");
Expand Down

0 comments on commit ccc5e77

Please sign in to comment.