Skip to content

Commit 540b4fd

Browse files
authored
Add SS58 prefix for Automata (paritytech#9805)
1 parent c1e45a6 commit 540b4fd

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

primitives/core/src/crypto.rs

+4
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,12 @@ ss58_address_format!(
617617
(1284, "moonbeam", "Moonbeam, session key (*25519).")
618618
Moonriver =>
619619
(1285, "moonriver", "Moonriver, session key (*25519).")
620+
Automata =>
621+
(2349, "automata", "Automata mainnet standard account (*25519).")
620622
BasiliskAccount =>
621623
(10041, "basilisk", "Basilisk standard account (*25519).")
624+
ContextFree =>
625+
(11820, "contextfree", "Automata ContextFree standard account (*25519).")
622626

623627
// Note: 16384 and above are reserved.
624628
);

ss58-registry.json

+18
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,15 @@
640640
"standardAccount": "secp256k1",
641641
"website": "https://moonbeam.network"
642642
},
643+
{
644+
"prefix": 2349,
645+
"network": "automata",
646+
"displayName": "Automata Mainnet",
647+
"symbols": ["ATA"],
648+
"decimals": [18],
649+
"standardAccount": "*25519",
650+
"website": "https://ata.network"
651+
},
643652
{
644653
"prefix": 10041,
645654
"network": "basilisk",
@@ -648,6 +657,15 @@
648657
"decimals": [12],
649658
"standardAccount": "*25519",
650659
"website": "https://bsx.fi"
660+
},
661+
{
662+
"prefix": 11820,
663+
"network": "contextfree",
664+
"displayName": "Automata ContextFree",
665+
"symbols": ["CTX"],
666+
"decimals": [18],
667+
"standardAccount": "*25519",
668+
"website": "https://ata.network"
651669
}
652670
]
653671
}

0 commit comments

Comments
 (0)