⚒ī¸Mint Additional Fungible Tokens

Used to add supply to an existing fungible token.

Usage

Edit your .env file (rename .env.example to .env) with the following items:

MY_ACCOUNT_ID=0.0.123456
MY_PRIVATE_KEY=302e.........
###Mint additional Fungible Tokens## 
FT_TOKEN_ID=0.0.7899996
FT_SUPPLY_KEY=302.....................

We recommend to remove the private key from the .env file after use. Extra precaution.

Then, in your Node.js command prompt terminal, you can use

node mintAdditionalFungibleTokens.mjs [-mainnet] -supply XXX

Arguments

-mainnet to deploy on mainnet - optional - defaults to testnet unless specified

-supply - please provide an integer, net of decimals

Last updated