JSPM

  • Created
  • Published
  • Downloads 99
  • Score
    100M100P100Q64196F
  • License MIT

Package Exports

  • @iqprotocol/solidity-contracts-nft
  • @iqprotocol/solidity-contracts-nft/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@iqprotocol/solidity-contracts-nft) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

IQ Protocol NFT

Docs

Setup

  1. Clone repository
  2. Run yarn

Commands

  • yarn compile
  • yarn test

Generate docs

  • pip install -r requirements.txt
  • yarn hardhato docgen
  • mkdocs serve

Deployment

Testing purposes (for testnet deployments)

  1. A payment token: yarn hardhat --network [network name] deploy:mock:ERC20 --name USDC --symbol USDC
  2. An NFT collection: yarn hardhat --network [network name] deploy:mock:ERC721-internal-tests --name TEST --symbol TT

Metahub & friends

  1. Create a .env file that resembles the .env.example file in the current directory.
  2. Execute the script yarn hardhat --network [network name] deploy:initial-deployment --base-token [address]