Skip to content

Song-Dust/contracts

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.0%
  • Solidity 25.6%
  • Other 1.4%