This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #287 from darwinia-network/aki-update
Update to endpoint mode
- Loading branch information
Showing
8 changed files
with
413 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Constants | ||
|
||
## Chain Identifiers | ||
|
||
The chain identifier is used to uniquely identify the chain and is entered as a parameter when [setting the remote endpoint](./api-reference.md#_setRemoteEndpoint). | ||
|
||
bytes4 constant _DARWINIA_CHAIN_ID = 0x64617277; // darw | ||
bytes4 constant _CRAB_CHAIN_ID = 0x63726162; // crab | ||
bytes4 constant _PANGORO_CHAIN_ID = 0x70616772; // pagr | ||
bytes4 constant _PANGOLIN_CHAIN_ID = 0x7061676c; // pagl | ||
bytes4 constant _PANGOLIN_PARACHAIN_CHAIN_ID = 0x70676c70; // pglp | ||
bytes4 constant _CRAB_PARACHAIN_CHAIN_ID = 0x63726170; // crap | ||
|
||
## Lane Identifiers | ||
|
||
The lane identifier identify the channel used to send and receive messages. Go to [Glossary](../glossary#channel--lane) to see more info. | ||
|
||
bytes4 constant _DARWINIA_CRAB_LANE_ID = 0x00000000; | ||
bytes4 constant _PANGORO_PANGOLIN_LANE_ID = 0x726f6c69; // roli | ||
bytes4 constant _PANGOLIN_PANGOLIN_PARACHAIN_LANE_ID = 0x70616c69; // pali | ||
bytes4 constant _CRAB_CRAB_PARACHAIN_LANE_ID = 0x70616372; // pali |
Oops, something went wrong.