Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 828 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 828 Bytes

Sealed Art v2

Modifications introduced:

  • Gasless minting
  • Modular system to make new additions easier

Invariants

  • Every time _balances is modified we emit a Transfer event
  • Every time money is sent out we reduce someone's balance an equal amount
  • Any action on an auction can only happen if the auction is open

Scripts

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts

export $(echo $(cat .env | sed 's/#.*//g'| xargs) | envsubst) && npx hardhat deploy --network mainnet
export $(echo $(cat .env | sed 's/#.*//g'| xargs) | envsubst) && npx hardhat etherscan-verify --network mainnet


PRIVATEKEY=xxx npx hardhat run scripts/deploy.ts --network fuji
ETHERSCAN_API_KEY=xxx npx hardhat verify --network fuji contract_address params