ss58 2.0.0
ss58: ^2.0.0 copied to clipboard
Provides encoding and decoding methods for parsing substrate SS58 addresses.
2.0.0 #
Breaking Changes #
RegistryItemsimplified- Removed:
displayName,symbols,decimals,standardAccount,website - Kept:
prefix,networkonly
- Removed:
Registry.fromJsonString()renamed toRegistry.fromMap()acceptingList<Map<String, dynamic>>- Registry data format changed from JSON string to typed Dart list
- Constructor is now public and const
Added #
Address.tryDecode()- Safe decoding that returns null instead of throwing exceptions- Cached Blake2b instance for better performance (avoids algorithm instantiation per hash)
- Exceptions export - Exception classes now publicly exported
- Comprehensive test suite covering all functionality
- 60 new networks - Registry expanded from 93 to 153 networks:
- Notable additions: karmachain (21), vara (137), bittensor (13116), mythos (29972)
- Also: sora_dot_para, frequency, allfeat_network, metaquity_network, curio, ternoa, krest, societal, logion, vow-chain, moonsama, peerplays, krigan, golden_gate, t3rn, impact, analog-timechain, goro, mosaic-chain, xcavate, and many more
Changed #
- Registry data updated from 04/08/2022 to 07/12/2025
UnmodifiableListViewused inRegistry.itemsgetter instead of creating copies- Documentation URL updated from substrate.io to docs.polkadot.com
- Code generation: Added
json_annotationand generatedregistry_item.g.dart - Example code improved with
finalkeyword usage
Improved #
- Exception documentation clarified (e.g., "Invalid CheckSum Exception" comment fix)
- Simplified example documentation in exception classes
1.3.1 #
- Packages were bumped for new publish workflow
1.3.0 #
- All packages have been bumped to add web support
1.2.0 #
- Removes
json_schema2from being a required dependency
1.1.3 #
- Fixes
UnmodifiableUint8ListViewmissing on newer dart versions
1.1.2 #
- License update
1.1.1 #
- Publishing packages under polkadart.dev publisher
1.1.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.