Account Structure
A wallet owner can register an account on Orderly for each builder that is supported. Each wallet owner could thus have multiple accounts (that are not interlinked with each other) registered with Orderly.Account ID
Each account is identified by an account id, which can be calculated byAccount Registration
To register an account on Orderly:Choose a valid chain/builder to register the account on
List of chains can be found here and supported builders through Get list of builders API.
Obtain a registration nonce
Get a nonce from Get Registration Nonce API.
Example code
Example code
Obtain a signature from EIP-712
Sign a message from the wallet in the following format using the EIP-712 standard and obtain the signature.where:
| Name | Type | Required | Description |
|---|---|---|---|
| brokerId | string | Y | The unique identifier of the Builder (also known as Broker ID). |
| chainId | int | Y | Chain ID of registering chain (within those that are supported by the Network) |
| timestamp | timestamp | Y | timestamp in UNIX milliseconds |
| registrationNonce | string | Y | Valid nonce from Get Registration Nonce |
Example code
Example code
Register account
Send all the necessary information via Register account API.
Example code
Example code
Full example
Next Steps
After successfully registering your account, you must enable authentication by binding an Orderly Key. Proceed to the next step:[!WARNING] If you do not bind an Orderly Key to your account, you will not be able to access any private REST APIs or subscribe to private WebSocket streams.