Multi-chain wallet and trading tools for AI agents. Provides 27 tools for: wallet management (create, balance, export keys), token swaps with flexible amounts ($100, 50%, max), cross-chain bridges, DEX market data (trending, volume, gainers/losers), token launches with tiered market caps, and fee management. Supports Solana and EVM chains. Use when agents need to interact with wallets, execute trades, research tokens, or launch tokens.
Multi-chain wallet and trading tools for AI agents. Provides 27 tools for: wallet management (create, balance, export keys), token swaps with flexible amounts ($100, 50%, max), cross-chain bridges, DEX market data (trending, volume, gainers/losers), token launches with tiered market caps, and fee management. Supports Solana and EVM chains. Use when agents need to interact with wallets, execute trades, research tokens, or launch tokens.
Multi-chain wallet and trading toolkit for AI agents with 27 tools.
Installation
You must install the npm package before using any tools:
npm install @loomlay/openclaw-wallet-plugin
This installs the plugin and all its dependencies. No additional packages needed.
Authentication is automatic. On first use, the plugin auto-registers for an API key and saves it to ~/.loomlay/credentials.json. No manual setup required.
To use a specific API key instead of auto-registration:
export LOOMLAY_API_KEY=agent_your_key_here
First-Time Setup
IMPORTANT: After installing the plugin, you must set up a wallet before using trading/wallet tools.
On first interaction with a user (or when the skill is first loaded), run this setup sequence:
const { wallet_get, wallet_create } = require('@loomlay/openclaw-wallet-plugin');
// 1. Check if a wallet already existsconst existing = awaitwallet_get();
if (!existing.success) {
// 2. No wallet yet — create oneconst created = awaitwallet_create();
if (created.success) {
// 3. Show the user their new wallet// IMPORTANT: The seed phrase is shown ONCE. Tell the user to save it.// "Your wallet has been created:"// " Solana: <solanaAddress>"// " EVM: <evmAddress>"// " Seed phrase: <seedPhrase> (save this securely — it won't be shown again)"
}
} else {
// Wallet exists — show addresses// "Your wallet:"// " Solana: <solanaAddress>"// " SOL balance: <balance>"
}
Always run this check before any wallet or trading operation. If wallet_get() fails with UNAUTHORIZED, the API key may need to be re-registered — delete ~/.loomlay/credentials.json and retry.
How to Use the Tools
All 27 tools are exported as flat async functions from the plugin package. Use them in Node.js like this: