safhandle 0.1.0 copy "safhandle: ^0.1.0" to clipboard
safhandle: ^0.1.0 copied to clipboard

Dart/Flutter SDK for the SafHandle name service on Safrochain — resolve wallet addresses by name and register handles on-chain, mirroring the contract's validation.

Changelog #

All notable changes to this package are documented here. Format based on Keep a Changelog; versioning follows SemVer.

0.1.0 #

Added #

  • Initial Dart/Flutter port of the SafHandle SDK, matching the TypeScript SDK's public surface:
    • SafHandleClient — read-only smart queries over the REST/LCD gateway (getAddress, lookup, resolveName, getHandles, getNameRecord, getConfig).
    • SafHandleSigningClient + pluggable SafHandleSignerregisterName (exact fee from config), transferName, releaseName.
    • Validation helpers mirroring the contract's validation.rs (normalizeName, parseInput, isSafrochainAddress, toDisplayName).
    • SafHandleError / SafHandleErrorCode and the isNotFound heuristic.
    • Testnet/mainnet network presets with the pinned testnet contract address.
  • Dependency-free bech32 checksum verification for address validation.
  • Unit tests for validation parity, the read path, and the write path.
1
likes
160
points
158
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart/Flutter SDK for the SafHandle name service on Safrochain — resolve wallet addresses by name and register handles on-chain, mirroring the contract's validation.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#safrochain #cosmwasm #name-service #wallet #cosmos

License

MIT (license)

Dependencies

http, meta

More

Packages that depend on safhandle