1.0.12 • Published 6 months ago
bcts-usingtellor v1.0.12
Initial Setup
Prerequisites
The following tools are expected to be installed on your system to run this project:
- Node
- NPM
- YARN
- Hardhat
- Git
Setup
Install dependencies:
yarn install
Compile
Compile contracts:
npx hardhat compile
Lint
Run linter:
npx eslint .
Publish
Publish to NPM repository.
Login to your account at https://www.npmjs.com/:
npm login
Publish package to your NPM account:
npm publish
Usage
Test Locally (on hardhat)
Run unit tests on the contracts (on hardhat):
npx hardhat test
Test Locally (on localhost)
- 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
Contributing
Bug reports and pull requests are welcome on GitHub at: https://github.com/SELISEdigitalplatforms/l3-solidity-bcts-tellor