fleet-demo

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

fleet-demo: end-to-end exercise of the variant-B shared-account flow.

  1. 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.

  2. We probe the kernel with IsFleetInstalled to confirm it really is set up the way accounts claims.

  3. 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL