- Clone the repo
git clone https://github.com/raebeatrose4/nexis-bridge-contracts
- Install Dependencies
cd nexis-bridge-contracts
yarn install
- Add Private Key in .env
create a file named .env in root of nexis-bridge-contracts
PRIVATE_KEY=YOUR_PRIVATE_KEY
- Deploy all contracts
npx hardhat --network nexis-testnet deploy
Add more networks in networks-testnet.json
and in HH config
- Configure Networks
After deployment of new contract always configure the Bridge
npx hardhat --network nexis-testnet configure
- Get balance on the chain
npx hardhat --network nexis-testnet get-token-balance
- Send token to destination chain
npx hardhat --network fantom-testnet bridge-token --dest 2370 --amount 50