Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 9f184d8

Browse files
committed
Add Dock network id for address generation
Taking 21 and 22 for testnet and mainnet Signed-off-by: lovesh <lovesh.bond@gmail.com>
1 parent 065b0f3 commit 9f184d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

primitives/core/src/crypto.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,10 @@ ss58_address_format!(
435435
(18, "darwinia", "Darwinia Chain mainnet, standard account (*25519).")
436436
StafiAccount =>
437437
(20, "stafi", "Stafi mainnet, standard account (*25519).")
438+
DockTestAccount =>
439+
(21, "dock-testnet", "Dock testnet, standard account (*25519).")
440+
DockMainAccount =>
441+
(22, "dock-mainnet", "Dock mainnet, standard account (*25519).")
438442
RobonomicsAccount =>
439443
(32, "robonomics", "Any Robonomics network standard account (*25519).")
440444
DataHighwayAccount =>

0 commit comments

Comments
 (0)