@arx-research/ers-contracts
v2.1.2
Published
[![Coverage Status](https://coveralls.io/repos/github/arx-research/ers-contracts/badge.svg?t=p3tecU)](https://coveralls.io/github/arx-research/ers-contracts)
Downloads
81
Readme
Smart contracts for the Ethereum Reality Service protocol.
Contracts
Ethereum Reality Service is a smart contract protocol for resolution and authentication of blockchain enabled chips embedded in real-world iterms. We use Hardhat as a development environment for compiling, testing, and deploying our contracts.
Development
Install dependencies using yarn install
If need to add dependencies use yarn add [dependency]
, use -D
flag if a dev dependency.
To use console.log during Solidity development, follow the guides.
Available Functionality
Run Hardhat EVM on localhost
yarn chain
Build Contracts
yarn compile
Generate TypeChain Typings
yarn build
Run Contract Tests
yarn test:fast
to run compiled contracts
OR yarn test:clean
if contracts have been typings need to be updated
Default is run on hardhat
network. If you want to run on localhost
use --network localhost