TransWikia.com

Token Access Issue

Ethereum Asked by Aymi4243 on August 26, 2021

Hi Sir we Create Token but we cloud’n have full access on Tokens. Like we create 2000M Token but when I add it in my Metamask I got only 200M Tokens. Cloud you please me out for this?

2 Answers

In the source code from etherscan you can see that total supply and initial balance are not assigbed the same value.

function Bitscoin(
    ) {
    balances[msg.sender] = 2000000000000;               // Give the creator all initial tokens (100000 for example)
    totalSupply = 20000000000000;                        // Update total supply (100000 for example)
    name = "Bitscoin";                                   // Set the name for display purposes
    decimals = 4;                            // Amount of decimals for display purposes
    symbol = "BTCX";                               // Set the symbol for display purposes
}

The difference is a zero.

  • balances = 2000000000000
  • totalSupply = 20000000000000

So 90% of the total supply is unassigned.

Note: The contract doesn't have a mechanism to increase an existing account balance.

Answered by Ismael on August 26, 2021

Check where and how much you minted tokens. Note: it's better to attach the token address for more info.

Answered by MentatX on August 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP