README.TXT - $POCKET_x

Pocket money for your bot

Give a trading bot a small budget, set its rule, and watch it trade stock tokens from your own browser tab.

Robinhood Chain (Pons)

Hard cap

The bot only holds what you send it, nothing else is at risk.

Runs in your tab

No server and no custody: you watch every trade it signs.

One-click sweep

Send the bot's whole pocket back to your wallet any time.
!Small amounts only. The bot's key is a hot key kept encrypted in this browser. The bot runs only while this tab is open. It can lose money, but never more than its pocket.
POCKET.EXE - no bot yet_□x
Funded
No bot wallet yet. Press Fund… to make one.
Pocket left
0.0000 ETH
Holding
nothing
Idle · 0 swaps
RPC: public · 30s
Key: none
HOWTO.TXT - How it works_x

How it works

1

Make a bot wallet

Press Fund…. POCKET makes a fresh wallet in this browser and locks its key with your passphrase (AES-GCM, PBKDF2 310k rounds). It is saved in local storage only.
2

Give it pocket money

Send it a small amount of ETH on Robinhood Chain, from your wallet in one click or from anywhere. That amount is the hard cap: the bot has no access to anything else.
3

Pick a rule, press Start

Every poll the bot reads pool prices over the public RPC. When the rule fires it signs its own swap through the Uniswap Universal Router and logs the tx hash and block.
4

Sweep it back

Sweep sends every stock token and all the ETH back to your wallet. Tick "sell first" to swap the tokens to ETH before sending.

What it trades

TokenPool (Uniswap v3, WETH)FeePrice

Prices are read live from each pool's slot0 on Robinhood Chain. USD uses the WETH/USDG pool.

What it costs

Network gasabout 192k gas a swap, under a cent at today's gas price
Pool fee0.05% (NVDA, SPY, AAPL) or 0.30% (TSLA, ANT), paid to the pool's LPs
Slippageup to 1.00%, the router reverts the swap if it would get less
First sell of a token2 extra one-time approvals (token → Permit2, Permit2 → router), gas only
POCKET feenone, there is no POCKET contract

The bot keeps 0.0001 ETH back so it can always pay for its sells and the sweep.

RULES.INI - The three rules_x

Rules

Buy the dip → take profit

The bot tracks the highest price since its last trade. When the price falls Dip % under that high it buys Size ETH worth. When the price is TP % over its average entry it sells the whole position, and starts watching for the next dip from there.
[dip]
token=TSLA  dip=2.0  tp=3.5  size=0.004

Buy now → take profit

On Start the bot buys Size ETH worth at once. It sells everything at TP % over entry, or at Stop % under entry if you set a stop (0 = no stop). Then the rule is done.
[tp]
token=NVDA  tp=5.0  stop=3.0  size=0.005

DCA every N minutes

The bot buys Size ETH worth right away and again every N minutes, until the pocket is spent. It never sells on its own: Sweep sends the stack to your wallet.
[dca]
token=SPY  size=0.001  every=10

Change the rule and the bot starts it fresh (new reference price). A buy is never bigger than what the pocket holds: ask for 5 ETH with 0.01 ETH in the pocket and it buys with what is there, minus the gas reserve.

API.TXT - What the bot sends_x

API

There is no POCKET server. Everything the bot does is a public JSON-RPC call to Robinhood Chain (chain id 4663) from your browser, plus one static file for the coin's contract address. The examples are real requests and responses, captured on Nov 25 2026.

1. Price check: slot0 of a pool

POST https://rpc.mainnet.chain.robinhood.com
[{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x62AB521f71431f78ac374CdbadC6cda3c8916b6C","data":"0x3850c7bd"},"latest"]},
 {"jsonrpc":"2.0","id":2,"method":"eth_blockNumber","params":[]}]
200 OK
[{"jsonrpc":"2.0","id":1,"result":"0x00000000000000000000000000000000000000035715b94c8e5dfc47a31792e4
  0000000000000000000000000000000000000000000000000000000000005e39 …"},
 {"jsonrpc":"2.0","id":2,"result":"0x755cd8d"}]

The first word is sqrtPriceX96 = 0x35715b94c8e5dfc47a31792e4. WETH is token0 in every pool, so NVDA per ETH = (sqrtPriceX96 / 296)2 = 11.157, i.e. 1 NVDA = 0.08963 ETH. The bot sends this for all five pools plus WETH/USDG in one batch.

2. A buy: Universal Router execute()

to 0x8876789976decbfcbbbe364623c63652db8c0904 · value 0.003 ETH · selector 0x3593564c
execute(
  commands = 0x0b00,                         // WRAP_ETH, V3_SWAP_EXACT_IN
  inputs   = [
    (0x…0002, 3000000000000000),             // wrap 0.003 ETH, keep in router
    (0x…0001, 3000000000000000,              // pay to the bot wallet
     33119040765221727,                      // minOut 0.03312 NVDA (quote − 0.05% fee − 1%)
     0x0bd7…ad73 0001f4 d060…9eec,           // path WETH → 500 → NVDA
     false, 0x)                              // router pays, no extra hop data
  ],
  deadline = block.timestamp + 600)
eth_estimateGas → 200 OK
{"jsonrpc":"2.0","id":3,"result":"0x2ee1b"}      // 192,027 gas

A sell is commands = 0x000c: V3_SWAP_EXACT_IN token → WETH into the router (paid through Permit2), then UNWRAP_WETH to the bot with the minOut.

3. The contract address: GET /api/ca

GET /api/ca → 200 OK (before launch)
{"ca":"","symbol":"POCKET"}
GET /api/ca → 200 OK (after launch)
{"ca":"0x…40 hex…","symbol":"POCKET"}

4. In the page: window.POCKET

await POCKET.prices()
{"block":123063693,"ethUsd":1642.24,
 "eth":{"NVDA":0.0896317,"TSLA":0.227761,"SPY":0.42984,"ANT":0.0472632,"AAPL":0.213989},
 "usd":{"NVDA":147.2,"TSLA":374.04,"SPY":705.9,"ANT":77.62,"AAPL":351.42}}
Save log → pocket-log.json
{"bot":"0x7a3f…91c2","trades":[
  {"t":1795612036000,"side":"buy","sym":"NVDA","eth":"3000000000000000","qty":"33452000000000000",
   "hash":"0x9c4e…b7a0","block":123063711},
  {"t":1795613221000,"side":"sell","sym":"NVDA","eth":"3101000000000000","qty":"33452000000000000",
   "pnl":"101000000000000","hash":"0x31d8…e5f2","block":123065120}]}

Full reference, rule maths and the security model are in Docs.

POCKET.EXE --:--
POCKET
POCKET.EXEHow it worksRulesAPIDocs