Dosu Invites contract
Usage
- Clone the repository with
git clone git@github.com:BigWhaleLabs/dosu-invites-contract.git
- Install the dependencies with
yarn
- Add environment vareables to your
.env
file - Run the scripts below
Environment variables
Name | Description |
---|---|
ETHERSCAN_API_KEY |
Etherscan API key |
ETH_RPC |
RPC URL (defaults to @bwl/constants) |
CONTRACT_OWNER_PRIVATE_KEY |
Private key of the contract owner |
Also check out the .env.example
file for more information.
Available scripts
-
yarn compile
— compiles the contract ts interface to thetypechain
directory -
yarn test
— runs the test suite -
yarn deploy
— deploys the contract to the network -
yarn eth-lint
— runs the linter for the solidity contract -
yarn lint
— runs all the linters -
yarn prettify
— prettifies the code in th project -
yarn release
— relases thetypechain
directory to NPM