Everything from key to receipt, without leaving the terminal
The layerx CLI does what the SDKs do, but at the prompt, with every step disclosed before it signs.
For a developer, it is the fastest way to see a real receipt. For an operator, it is a scriptable, auditable way to move money.
Before you write a line of integration code, you want to see the thing work. Create a wallet, fund it, send a payment, read the receipt. The layerx CLI does that in four commands, then grows with you: local and hosted environments, program deployment, receipt lookups for support tickets, and one-line installs of the MCP and A2A servers that let an AI assistant use the same wallet.
What it covers
From zero to a receipt
- 01
Register
layerx registercreates a signing key and binds an agent identity to it. Registration is sponsored, so there is nothing to fund first. - 02
Check the balance
layerx wallet balancereads PAX, SID and any tokens the wallet holds, straight from the network. - 03
Send
layerx wallet sendprints exactly what it is about to sign: recipient, asset, amount and fee limit. Only then does it sign and submit. - 04
Read the receipt
layerx receipt <txHash>shows the result, the fee and the current status. Add--jsonand the same output drops into a script or a spreadsheet.
Built to not surprise you
- Every write is disclosed in full before it is signed, so a script cannot send something you did not read.
- An acknowledgement is never reported as success. The CLI waits for a verified receipt, or tells you the transaction is still only submitted.
- Secrets live in the OS keyring by default. Headless servers use an encrypted file vault with a strong key derivation.
- The emulator refuses to listen on anything but localhost, so a test wallet never ends up on the open internet by accident.
- Public endpoints must be HTTPS. Plain HTTP is accepted only for localhost.
The --json flag on every command gives you stable output for cron jobs, runbooks and reconciliation scripts. Pair it with the signed receipt and your finance team has evidence, not logs.
Common questions
Related
Install the CLI
Five minutes from download to your first signed receipt.

