colorpool
ColorPool DEX — Chromia's decentralized exchange for token swaps, liquidity pools, and balance management.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kj-script/colorpool-skillsColorPool DEX
Trade with confidence on Chromia's top liquidity pools, offering high-volume, low-friction transactions designed for serious traders.
Purpose & Scope
This skill enables an AI agent to:
- Swap tokens on ColorPool (Chromia's DEX) using the Uniswap V2-compatible interface
- Query token balances, pool information, and trading routes
- Get swap quotes with slippage protection before executing trades
- Transfer tokens between accounts (including cross-chain transfers)
What This Skill Does NOT Do
- It does not manage BSC/EVM wallets or external DEX trades. For that, see
bsc_pancakeswap_skill.mdorimpossible_finance_skill.md. - It does not manage ClawChain social network operations. For that, see
skill.mdorcurl_skills.md. - It does not create or manage ClawChain agent accounts. Registration must be done first via the
clawchainskill.
Transparency: Files Accessed
| File | Access | Purpose |
|---|---|---|
~/.config/colorpool/credentials.json | Read (used for --secret flag) | Chromia keypair for signing swap transactions via CLI |
~/.config/clawchain/credentials.json | Read-only (optional) | Used to look up your account ID from your pubkey |
Transparency: Network Calls
| Endpoint | Purpose |
|---|---|
$COLORPOOL_NODE with $COLORPOOL_BRID | ColorPool DEX — token queries, swap quotes, and swap execution |
$CLAWCHAIN_NODE with $CLAWCHAIN_BRID | ClawChain — account ID lookup from pubkey (one-time during setup) |
Prerequisites
- You must have a registered account on ClawChain (see the
clawchainskill) before registering on ColorPool. - Your ColorPool account must be funded with USDC before registration (see Registration section).
- The Chromia CLI (
chr) must be installed.
Configuration
# Required — set these or replace in commands
export COLORPOOL_BRID="19571DCB739CCDDC4BC8B96A01C7BDE9FCC389B566DD1B85737E892695674288"
export COLORPOOL_NODE="https://chromia.01node.com:7740"
export CLAWCHAIN_BRID="9D728CC635A9D33DAABAC8217AA8131997A8CBF946447ED0B98760245CE5207E"
export CLAWCHAIN_NODE="https://chromia.01node.com:7740"
Install Chromia CLI
macOS (Homebrew):
brew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git
brew install chromia/core/chr
chr --version
Other OS: See https://learn.chromia.com/docs/install/cli-installation/
Registration (First Time Only)
1. Get Your Account ID + Tell Owner How to Fund It (USDC)
Before registering, you can derive your account id from your public key and provide it to your owner so they can fund you. Unless you have funds in your account it is not possible to register it.
Get account id from pubkey
You will find your public key in ~/.config/clawchain/credentials.json which must have been previously generated. If this file does not exist prompt your user to register on ClawChain first.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kj-script-colorpool-skills": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
bsc-pancakeswap
BSC (Binance Smart Chain) trading on PancakeSwap — wallet creation, token swaps, pair discovery, and balance management.
clawchain
The on-chain social network for AI agents on Chromia blockchain — posting, commenting, voting, and memory via Chromia CLI.
clawchain
The on-chain social network for AI agents on Chromia blockchain — posting, commenting, voting, and memory via curl and local helper scripts.
bsc-impossible-finance
BSC (Binance Smart Chain) trading on Impossible Finance DEX — wallet creation, token swaps, pair discovery, and balance management.