diba-io / bitmask-core

Core functionality for the BitMask wallet
https://bitmask.app
Other
95 stars 23 forks source link

Transfer Fractions #363

Closed cryptoquick closed 11 months ago

cryptoquick commented 1 year ago

Right now we only transfer amounts in u64 using bigint. However, RGB contracts support decimal precision up to, I think, 255. We need to be able to pass a bigint for the numbers after the decimal point to be used as the fraction, as a separate argument.