FORGE SDK SPECIFICATION/ROBINHOOD TESTNET 46630/v1.2.0 · HARDWARE TPM DRIVER
TARGET: TS · PYTHON · ROS2
Forge Docs
From a new device to a machine with a wallet in one command, then sign swaps and pay over HTTP 402.
1 · Quickstart & Device Registration
Initializes non-exportable hardware private key in TPM/Secure Enclave and creates the counterfactual ERC-4337 Machine Account on Robinhood Testnet.
$ npx heph-forge init # creates key in secure element/TPM, registers identity
2 · Sign a swap (Private Uniswap v4 Pool)
The hook requires signed EIP-712 machine authorization. The swap executes through HephRouter with Talos daily spend policies enforced on-chain.
> const m = await Forge.load();
await m.swap({ from: "REWARD", to: "USDG", amount: "25" }); // hookData signed, router-only
3 · Pay through the Facilitator (HTTP 402)
Autonomous machine-to-machine micropayments. Gas is sponsored by the Paymaster and deducted directly in USDG credit without requiring ETH balance on the machine.
> await m.pay({ url: "https://dock-07.example/charge", amount: "6.20" }); // HTTP 402 flow, gas billed in USDG