crypto_wallet_util 2.0.1
crypto_wallet_util: ^2.0.1 copied to clipboard
A collection of utility functions for cryptocurrencies.
Changelog #
1.0.0 - 2024-06-19 #
Added #
- Initial release version featuring fundamental functionalities:
- support wallets: ALPH, APTOS, CKB, COSMOS, DOT, HNS, KAS, KLS, NEAR, SC, SOL,SUI, XRP.
- support address check.
1.0.2 - 2024-07-30 #
Update #
- Add wallets: FIL, SCP.
- Add function: F410 address conversion, evm address custom generate.
1.0.5 - 2024-09-05 #
Update #
- Add wallet: ETH.
- Support eth transaction type: EIP1559, LEGACY.
- Support eth signed typed data module.
1.0.6 - 2024-09-13 #
Refactor #
- Export eth transaction type: EIP1559, LEGACY.
- Modify EIP1559 and LEGACY transaction type.
1.2.6 - 2026-05-27 #
Update #
- SC transaction assembly with WASM integration (
package:wasm_run). - SC transaction signer (Ed25519) and builder.
- SC send example.
2.0.0 - 2026-06-09 #
BREAKING #
- Upgrade
blockchain_utilsfrom^1.4.1to^6.0.0. Resolves the dependency conflict reported in #20 (consumers usingbitcoin_base 7.x/xrpl_dart 7.x, which requireblockchain_utils ^6.0.0). - Minimum Dart SDK raised to
>=3.7.0(required byblockchain_utils 6.0.0).
Changed #
- Migrated the vendored
bitcoin_base_hdandxrpl_dartforks to theblockchain_utils6.x API: relocated utility imports to the package barrel,Tuple/item1,item2→ Dart records ($1,$2),mask*/writeUintXLE→BinaryOps.*,bytesEqual/iterableIsEqual→BytesUtils/CompareUtils,Secp256k1*KeyEcdsa→Secp256k1*Key,BitcoinSigner/BitcoinVerifier→BitcoinKeySigner/BitcoinSignatureVerifier,BigintUtils.orderLen→BigintUtils.bitlengthInBytes. - ECDSA / Taproot / message signing outputs verified byte-for-byte identical to the pre-upgrade implementation; XRP secp256k1 family-seed derivation and classic/X-address conversion pinned with characterization tests.
Bech32Validations/SegwitValidationsdeclared asmixin(Dart 3 language level no longer permits using a plain class as a mixin).
Notes #
- No public API changes beyond the SDK floor; all 782 unit tests pass.
2.0.1 - 2026-06-12 #
Added #
- SC (Sia): native Go FFI transaction bridge (
ScGoFfiBridge) as a faster, opt-in alternative to the WASM bridge. The defaultcreate()is unchanged and still uses the WASM bridge (ScWasmRunBridge), so existing callers are unaffected. The native library is not bundled: the caller builds it for their platform (seelib/src/forked_lib/sia-wasi/build.sh), loads it, and passes it viaScTransactionBuilder.createWithFfi(DynamicLibrary).
Changed #
- Minimum Dart SDK raised to
>=3.11.0(required by thewasdWASM interpreter that backs the default SC bridge). Consumers on Dart 3.7–3.10 must upgrade.
Removed #
- Pruned dead code from the vendored
bitcoin_base_hdfork that is never reached by this package (BTC/LTC/BCH only useECPrivate):- the entire
provider/subtree (Electrum/HTTP API providers and theBitcoinTransactionBuilder/ BCH builder) andutils/btc_utils.dart(~2.2k lines). ECPublic.verifyTransactionSignatureandECPublic.verifySchnorrTransactionSignature(unused; their post-upgrade bodies had latent argument-shape issues).
- the entire