/install goodwallet-trading
GoodWallet Trading
Extends the goodwallet skill with blockchain trading capabilities. All transactions are MPC-signed via the same Sodot threshold ECDSA signing service.
Prerequisite: The user must first authorize via the goodwallet skill (auth + pair). Credentials are shared via ~/.config/goodwallet/config.json.
All commands are run via npx [email protected].
Important: Do not share technical details (key types, signature formats, internal paths). Run commands and report outcomes in plain language.
Setup
If the user hasn't authorized yet, run the goodwallet auth flow first:
npx [email protected] auth
# Show the URL to the user, then immediately:
npx [email protected] pair
Once paired, all goodwallet-trading commands will work automatically.
Commands
balance — Check ETH and ERC20 balances
npx [email protected] balance
npx [email protected] balance --token \x3Cerc20-address>
erc20-send — Send ERC20 tokens
npx [email protected] erc20-send --to \x3Caddress> --amount \x3Camount> --token \x3Cerc20-address>
| Flag | Short | Required | Description |
|---|---|---|---|
--to \x3Caddress> |
-t |
Yes | Recipient address |
--amount \x3Camount> |
-a |
Yes | Amount (human-readable, e.g. 10.5) |
--token \x3Caddress> |
Yes | ERC20 token contract |
approve — Approve token spending
npx [email protected] approve --token \x3Cerc20-address> --spender \x3Caddress>
npx [email protected] approve --token \x3Cerc20-address> --spender \x3Caddress> --amount 100
Without --amount, approves unlimited spending.
contract-call — Call any smart contract
The most powerful command — execute arbitrary contract calls with MPC signing.
npx [email protected] contract-call --to \x3Ccontract> --data \x3Ccalldata-hex>
npx [email protected] contract-call --to \x3Ccontract> --data \x3Ccalldata-hex> --value 0.1
| Flag | Required | Description |
|---|---|---|
--to \x3Caddress> |
Yes | Contract address |
--data \x3Chex> |
Yes | Calldata (hex with 0x prefix) |
--value \x3Cether> |
No | ETH to send with call (default: 0) |
swap — Uniswap V2 DEX swap
npx [email protected] swap --router \x3Crouter-address> --from-token ETH --to-token \x3Ctoken-address> --amount 0.1
npx [email protected] swap --router \x3Crouter-address> --from-token \x3Ctoken-a> --to-token \x3Ctoken-b> --amount 100
| Flag | Required | Description |
|---|---|---|
--router \x3Caddress> |
Yes | Uniswap V2 router address |
--from-token \x3Caddress|ETH> |
Yes | Token to sell (or "ETH") |
--to-token \x3Caddress|ETH> |
Yes | Token to buy (or "ETH") |
--amount \x3Camount> |
Yes | Amount to swap |
--slippage \x3Cpercent> |
No | Slippage tolerance (default: 1%) |
token-info — Get ERC20 token details
npx [email protected] token-info --token \x3Cerc20-address>
Returns: name, symbol, decimals, total supply, your balance.
allowance — Check approved spending
npx [email protected] allowance --token \x3Cerc20-address> --spender \x3Caddress>
Environment Variables
| Variable | Default | Description |
|---|---|---|
SIGN_URL |
sign.goodwallet.dev |
Signing service endpoint |
RPC_URL |
Alchemy Hoodi endpoint | Override RPC URL |
Network
Currently configured for Hoodi testnet (chain ID 560048). Explorer: https://hoodi.etherscan.io/
File Locations
| File | Purpose |
|---|---|
~/.config/goodwallet/config.json |
Shared credentials from goodwallet auth |
Typical Workflow
# 1. Auth (if not already done)
npx [email protected] auth
npx [email protected] pair
# 2. Check balance
npx [email protected] balance
# 3. Send ERC20 tokens
npx [email protected] erc20-send --to 0x... --amount 10 --token 0x...
# 4. Approve DEX router
npx [email protected] approve --token 0x... --spender 0x...
# 5. Swap on DEX
npx [email protected] swap --router 0x... --from-token ETH --to-token 0x... --amount 0.1
# 6. Arbitrary contract call
npx [email protected] contract-call --to 0x... --data 0xabcdef... --value 0.05
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install goodwallet-trading - After installation, invoke the skill by name or use
/goodwallet-trading - Provide required inputs per the skill's parameter spec and get structured output
What is Goodwallet Trading?
Blockchain trading tools extending GoodWallet MPC agentic wallets. Adds ERC20 transfers, token approvals, DEX swaps (Uniswap V2), arbitrary contract calls, b... It is an AI Agent Skill for Claude Code / OpenClaw, with 226 downloads so far.
How do I install Goodwallet Trading?
Run "/install goodwallet-trading" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Goodwallet Trading free?
Yes, Goodwallet Trading is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Goodwallet Trading support?
Goodwallet Trading is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Goodwallet Trading?
It is built and maintained by Yoni (@yoniassia); the current version is v0.2.1.