post deprecatedhttps://api.tatum.io/v3/offchain/celo/erc20
This method is deprecated.
Use this method instead.
2 credits per API call.
First step to create new ERC-20 token with given supply on Celo blockchain with support of Tatum's private ledger.
This method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
The whole supply of ERC-20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC-20 token name as account's currency.
Newly created account is frozen until the specific ERC-20 smart contract address is linked with the Tatum virtual currency, representing the token.
Order of the steps to create ERC-20 smart contract with Tatum private ledger support:
- Register Celo ERC-20 token - creates a virtual currency within Tatum
- Deploy Celo ERC-20 smart contract - create new ERC-20 smart contract on the blockchain
- Store Celo ERC-20 smart contract address - link newly created ERC-20 smart contract address with Tatum virtual currency - this operation enables frozen account and enables ledger synchronization for ERC-20 Tatum accounts
Address on the blockchain, where all initial supply will be transferred, can be defined via the address or xpub and derivationIndex. When xpub is present, the account connected to this virtualCurrency will be set as the account's xpub.