Hello Token

This tutorial contains a solidity contract that can help you to build a cross-chain borrow lending application.

Testing Locally

git clone https://github.com/wormhole-foundation/hello-token.git
cd hello-token
npm run build
forge test

There is a bug in the package json, change

"typechain": "typechain --target ethers-v5 --out-dir ./ts-scripts/ethers-contracts ./out/**/*.json"

Into

"typechain": "typechain --target ethers-v5 --out-dir ./ts-scripts/ethers-contracts ./out/**/*.sol/*.json"

Deploy to testnet

  1. Obtain testnet AVAX here
  2. Obtain testnet CELO here
EVM_PRIVATE_KEY=your_wallet_private_key npm run deploy