Protocol Detail
.
├── contracts
│ └── helix
└── packages
└── addresses
Make sure you are using Yarn v1.22.10. To install using brew:
brew install yarn@1.22.10Then install dependencies
yarn install.env example:
MAINNET_RPC_URL="https://eth-mainnet.alchemyapi.io/v2/your-api-key"
RINKEBY_RPC_URL="https://eth-rinkeby.alchemyapi.io/v2/your-api-key"
ROPSTEN_RPC_URL="https://eth-ropsten.alchemyapi.io/v2/your-api-key"
KOVAN_RPC_URL="https://eth-kovan.alchemyapi.io/v2/your-api-key"
PRIVATE_KEY=your private key
ETHERSCAN_API_KEY="your etherscan API key" (optional)To build all packages:
yarn buildTo build a specific package:
PKG=@helix/bridge yarn buildTo build all contracts packages:
yarn build:contractsClean all packages:
yarn cleanClean a specific package
PKG=@helix/bridge yarn cleanTo re-build (clean & build) all packages:
yarn rebuildTo re-build (clean & build) a specific package & it's deps:
PKG=@helix/bridge yarn rebuild