Prerequisites
- macOS or Linux
- A terminal you’re comfortable with
Step 1: Install the CLI
Download thegen binary for your platform and put it on your PATH.
wallet, client, config, service, and others). If that prints, you’re ready.
Step 2: Connect to a network
DevNet access. DevNet requires a bearer token issued by Gen Labs. Ask your contact for one and substitute it for
<your-jwt> in the commands below.--env or --rpc-url on every call. DevNet requires a bearer token on every request, so persist your JWT as an Authorization header:
*:
gen config env show devnet (header values are redacted by default; add --show-secrets to reveal them):
--env <name>, override the URL with --rpc-url <URL>, and add or override headers with --header "name: value". To remove the environment later, run gen config env delete devnet.
Step 3: Create a wallet
Create a new wallet calledalice. This becomes your active wallet automatically:
grd@... bech32m string). Save the key somewhere safe. There is no way to recover it later. (If you’d rather have a BIP-39 recovery phrase, pass --mnemonic.)
Expected output (abridged):
Step 4: Fund the wallet from the faucet
Ask the DevNet faucet to fund Alice. The faucet auto-creates the account on first use:--json mode the result looks like:
Note: The DevNet faucet has a per-account rate limit. If a request fails withRateLimited, wait a minute and retry. If the faucet returnsInsufficientFunds, it has been drained. Refills happen periodically.
Step 5: Send a transfer
Pick a recipient. For this walk-through, create a second wallet so you have somewhere to send to:gen wallet create bob makes bob the active wallet, so the next command pins the source explicitly with --wallet alice. Send 1,000 subunits, pass --yes to skip the confirmation prompt, and capture the activation ID from the JSON envelope for the next step.
--json mode:
Step 6: Confirm the activation
Fetch the activation you just submitted to see how it played out on the network:end_block). This is useful for tracing and debugging. For a simple yes/no that the transfer landed, the most direct check is the recipient’s balance in Step 7.
Step 7: Verify the recipient balance
Query Bob’s balance to confirm the funds arrived. Pass the wallet name to query a specific stored wallet:What’s next
- What is The Grid?: the platform in one page.
- Activations explained: what you just submitted, in detail.
- RPC reference: every endpoint the CLI talks to.
