/bibnft

BIBMeta球星卡NFT源码

Primary LanguageSolidityMIT LicenseMIT

Introduction

Getting Started

Pin the npm version for compilling

npm -g -i npm@8.5.5

Setup env

Create .env to include deployer && api kess

mv .env.example .env

Setup MNEMONIC && ETHERSCAN_KEY wherein, MNEMONIC is configured for deployer key (in mnemonic), ETHERSCAN_KEY configured for bsc-scan api key

Some usfull Commands

  1. To install required node.js modules
npm ci:clean
  1. To compile the solidity source code
npm run compile
  1. To run test
npm run test
  1. To deploy the smart contract on bsc testnet
npm run bsc-test:deployment
  1. To deploy the smart contract on bsc mainnet
npm run bsc:deployment
  1. To open console on testnet
npm run --network bsc-test console
  1. To open console on mainnet
npm run --network bsc console
  1. To deploy the single nft contract
npm run bsc:deploy-nft

Deployed Contract Address

TBD