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

Add SS58 prefix for Automata #9805

Merged
1 commit merged into from
Oct 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions primitives/core/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,12 @@ ss58_address_format!(
(1284, "moonbeam", "Moonbeam, session key (*25519).")
Moonriver =>
(1285, "moonriver", "Moonriver, session key (*25519).")
Automata =>
(2349, "automata", "Automata mainnet standard account (*25519).")
BasiliskAccount =>
(10041, "basilisk", "Basilisk standard account (*25519).")
ContextFree =>
(11820, "contextfree", "Automata ContextFree standard account (*25519).")

// Note: 16384 and above are reserved.
);
Expand Down
18 changes: 18 additions & 0 deletions ss58-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,15 @@
"standardAccount": "secp256k1",
"website": "https://moonbeam.network"
},
{
"prefix": 2349,
"network": "automata",
"displayName": "Automata Mainnet",
"symbols": ["ATA"],
"decimals": [18],
"standardAccount": "*25519",
"website": "https://ata.network"
},
{
"prefix": 10041,
"network": "basilisk",
Expand All @@ -612,6 +621,15 @@
"decimals": [12],
"standardAccount": "*25519",
"website": "https://bsx.fi"
},
{
"prefix": 11820,
"network": "contextfree",
"displayName": "Automata ContextFree",
"symbols": ["CTX"],
"decimals": [18],
"standardAccount": "*25519",
"website": "https://ata.network"
}
]
}