You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI for Sequence Builder - designed for AI agents and automation. Create wallets, authenticate, manage projects, and send transactions from the command line.
3
+
CLI for Sequence Builder - designed for AI agents and automation. Create wallets, authenticate, manage projects, query blockchain data, and send transactions from the command line.
4
4
5
5
## Quick Start
6
6
@@ -21,22 +21,22 @@ sequence-builder --help
21
21
22
22
```bash
23
23
# 1. Generate a wallet
24
-
npx @0xsequence/builder-cli create-wallet
24
+
npx @0xsequence/builder-cli create-wallet --json
25
25
26
26
# 2. Store the private key securely (shown in output)
27
27
28
-
# 3. Fund the wallet with native token for gas fees
|`create-wallet`| Generate new EOA keypair, display private key and wallet address |
54
-
|`login -k <key>`| Authenticate with private key, get JWT |
55
-
|`projects`| List all projects |
56
-
|`projects create [name]`| Create new project |
57
-
|`projects get <id>`| Get project details |
58
-
|`apikeys <project-id>`| List API keys |
59
-
|`apikeys default <project-id>`| Get default API key |
60
-
|`transfer`| Send ERC20 transfer |
51
+
| Command | Description |
52
+
|---------|-------------|
53
+
|`create-wallet`| Generate new EOA keypair |
54
+
|`wallet-info`| Show EOA and Sequence wallet addresses |
55
+
|`login -k <key>`| Authenticate with private key |
56
+
|`projects`| List all projects |
57
+
|`projects create [name]`| Create new project |
58
+
|`projects get <id>`| Get project details |
59
+
|`apikeys <project-id>`| List API keys |
60
+
|`apikeys default <project-id>`| Get default API key |
61
+
|`transfer`| Send ERC20 transfer via Sequence wallet |
62
+
|`indexer balances <address>`| Get token balances |
63
+
|`indexer native-balance <address>`| Get native token balance |
64
+
|`indexer history <address>`| Get transaction history |
65
+
|`indexer token-info <contract>`| Get token contract info |
66
+
67
+
## Understanding Wallet Addresses
68
+
69
+
This CLI uses **Sequence Smart Wallets** for transfers. When you create a wallet, you get:
70
+
71
+
-**EOA Address**: The standard Ethereum address derived from your private key (used for login/project ownership)
72
+
-**Sequence Wallet Address**: A smart contract wallet that enables gas-free transactions (used for transfers)
73
+
74
+
Use `wallet-info` to see both addresses:
75
+
76
+
```bash
77
+
npx @0xsequence/builder-cli wallet-info -k <private-key> -a <access-key>
78
+
```
79
+
80
+
**Important**: Send tokens to the **Sequence Wallet Address** for use with the `transfer` command. The Sequence wallet can pay gas fees with ERC20 tokens (no native token needed!).
Send an ERC20 token transfer using Sequence smart wallet:
140
178
141
179
```bash
142
180
npx @0xsequence/builder-cli transfer \
143
181
-k 0x4c0883a... \
144
182
-a AQAAAAAAAABnD... \
145
-
-t 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 \
183
+
-t 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 \
146
184
-r 0x1234567890123456789012345678901234567890 \
147
185
-m 10.5 \
148
-
-c 137
186
+
-c 8453
149
187
```
150
188
151
189
Options:
@@ -157,6 +195,60 @@ Options:
157
195
-`-m, --amount <amount>` - Amount to send in token units (required)
158
196
-`-c, --chain-id <chainId>` - Chain ID (required)
159
197
198
+
**Note**: Gas fees are automatically paid using the same token you're transferring (e.g., transfer USDC, pay gas in USDC). No native token (ETH/MATIC) needed!
0 commit comments