Skip to content

Add Web-Safe 64-bit Integer Fallbacks for Dart/Flutter Web #266

Description

@codeZe-us

The Dart implementation natively handles 64-bit integers on mobile/desktop, but compiling to Flutter Web forces integers into JavaScript Number types, leading to precision loss for large MEMO_IDs.

  • Implement a conditional compilation or BigInt wrapper specifically for Dart Web targets in core-dart.
  • Ensure that large routing IDs (> Number.MAX_SAFE_INTEGER) are safely parsed as strings when running in a browser context.
  • Create specific Flutter Web test vectors.

Expectation: Developers using stellar_address_kit in Flutter Web apps do not experience silent truncation or precision loss for massive routing IDs.

Contributor telegram group: https://t.me/+OBaYnjDFA3w0Njdk

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions