dsh-usdc
v0.0.1
Published
USDC tools for dsh - the default agent settlement asset, handled precisely. Name reserved; spec below; first release in development.
Maintainers
Readme
dsh-usdc
USDC tools for dsh - the default agent settlement asset, handled precisely.
A plugin for the DeepSeek Harness (dsh).
Why
USDC is what x402 prices default to and what exchanges margin in. Its gasless transfer pattern (EIP-3009 typed-data signatures) is exactly the kind of thing an agent should sign carefully and a human should see plainly.
What it does
- EIP-3009 transferWithAuthorization drafting and decoding - every field explained before signing
- Balance and allowance queries across configured chains, citations included
- Transfer drafting with fee math shown (gas vs gasless, per chain)
- Receipt verification against on-chain settlement
How it fits dsh
Sign operations run host-side with keys isolated from the model; read paths through dsh-onchain. Feeds the dsh-micropay ledger.
Design principles
- Sign, never expose - keys live outside the prompt
- Every authorization shown field by field
- Reads cited on-chain, not remembered
Status
Name reserved, spec locked. Roadmap: 0.1 decode + balance reads -> 0.2 gasless transfer drafting -> 0.3 receipt verification. The first release lands when the 0.1 scope above is fully implemented and tested - not before.
License
MIT
