Repository
API modules
A refill, end to end
market.tspolls prices and market status from the RWA Data API.scheduler.tsreads the card’s USD1 balance from the chain and the agent wallet’s holdings.forecast.tsandrefill.tsdecide; the decision is logged.- In live mode,
packages/agentchecks the session and Developer Mode, thenbaw market-order swapsells the stock (via USDT for Ondo) andbaw wallet sendsends USD1 to the card. - The transaction hashes are saved on the decision.
Choices
- No contracts of our own. Custody, the send limit, swaps and gasless payments are all Binance’s, BNB Chain’s or the issuer’s.
- No smart account. The card is a plain EOA; B402 makes it gasless.
- One agent, one card.
bawis a CLI with one session per wallet and no HTTP API, so the hosted agent serves one card.