The following tools are expected to be installed on your system to run this project:
- Node
- NPM
- YARN
- Hardhat
- Git
Install dependencies:
yarn install
Compile contracts:
npx hardhat compile
Run linter:
npx eslint .
Publish to NPM repository.
Login to your account at https://www.npmjs.com/:
npm login
Publish package to your NPM account:
npm publish
Run unit tests on the contracts (on hardhat):
npx hardhat test
- Start HTTP and WebSocket JSON-RPC server at
http://127.0.0.1:8545/
:
npx hardhat node
- Run unit tests on the contracts (by other command line terminal):
npx hardhat test --network localhost
Bug reports and pull requests are welcome on GitHub at:
https://github.com/BCTSAG/tellor