Orderly Network: Deposit & Withdraw for Openclaw

A comprehensive toolkit for managing token deposits, withdrawals, and internal transfers across EVM and Solana chains within the Orderly Network ecosystem.

tarnadas
v1.0.0
Mar 7, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install orderly-deposit-withdraw

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-deposit-withdraw 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 Network: Deposit & Withdraw?

The Orderly Network: Deposit & Withdraw skill is a professional-grade integration layer designed for developers using Openclaw Skills to handle asset lifecycle management. It simplifies the complexities of cross-chain liquidity by providing standardized workflows for token approvals, vault interactions, and collateral management.

By utilizing this skill within the Openclaw Skills framework, developers can easily implement secure financial operations. It covers the entire technical spectrum from fetching dynamic chain information to executing EIP-712 or Ed25519 signed withdrawal requests, ensuring that asset movements are both secure and efficient across supported networks like Arbitrum, Base, and Solana.

Orderly Network: Deposit & Withdraw Use Cases

  • Developing high-performance deposit and withdrawal interfaces for decentralized exchanges.
  • Managing user collateral and margin requirements through real-time asset balance updates.
  • Implementing cross-chain transfers where the destination chain differs from the source chain.
  • Automating ERC20 token allowance approvals for seamless vault interactions.
  • Facilitating gasless internal transfers between sub-accounts or wallet groups.

How Orderly Network: Deposit & Withdraw Works

  1. Initialize the workflow by fetching dynamic chain and token metadata from the Orderly public API.
  2. For deposits, check token native status and execute an ERC20 approve transaction to the specific vault address if necessary.
  3. Calculate the required brokerHash and tokenHash to identify the transaction context.
  4. Query the vault contract to determine the current deposit fee in the native gas token.
  5. Execute the on-chain deposit transaction and monitor for block confirmation.
  6. For withdrawals, obtain a secure nonce and sign a structured message using the user's wallet (EIP-712 for EVM or Ed25519 for Solana).
  7. Submit the signed request to the Orderly backend and track the asset history for status updates.

Orderly Network: Deposit & Withdraw Setup

To get started with this skill in your environment, install the core dependencies:

npm install @orderly.network/hooks @orderly.network/contracts ethers

Ensure you have a connected Web3 wallet and the necessary Ed25519 key pair for API authentication as detailed in the Openclaw Skills security guidelines.

Orderly Network: Deposit & Withdraw Data Schema & Taxonomy

The skill manages data across chain configurations and transaction histories. Key data structures include:

Data Object Description
Chain Info Contains chainId, token addresses (USDC/USDT), and vault contracts.
Deposit Input Struct containing accountId, brokerHash, tokenHash, and amount.
Asset History List of rows with side (DEPOSIT/WITHDRAW), status, and tx_hash.
Collateral Factor A decimal multiplier (0.0 to 1.0) defining the weight of a token for margin.

Orderly Network: Deposit & Withdraw Advanced Features

  • Multi-chain support covering Arbitrum, Optimism, Base, Ethereum, Mantle, and Solana.
  • Advanced cross-chain withdrawal logic using the allowCrossChainWithdraw flag to handle chain mismatches.
  • Zero-fee internal transfers for instant asset movement between whitelisted account groups.
  • Integrated testnet faucet access for automated testing environments on EVM and Solana testnets.
  • Dynamic contract address resolution through the @orderly.network/contracts utility library.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*