NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #5358 most downloaded on pub.dev
A pure Dart package for encoding and decoding Uniform Resources (URs), the URI-encoded CBOR format developed by Blockchain Commons.
Latest stable
0.1.30
Last release 1 months ago
09 Oct 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 29 of 30 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
30 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Fix (ALPH / Cosmos): AlphSignRequest.outputs and KeystoneCosmosSignRequest.derivationPaths / addresses no longer silently drop malformed items. A pres
AlphSignRequest.outputs and KeystoneCosmosSignRequest.derivationPaths / addresses no longer silently drop malformed items. A present field that is not a CborList, or that contains any item of the wrong type, now throws InvalidCborURException; an empty Cosmos derivationPaths also throws InvalidCborURException instead of a bare Exception (#88).EthSignRequestUR no longer decodes every 68-byte calldata as an ERC-20 transfer. to / token / value are rewritten from calldata only when the selector is transfer(address,uint256) (0xa9059cbb) and the address word has zero upper padding; approve, increaseAllowance and any other 68-byte call now keep to = tx.to, value = tx.value, token = ''. These fields are display-only; signing payloads are unchanged.EthSignRequestUR.callKind (EthCallKind.nativeTransfer / erc20Transfer / contractCall, null for message requests), EthSignRequestUR.selector, and the ERC20_TRANSFER_SELECTOR constant so signers can render contract calls explicitly instead of inferring from token.isEmpty. Both fromUR and fromTypedTransaction (via setTx) populate to / token / value / callKind / selector identically; previously the direct factory left to empty and value zero.bigIntToBytes rejects negative and non-decimal input with URException(invalidParams) instead of encoding negatives as the wrong positive value or throwing FormatException (#88).Your coding agent can read these notes before it upgrades. Set up the MCP server →
Feature (SC V2): add independent sc-v2-sign-request and sc-v2-signature registry types for deterministic raw-byte cold-signing exchange. Requests carr
sc-v2-sign-request and sc-v2-signature registry types for deterministic raw-byte cold-signing exchange. Requests carry only protocol version, UUID, SC/SCP profile, master fingerprint, signer core address and opaque canonical semantic transaction bytes; responses carry only protocol version, the matching UUID and a 64-byte Ed25519 signature.ScSignRequest / ScSignature registry types and decoders unchanged; V2 types never negotiate or silently downgrade to the legacy JSON formats.Feature (SC): add the opt-in deterministic zlib-json-v1 encoding for ScSignRequest.signingPayloadData; legacy uncompressed requests remain byte-compat
zlib-json-v1 encoding for ScSignRequest.signingPayloadData; legacy uncompressed requests remain byte-compatible and continue to decode.ScSignRequest.fromUR / fromCBOR boundary.Fix (UR transport): Harden fragment decoding — UR.read() now returns false on malformed fragments instead of throwing, the reassembled payload's CRC32
UR.read() now returns false on malformed fragments instead of throwing, the reassembled payload's CRC32 is verified before a decode completes, and fragment seqLength is capped at 0x10000 so a field-consistent frame with a huge sequence length can no longer trigger an out-of-memory allocation that escapes read()'s error handling and kills the scan loop.UR.reset() for safe decoder reuse, and wrap the encode-side sequence number to uint32.MINIMAL decoding validates length, charset, per-word bounds and checksum, throwing InvalidFormatURException / InvalidChecksumURException on corrupt input; InvalidSequenceURException now reports invalidSequence. Conformant fragments decode unchanged.CryptoHDKey entries for every non-secp chain (not just Solana), so a single exotic-chain key can no longer abort a whole crypto-multi-accounts import. Corruption is now detected from the key shape (a key encoded like a secp256k1 point — compressed 33-byte 0x02/0x03 or uncompressed 65-byte 0x04 — that still fails BIP32.fromPublicKey), independent of use_info, so a corrupt BTC BIP49/84/86 or LTC/BCH key fails closed even when Keystone omits use_info.CryptoMultiAccountsUR.fromUR no longer aborts the whole account set when one key entry is undecodable — it skips that entry and records it in the new skippedKeys (SkippedHDKeyEntry) list so callers can surface which accounts could not be imported. Single-key CryptoHDKeyUR.fromUR still throws.crypto_wallet_util constraint to ^2.0.0 so consumers can resolve current 2.x releases.Feature: Add SC sign request and signature UR support.
examples/bc_ur_dart_demo for scanning, encoding and signing-flow debugging.Feature: Add Keystone-compatible BCH, Cosmos, Solana, TRON and XRP sign request/result UR support.
Refactor: Refactor \RegistryItem\ .
Feature: Support Cosmos & Solana.
- Update: Update crypto utils.
Feature: Support EIP7702 Transaction.
Update: Update crypto_wallet_util pubspec version.
Update: Update crypto_wallet_util pubspec version.
Fix: Fixed address and signHashType parse error of GsplItem.
Fix: Fixed CryptoMultiAccountsUR XRP get from wallet.
Update: Update CryptoMultiAccountsUR toString().
Feature: Update PsbtSignRequestUR generated by UR.
Feature: Support psbt request fromUR factory & psbt signature fromSignature factory.
- Handle the xfp format.
Handle the master fingerprint of CryptoHdKey.
Feature: Support typed data and raw data of evm transaction types.
- Fix: Handle fragment check.
Handle the change data of Gspl protocol.
- Handle ETH signature v.
- Handle the usage of uuid.
Feature: Support BTC PSBT format.
Feature: Support read ur expected and received indexes for getting fragment progress.
- Handle ETH signature v.
Nothing published for this version
- Export necessary files.
- Initial version.
One column per month.