gen CLI. You’ll create an account, fund it, move
money, deploy a contract you didn’t write, and expose your handiwork to an AI
agent — all on a chain whose activation price is quoted in stablecoin cents,
not native token, and whose validators have been benchmarked at over
1,000,000 activations per second.
How this works. Every state-changing step prints a Receipt so you see
the cost and latency budget as you go. By the end of the curriculum you’ll
have done a handful of activations and spent well under a cent.
The lessons
Every lesson has a CLI tab and a Rust SDK tab. Pick the environment you’ll build in; the other stays out of your way.| # | Chapter | Time | What it teaches |
|---|---|---|---|
| — | Environment setup | 5 min | Install the gen toolchain — native macOS binaries (recommended) or devcontainer. |
| 1 | Your first account | 5 min | wallet create / wallet show. Identity is local-first: a key generates an address with zero on-chain footprint. |
| 2 | Fund from the faucet | 3 min | wallet faucet. The first activation Alice ever participates in — and the first Receipt. |
| 3 | Local → DevNet in one flag | 3 min | --rpc-url + auth header. Same commands, same SDK code, different chain. |
| 4 | Transfer between accounts | 7 min | The one workflow that powers every write on the Grid — build-activation → sign-and-submit-activation. |
| 5 | Deploy a contract from ABI | 10 min | client push / deploy / install. Three activations get you from the simple-token artifacts you built in Contract Development to a live, callable contract. |
| 6 | Call your contract | 8 min | client view (free reads) + the activation pattern (paid writes). The whole call surface in two lines of a table. |
The Receipt: your running cost budget
Every state-changing step prints a Receipt:1 activation · 0.001¢ USDG · ~10 ms · Same price next month: fees are quoted in stablecoin, not native token.Where the SDK boundary sits
Not everything is in the Rust SDK (v0.13.0):| In the SDK | On the CLI only |
|---|---|
get-account, get-balance, get-component, get-contract, view, build-activation, sign-and-submit-activation | Wallet creation/keystore, faucet, push / deploy / install (one-time setup steps) |
gen for the CLI-only ops at boot, then use the SDK
for everything from get-account onward.
What you’ll need
- A Unix-like shell (macOS or Linux; WSL2 on Windows).
- The
genbinary on your PATH. (macOS bundle: drag from the release tarball into/usr/local/bin/gen.) jqfor the few JSON-shaping moments. (brew install jq)- About 50 minutes.
gen-rpc-client + gen-rpc-wire v0.13.0 from gen-bc/gen-framework-preview,
via Cargo.
DevNet endpoint
When you graduate from local to the shared network in lesson 3:- RPC URL ·
<DEVNET_RPC_URL> - Auth ·
GEN_DEVNET_BEARER_TOKEN(orGEN_DEVNET_AUTHORIZATION), sent as theauthorization: Bearer <jwt>header.
Claim to fame
Three properties that don’t tend to coexist on the same chain. Numbers, not adjectives:| Property | What the Grid does | What this enables |
|---|---|---|
| Cost stability | Fees quoted and paid in USDG cents | An agent doing 1,000 transfers/day spends 1¢/day — a number that doesn’t move next quarter |
| On-chain identity | Storage priced per byte-month | The full ERC-8004 record (metadata, capabilities, reputation, certificates) lives on-chain; no CDN, no IPFS, no “trust whoever’s hosting the metadata today” |
| Throughput as a non-issue | ~100 ms blocks, 1,000,000 activations/sec design target | Per-HTTP-request, per-agent-thought, per-keystroke on-chain footprints are routine; the chain is not your bottleneck |
Start here
Environment setup
Step 1 · 5 min. Install the
gen toolchain — native macOS binaries
or devcontainer.Your first account
Step 2 · 5 min. Two commands to a working on-chain identity. Zero
activations spent.

