Logo

Note: You can register your wallet for any and all of the Orderly broker ids: however, you can only assign your wallet to one broker id for signing permissions. Orderly creates new wallets and assigns the trading permissions to these new wallets. This allows you to use your main wallet for deposit and withdrawals across all broker ids.

Orderly Credentials

Account ID: Not set

Orderly Key: Not set

Signature is generated using the connected wallet and sent as part of the API request header orderly-signature

Secure Signing

This implementation demonstrates how to sign messages for Web3 applications without directly handling private keys. Instead, we leverage wallet adapters that securely manage the signing process.

Note: You can register your wallet for any and all of the Orderly broker ids: however, you can only assign your wallet to one broker id for signing permissions

Key Features

  • Secure message signing using wallet adapters
  • Signature verification capabilities
  • Compatible with Orderly Network API requirements
  • TypeScript support with comprehensive type definitions

How It Works

  1. Connect your Solana wallet using the wallet adapter
  2. Configure the request parameters (method, pathname, etc.)
  3. Generate a signature using the wallet's signMessage function
  4. Make API Call

Security Benefits

  • Private keys never leave the wallet hardware/software
  • Users maintain full control over their signing keys
  • Compliance with Web3 security best practices
  • Reduced attack surface compared to private key management