0.0.14 • Published 3 years ago
@big-whale-labs/seal-cred-posts-contract v0.0.14
Seal Cred Posts contract
Used to save post data on the blockchain.
Usage
- Clone the repository with
git clone git@github.com:BigWhaleLabs/seal-cred-posts-contract - Install the dependencies with
yarn - Add environment vareables to your
.envfile - Run the scripts below
Environment variables
| Name | Description |
|---|---|
ETHERSCAN_API_KEY | Etherscan API key |
ETH_RPC | Ethereum RPC URL |
CONTRACT_OWNER_PRIVATE_KEY | Private key of the contract owner to deploy the contracts |
COINMARKETCAP_API_KEY | Coinmarketcap API key |
Also check out the .env.sample file for more information.
Available scripts
yarn build— compiles the contract ts interface to thetypechaindirectoryyarn test— runs the test suiteyarn deploy— deploys the contract to the networkyarn eth-lint— runs the linter for the solidity contractyarn lint— runs all the lintersyarn prettify— prettifies the code in th projectyarn release— relases thetypechaindirectory to NPM