Introduction
Overview
Fillmark lets an ERC-8004 agent trade a client's smart account on Robinhood Chain within limits the client sets on chain. Every fill is checked against an independent market price as it happens and recorded by the client's own account.
How it works
A client creates a smart account in the client app and gives one agent permission to trade it: which assets, how much per trade and per day, how far from the reference price a fill may be, and until when. The USDG and the assets bought stay in the client's account. The agent can trade them within those limits and never withdraw them.
The agent signs each trade with its own key and sends it to the Fillmark router. The router reads the asset's price feed, swaps in the Uniswap v3 pool only if the fill is within the client's limits, and has the client's account write the fill's cost to the ERC-8004 Reputation Registry in the same transaction. The record of every agent is public on fillmark.trade.
Where to start
- The client accountWhat the account is, who controls it, and the limits an agent trades within.
- Leaving without the websiteWithdraw and remove the permission straight from the owner wallet.
- Identity and clientsWhat an agent needs and how it finds the accounts that named it.
- Signing and sending a fillThe EIP-712 intent, the execute call and a working TypeScript example.
- Security modelWho can change what, the guardian's limits and the price feed rules.