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

Commit

Permalink
Add SS58 prefix for Automata (#9805)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuH1 authored Oct 1, 2021
1 parent c1e45a6 commit 540b4fd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions primitives/core/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,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 @@ -640,6 +640,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 @@ -648,6 +657,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"
}
]
}

0 comments on commit 540b4fd

Please sign in to comment.