0

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?

1
  • I've edited my answer to add a note. The contract doesn't have a mechanism to increase an existing account balance. Once deployed contract cannot be modified and only existing methods can be used. In this case it is not possible to alter balances. The only solution in this case is to migrate to a new contract.
    – Ismael
    Commented Jul 19, 2020 at 18:30

2 Answers 2

0

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

3
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.