Replies: 1 comment 1 reply
-
Most tokens should use 18, so I think we should just set it to 18. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Considering that:
18
and the way to change it is through overloading, which is not available in Cairo.decimals
' type should beuint8
, which is way smaller than Cairo'sfelt
. This could cause problems when bridging tokens to EVM compatible chains.Should we then add a new parameter to the constructor and sanitize it's under
2^8
?Beta Was this translation helpful? Give feedback.
All reactions