0.0.7 • Published 3 years ago
@attentionstreams/contracts v0.0.7
Attention Streams
This project is an implementation of Attention Streams.
Quick start
clone this repo in desired location:
git clone https://github.com/attention-streams/contracts.gitcd into the repo
cd contractsinstall dependencies
npm installgenerate types from contracts for tests
npx hardhat typechainrun test in a local hardhat blockchain
npx hardhat testTry running some of the following tasks:
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.ts
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
npx eslint '**/*.{js,ts}'
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix