Orderly SDK Wallet Connection for Openclaw

A comprehensive framework for integrating EVM and Solana wallet connections into decentralized exchange applications via the Orderly Network SDK.

tarnadas
v1.0.0
Mar 8, 2026
0
804
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install orderly-sdk-wallet-connection

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install orderly-sdk-wallet-connection using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Orderly SDK Wallet Connection?

The Orderly SDK Wallet Connection skill provides a unified abstraction layer for managing blockchain wallets across diverse ecosystems. It allows developers to implement omnichain trading features by supporting both EVM chains like Arbitrum and Ethereum, alongside non-EVM environments like Solana.

By utilizing these Openclaw Skills, developers can handle complex tasks such as chain switching, wallet state management, and the multi-step authentication lifecycle required for high-performance trading. This skill ensures that your application remains scalable and developer-friendly while providing a seamless onboarding experience for users across different wallet providers like MetaMask, Phantom, and Ledger.

Orderly SDK Wallet Connection Use Cases

  • Building a multi-chain DEX that requires simultaneous support for EVM and Solana wallets.
  • Implementing secure chain-switching logic to prevent network mismatches during trading.
  • Managing the user lifecycle from initial wallet connection to full trading authorization.
  • Integrating social login providers for a simplified Web2-like onboarding experience.

How Orderly SDK Wallet Connection Works

  1. The application is wrapped in the WalletConnectorProvider which initializes the connection context.
  2. Developers configure specific wallet adapters for both EVM and Solana namespaces.
  3. The OrderlyAppProvider synchronizes the network ID and broker settings across the application.
  4. Users connect their wallets, triggering a state transition from NotConnected to Connected.
  5. The account state machine manages the progression through account creation and signing to reach the EnableTrading status.

Orderly SDK Wallet Connection Setup

Install the necessary packages for wallet connectivity:

npm install @orderly.network/wallet-connector @web3-onboard/injected-wallets @solana/wallet-adapter-base

Configure the provider in your root component to enable Openclaw Skills functionality:

<WalletConnectorProvider>
  <OrderlyAppProvider brokerId="your_id" networkId="mainnet">
    <App />
  </OrderlyAppProvider>
</WalletConnectorProvider>

Orderly SDK Wallet Connection Data Schema & Taxonomy

The skill utilizes the WalletConnectorContext to maintain the internal state of the connection. The data taxonomy includes:

Key Description
wallet Object containing the accounts array and metadata of the connected wallet
connectedChain Information about the current chain, including hex ID and network name
namespace Identifies the ecosystem as either evm or solana
status Enum representing the account stage (e.g., NotConnected, SignedIn, EnableTrading)
connect/disconnect Core functions for managing the session lifecycle

Orderly SDK Wallet Connection Advanced Features

  • Chain Filtering: Restrict user connections to specific supported mainnet or testnet chains to ensure liquidity focus.
  • Privy Integration: Seamlessly add social login methods like Email, Google, and Twitter for non-crypto native users.
  • AuthGuard Components: Protect specific trading routes or UI elements with pre-built conditional rendering logic.
  • Event Emitter Integration: Listen for global wallet connection errors and network changes to trigger custom notifications or UI updates.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*