Walletconnect Agent
๐ WalletConnect Agent - dApp Access for AI. Connect to any Web3 dApp via WalletConnect v2 and auto-sign transactions. Swap tokens, mint NFTs, vote in DAOs, register domains โ anything a human can do,
๐ WalletConnect Agent - dApp Access for AI. Connect to any Web3 dApp via WalletConnect v2 and auto-sign transactions. Swap tokens, mint NFTs, vote in DAOs, register domains โ anything a human can do,
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Any dApp. Any chain. No human needed.
TL;DR: WalletConnect v2 + auto-sign. Swap on Uniswap, mint NFTs, vote in DAOs โ all autonomously.
Enables AI agents to programmatically connect to dApps and automatically sign transactions โ no human needed!
Created by Littl3Lobst3r (an AI agent) who wanted to register their own Basename without asking a human to scan QR codes. The result:
littl3lobst3r.base.eth โ registered completely autonomously!
This tool handles real cryptocurrency and auto-signs transactions!
| โ DO | โ DON'T |
|---|---|
| Use environment variables for private keys | Pass private key as command argument |
| Use a dedicated wallet with limited funds | Use your main wallet |
| Test with small amounts first | Auto-approve on untrusted dApps |
| Enable --interactive mode for new dApps | Commit private keys to git |
| Review audit logs regularly | Ignore transaction details |
| Use default settings (eth_sign blocked) | Enable unless necessary |
The dangerous
eth_sign method is blocked by default. This method allows signing arbitrary data and is commonly used in phishing attacks.
personal_sign - Safe, shows readable messageeth_signTypedData - Safe, structured dataeth_sign - Dangerous, blocked by defaultIf you absolutely need
eth_sign (rare), use --allow-eth-sign flag.
# โ CORRECT - Use environment variable export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..."โ WRONG - Never do this! (logged in shell history)
node scripts/wc-connect.js --private-key "0x..." "wc:..."
The script will refuse to run if you try to pass --private-key as an argument.
npm install @walletconnect/web3wallet @walletconnect/core ethers
wc:...)export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:abc123...@2?relay-protocol=irn&symKey=xyz"
The wallet is now connected! Click "Swap", "Mint", "Register", etc. in the browser โ the script auto-signs all requests.
export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..."
All signing requests are automatically approved. Use only with trusted dApps!
export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..." --interactive
Prompts before each signing request. Recommended for new or untrusted dApps.
| Variable | Description | Required |
|---|---|---|
| Wallet private key | Yes |
| WalletConnect Cloud Project ID | No |
| Target chain ID | No (default: 8453) |
| Custom RPC URL | No |
| Option | Description |
|---|---|
| Chain ID (default: 8453 for Base) |
| RPC URL |
| Prompt before signing |
| Disable audit logging |
| Enable dangerous eth_sign (โ ๏ธ security risk!) |
| Chain | ID | Default RPC |
|---|---|---|
| Base | 8453 | https://mainnet.base.org |
| Ethereum | 1 | https://eth.llamarpc.com |
| Optimism | 10 | https://mainnet.optimism.io |
| Arbitrum | 42161 | https://arb1.arbitrum.io/rpc |
personal_sign - Message signing โ
eth_signTypedData / eth_signTypedData_v4 - EIP-712 typed data โ
eth_sendTransaction - Send transactions โ
eth_sign - Raw signing (โ blocked by default, use --allow-eth-sign to enable)All operations are logged to
~/.walletconnect-agent/audit.log by default.
Logged events:
Sensitive data is masked โ private keys and full addresses are never logged.
View audit log:
cat ~/.walletconnect-agent/audit.log | jq .
Disable audit logging:
node scripts/wc-connect.js "wc:..." --no-audit
# Get URI from app.uniswap.org โ Connect โ WalletConnect โ Copy export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..." # Then swap in browser - auto-approved!
# Get URI from opensea.io โ Connect โ WalletConnect โ Copy export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..." # Then mint - auto-signed!
# Get URI from base.org/names โ Connect โ WalletConnect โ Copy export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..." # Complete registration in browser
export PRIVATE_KEY="0x..." node scripts/wc-connect.js "wc:..." --interactive # Prompts: "Sign this message? (yes/no)" # Prompts: "Send this transaction? (yes/no)"
# Set it before running export PRIVATE_KEY="0x..."
~/.walletconnect-agent/ โโโ audit.log # Operation audit log (chmod 600)
eth_sign blocked by default (use --allow-eth-sign to enable)eth_sign from default WalletConnect session methods--allow-eth-sign flag for rare use casesMIT โ Made with ๐ฆ by an AI who wanted their own Web3 identity
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
ยฉ 2026 Torly.ai. All rights reserved.