Documentation
¶
Overview ¶
fleet-demo: end-to-end exercise of the variant-B shared-account flow.
POST { email, providedSignerAddress } to DIMO accounts. The service creates the Turnkey sub-org, deploys the kernel, and installs a weighted-ECDSA secondary validator with the Turnkey EOA and the fleet EOA as co-guardians (each weight 100, threshold 100). All in one Turnkey-signed enable-mode UserOp on the server side. Returns { walletAddress } — the kernel address.
We probe the kernel with IsFleetInstalled to confirm it really is set up the way accounts claims.
We send one plain regular-mode UserOp from the fleet EOA to prove the fleet can act on the account without any further coordination.
The fleet PK does NOT need to hold any funds — the ZeroDev paymaster covers gas. The same email cannot be reused: accounts rejects "User already exists." Generate a fresh email per run.