|
You'll probably want to use a `decimals` value of `18`, just like Ether and most ERC20 token contracts in use, unless you have a very special reason not to. When minting tokens or transferring them around, you will be actually sending the number `num GLD * 10^decimals`.
|
|
You'll probably want to use a `decimals` value of `18`, just like Ether and most ERC20 token contracts in use, unless you have a very special reason not to. When minting tokens or transferring them around, you will be actually sending the number `num GLD * 10^decimals`.
|
|
So if you want to send `5` tokens using a token contract with 18 decimals, the the method to call will actually be:
|
|
So if you want to send `5` tokens using a token contract with 18 decimals, the the method to call will actually be:
|