NFT token on Binance Smart Chain
-
Run ganache-cli in a parallel terminal
npx ganache-cli -i 5777 -p 7545
-
Copy the mnemonic from ganache-cli into the
MNEMONIC_PRIVATEKEY
env variable -
Copy the first private key from ganache-cli: this will be the platform admin account so it will be useful to import it in metamask
-
install and deploy
npm i npm run migrate:local
-
Copy the address displayed in
Kargain Contract:
, this address will be needed in thekargain-app
env file
Create a .env
file in this folder with the following content.
MNEMONIC_PRIVATEKEY=
- MNEMONIC_PRIVATEKEY Private key word seed of the Owner and deployer of this contracts.
- Optionally you can set a value for
NETWORK_GAS_PRICE
Change those values for production environments
npm run test