Vesta-wallet / coinslib

A dart cryptocurrency library for Flutter.
https://pub.dev/packages/coinslib
MIT License
10 stars 11 forks source link

Change Output values to BigInt #29

Closed MatthewLM closed 2 years ago

MatthewLM commented 2 years ago

Dart uses signed 64 bit integers on the native target and floating point numbers for the Javascript target with insufficient precision. Output values should be unsigned 64-bit integers. To solve this, the Output value field shall be changed to a BigInt. Serialisation methods will be modified accordingly.