| name | recipe-first-transaction |
| version | 1.0.0 |
| description | Getting started: Create a wallet and send your first transaction. |
| metadata | {"openclaw":{"category":"recipe","domain":"web3","requires":{"bins":["web3"],"skills":["web3-shared","web3-wallet","web3-send","web3-balance"]}}} |
First Transaction
PREREQUISITE: Load the following skills to execute this recipe: web3-shared, web3-wallet, web3-send, web3-balance
Walk through wallet creation to your first on-chain transaction.
Steps
-
Create a wallet:
web3 wallet create
-
Show your address (share this to receive funds):
web3 wallet show
-
Check your balance (you need funds before sending):
web3 balance --chain ethereum
-
Dry-run a send (simulate without spending):
web3 send 0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18 0.01 --dry-run --chain ethereum
-
Confirm with the user, then execute the real send:
web3 send 0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18 0.01 --chain ethereum
-
Check transaction status:
web3 tx status <HASH> --chain ethereum
Tips
- Use
--network testnet for experimentation without real funds.
- If the balance is zero, the user needs to fund the wallet address first (from an exchange or another wallet).
- Always dry-run before sending real value.