Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 1.03 KB

README.md

File metadata and controls

47 lines (42 loc) · 1.03 KB

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