This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
This repo provides a starter project to build [IBC](https://github.com/cosmos/ibc) enabled Solidity contracts that connect rollups to one another Polymer Hub, through the [vIBC core contracts](https://github.com/open-ibc/vibc-core-smart-contracts).
Before deploying check out the `.env.example` and `.env.test.example` files. You should create your own `.env` (if you plan to deploy to mainnet) and `.env.test` (if you plan to deploy to testnet) files. ```bash DEPLOYER_PRIVATE_KEY=<PRIVATE KEY OF THE DEPLOYER WALLET> ETHERSCAN_API_KEY=<ETHERSCAN API KEY> CHILD_CHAIN_RPC=<RPC OF THE CHILD CHAIN> ROOT_CHAIN_RPC=<RPC OF THE ROOTH CHAIN> ROOT_GAS_PRICE=<GAS PRICE ON THE ROOT CHAIN> ROOT_GAS_LIMIT=<GAS LIMIT ON THE ROOT CHAIN> CHILD_GAS_PRICE=<GAS PRICE ON THE CHILD CHAIN> CHILD_GAS_LIMIT=<GAS LIMIT ON THE CHILD CHAIN> CHECKPOINT_MANAGER=<CHECKPOINT MANAGER ADDRESS> STAKE_MANAGER=<STAKE MANAGER ADDRESS> FURY_TOKEN=<ADDRESS OF THE FURY ERC20 TOKEN> FX_ROOT=<ADDRESS OF THE FX ROOT CONTRACT> FX_CHILD=<ADDRESS OF THE FX CHILD CONTRACT> DAO=<ADDRESS THAT WILL BE USED AS A DAO ON STFURY> INSURANCE=<ADDRESS THAT WILL BE USED AS AN INSURANCE ON STFURY> TREASURY=<ADDRESS THAT WILL BE USED AS A TREASURY ON STFURY> STFURY_SUBMIT_THRESHOLD=<SUBMIT THRESHOLD> ``` # Deploying To deploy on testnet run: ```bash npm run deploy:test ```