idexo
  • Introduction to idexo
  • Getting Started
  • Get API Key
  • NFT
    • Introduction
    • Create a Capped NFT Collection
    • Create a Uncapped NFT Collection
    • Create an Uncapped Soulbound NFT (SBT) Collection
    • Create a Capped Soulbound NFT (SBT) Collection
    • Mint a NFT
    • Mint a SBT
    • Mint a NFT With Image and Metadata In 1 Transaction
  • Project Tokens
    • Create a Project Token
    • Mint a Token
  • Storage
    • Upload Plain Text
    • Upload an HTML file
  • Request A New Blockchain Integration
  • How To Add A New Blockchain
  • Vesting
    • Create a Vesting Smart Contract
  • Utils
    • Introduction
    • Get Contract
    • Get Transactions
  • Directional Staking
    • Introduction
    • NFTMe
Powered by GitBook
On this page

Was this helpful?

  1. Project Tokens

Mint a Token

This describes how to mint a specified amount of tokens to a specified wallet address on the network specified, for the token contract specified.

PreviousCreate a Project TokenNextUpload Plain Text

Last updated 2 years ago

Was this helpful?

To use this method, you need an that has been upgraded to a customer API key. To upgrade, please .

You will also need the address of a deployed ERC20 token contract to use. You can .

Assuming you have , you can use the following code in your file (instructions on modifying it follows - for more information on how to use it see our tutorial):

const ido = require('idexo-sdk')
ido.network.mintToken(apiKey, contractAddress, mintToAddress, amount)
.then((res) => console.log(res.data))

To use the above code, you need to set values for:

  • contractAddress: the address of the BEP20 token contract

  • mintToAddress: the address of the wallet you want to the tokens to

  • amount: the amount of tokens to mint

  • apiKey: your

The method in summary is:

ido.Ethereum.mintERC20(contractAddress, addressToMintTo, image, apiKey)

idexo API key
contact us
create one here
installed the SDK
Getting Started
idexo API key