Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to customize token quantity sending? Number of decimal tokens or number of certificate tokens #326

Open
qingshuiling opened this issue May 24, 2023 · 1 comment

Comments

@qingshuiling
Copy link

How to send 1.555 tokens or 54.1332 tokens?
Is there a way to control the number of custom tokens sent?

@LubomirKurpel
Copy link

In terms of EVM there are no decimals in tokens at all. However, most of the tokens have 18 decimals, meaning if you want to send 1.555 tokens you need to send 1.555*10^18 value. To check how many decimans token you are interacting with has, simply navigate to etherscan and check "decimals()" function in read contract tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants