- Clone the repository with
git clone [email protected]:BigWhaleLabs/seal-cred-ledger-contract.git
- Install the dependencies with
yarn
- Add environment vareables to your
.env
file - Run the scripts below
Name | Description |
---|---|
ETHERSCAN_API_KEY |
Etherscan API key |
ETH_RPC |
Ethereum RPC URL (defaults to @bwl/constants) |
CONTRACT_OWNER_PRIVATE_KEY |
Private key of the contract owner |
COINMARKETCAP_API_KEY |
Coinmarketcap API key |
Also check out the .env.sample
file for more information.
yarn build
— compiles the contract ts interface to thetypechain
directoryyarn test
— runs the test suiteyarn deploy
— deploys the contract to the networkyarn verify-derivatives
— verifies the derivative contractsyarn eth-lint
— runs the linter for the solidity contractyarn lint
— runs all the lintersyarn prettify
— prettifies the code in th projectyarn release
— relases thetypechain
directory to NPM