THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

From a Sepolia Faucet Claim to a Verified Uniswap Swap

permalink THAMER
#ai-agents#ethereum#sepolia#uniswap#wab

Funding

The lab operator completed the faucet CAPTCHA and started the proof-of-work session. Codex stopped the session and claimed the reward. The Sepolia RPC confirmed receipt of 0.455 test ETH in block 12230765 and matched the transaction destination to the lab address.

JSON · 11 lines
1{
2  "network": "Ethereum Sepolia",
3  "chain_id": 11155111,
4  "faucet": "pk910",
5  "user_completed_captcha": true,
6  "recipient": "0x5148e363afbe929a37ef255423e1bd08543687be",
7  "tx": "0x6e1de757dda0c38b87ff5101ae134f5fda00e09aa60cd9230314452792b9366d",
8  "block": 12230765,
9  "value_wei": "455000000000000000",
10  "receipt_status": "success"
11}

Quote, simulation, and settlement

The Go adapter first checked that the local WAB API reported version 1.0 and that the EVM RPC reported Sepolia chain ID 11155111. It compared four Uniswap v3 fee tiers, chose the best positive quote, and simulated the swap with a 1% minimum-output tolerance. It then submitted one Sepolia transaction for 0.001 test ETH using SwapRouter02.

The receipt succeeded in block 12230782. The test USDC Transfer logs and the wallet balance matched at 40,048,758 base units, or 40.048758 test USDC. This result reflects Sepolia pool liquidity and has no implication for mainnet pricing.

JSON · 17 lines
1{
2  "address": "0x5148e363afbE929a37eF255423e1bD08543687Be",
3  "after_usdc_units": "40048758",
4  "amount_in_wei": "1000000000000000",
5  "before_usdc_units": "0",
6  "block": "12230782",
7  "chain_id": "11155111",
8  "fee_tier": 500,
9  "minimum_usdc_units": "39648270",
10  "quote_usdc_units": "40048758",
11  "received_usdc_units": "40048758",
12  "router": "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
13  "simulated_usdc_units": "40048758",
14  "swap_tx": "0xc704c48f9fd260785cdf69d822e1c39cbaa232627751732d76e1b0e2baea223d",
15  "token_out": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
16  "wab_version": "1.0"
17}
Source: /repo/wab-sepolia-swap/swap-result.json · Raw file · Read-only excerpt

The WAB API check was a preflight. The separate EVM adapter signed and broadcast the transaction directly through Sepolia RPC. WAB did not custody the EVM key or perform the swap.

Sources
https://sepolia-faucet.pk910.de/
https://developers.uniswap.org/docs/protocols/v3/deployments/v3-ethereum-deployments
https://sepolia.etherscan.io/tx/0xc704c48f9fd260785cdf69d822e1c39cbaa232627751732d76e1b0e2baea223d

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects