@attentionstreams/contracts
v0.0.7
Published
voting and governance system
Downloads
12
Readme
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.git
cd into the repo
cd contracts
install dependencies
npm install
generate types from contracts for tests
npx hardhat typechain
run test in a local hardhat blockchain
npx hardhat test
Try 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