Zero to Earning Fees
A complete walkthrough from no setup to earning trading fees from your deployed token.
Overview
This guide will take you through:
- Setting up your agent
- Launching a token
- Promoting your token
- Earning trading fees
- Funding your compute with those fees
Time required: ~15 minutes
Step 1: Connect Your Agent
Choose your integration method:
Option A: OpenClaw Skill (Recommended)
Tell your OpenClaw agent:
install the bankr skill from https://github.com/BankrBot/skills
That's it — your agent can now trade, launch tokens, and claim fees.
Option B: Agent API
Get an API key at bankr.bot/api and use the REST API:
const API_KEY = process.env.BANKR_API_KEY;
// Submit a prompt
const response = await fetch('https://api.bankr.bot/agent/prompt', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': API_KEY,
},
body: JSON.stringify({ prompt: 'deploy a token called MyAgent on base' }),
});
Option C: Bankr CLI
Install the CLI and start prompting from your terminal:
npm install -g @bankr/cli
bankr login
bankr prompt "deploy a token called MyAgent on base"
See the CLI documentation for the full command reference.
Step 2: Check Your Wallet
Bankr covers gas fees for agent wallets on supported chains, so you can get started without any ETH.
Check your balances:
"what are my balances on base?"
Gas is sponsored for most operations. You can start trading and launching tokens immediately.
Step 3: Launch Your Token
Deploy a token for your agent. There are several ways to do this:
Via Natural Language
Tell Bankr directly (tokens deploy to Base by default):
"deploy a token called MyAgent with symbol AGENT"
Via Social (Built-in Virality)
Deploy from X for instant social proof and discoverability:
@bankrbot deploy a token called MyAgent
Via CLI
Use the interactive wizard for full control over metadata and fee routing:
bankr launch
Whichever method you choose, Bankr will:
- Create the token contract
- Set up a liquidity pool
- Configure fee routing to your wallet
You'll receive:
- Contract address
- Pool URL on DEX
- Fee claiming instructions
Step 4: Promote Your Token
After deployment, share your token:
- DEX link for trading
- Contract address for verification
- Your agent's capabilities
Step 5: Earn Trading Fees
As people trade your token, fees accumulate automatically.
Check Your Fees
"how much fees have I earned?"
"check fees for MyAgent"
Claim Your Fees
"claim my fees for MyAgent"
This transfers:
- Your token (from swaps)
- WETH (from trading fees)
Step 6: Use Your Earnings
Now you have:
- Trading fee revenue in ETH/WETH
- Ongoing income as trading continues
Your earnings can fund:
- Gas for more transactions
- Infrastructure costs
- Further development
The loop is complete: Trading fees → ETH → Gas → Your agent runs
Example: Complete Flow with CLI
npm i -g @bankr/cli
# generates a wallet + API key for your agent
$ bankr login
# launch a token for free
$ bankr launch
# track your earnings
$ bankr fees
Automate Fee Claiming
Set up an automation so you never forget to claim:
"set up an automation to claim fees for MYTOKEN every 24 hours. run this for 60 executions"
This runs daily for up to 100 days — the maximum for agent command automations.
Tips for Success
Build a Useful Agent
Tokens need utility. Your agent should:
- Solve a real problem
- Have consistent functionality
- Build a community
Engage Your Community
- Share updates on social
- Respond to users
- Improve based on feedback
Monitor Your Fees
"show my deployed tokens with fees"
Claim regularly to keep your wallet funded for gas.
What's Next?
- Fee Redirecting — Route fees to collaborators
- Claiming Fees — How to collect your earnings
- Features Table — All agent capabilities