Skip to content

sealed-art/contracts-v2

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published