send
Send Transaction
Transfer STRK, ETH, or ERC-20 tokens to a destination Starknet address. The CLI automatically checks balance before sending and validates the recipient address. Supports simulation (dry-run) mode to estimate fees without broadcasting.
Prerequisites
- Active session required.
- Sufficient balance for the transfer amount + gas fees.
Rules
- BEFORE any send, you MUST run
npx starkfi@latest statusandnpx starkfi@latest balanceto verify connectivity and funds. - If the recipient address was NOT previously mentioned in the conversation, you MUST ask for explicit confirmation: "Sending [amount] [token] to [address]. Confirm?"
- Suggest using
--simulatefirst for large amounts so the user can review the estimated fee before committing. - AFTER a successful send, you MUST verify the transaction using
npx starkfi@latest tx-status <hash>. - Starknet addresses start with
0xand can be up to 66 characters long (including the0xprefix).
Commands
npx starkfi@latest send <amount> <token> <recipient> [--simulate] [--json]
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
amount |
number | Amount to send (e.g. 10, 0.5) |
Yes |
token |
string | Token symbol (e.g. STRK, ETH, USDC) |
Yes |
recipient |
string | Destination Starknet address (0x...) |
Yes |
--simulate |
flag | Estimate fees without broadcasting | No |
--json |
flag | Output as JSON | No |
Examples
User: "Send 10 STRK to 0x04a3..."
npx starkfi@latest status
npx starkfi@latest balance --token STRK
# Confirm recipient with user if needed
npx starkfi@latest send 10 STRK 0x04a3...
npx starkfi@latest tx-status <hash>
User: "Simulate sending 100 USDC to 0x07b2..."
npx starkfi@latest send 100 USDC 0x07b2... --simulate
Error Handling
| Error | Action |
|---|---|
Insufficient balance |
Inform user of current balance via balance. |
Invalid address |
Validate recipient is a valid 0x Starknet address. |
Simulation failed |
Transaction would revert — check amount, token, and gas. |
Not authenticated |
Run authenticate-wallet skill first. |
Related Skills
- Use
balanceto verify funds before sending. - Use
configto set a custom RPC if experiencing rate limits. - Use
tradeif the user needs to swap tokens before sending. - Use
confidentialfor privacy-preserving transfers (hidden amounts, ZK proofs).
More from ahmetenesdur/starkfi
balance
Check Starknet wallet token balances — STRK, ETH, and all ERC-20 tokens. Use this skill when the user asks about their balance, holdings, funds, tokens, wallet contents, or wants to know how much of something they have. Also use before any transaction to verify sufficient funds. Trigger whenever the user says "check my balance", "how much ETH do I have", "what's in my wallet", "do I have enough", "show my tokens", or any variation about checking available assets — even if they don't use the word "balance".
9portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
9authenticate-wallet
Authenticate, manage sessions, and deploy Starknet wallets with StarkFi. Handles email OTP login (two-step), session checks, address display, account deployment, and logout. Use this skill whenever the user wants to sign in, log in, check their session, see their wallet address, deploy their account, or log out — even if they don't say "authenticate" explicitly.
9batch
Execute multiple different DeFi operations in a single Starknet transaction — combine swaps, staking, lending supply/borrow/repay/withdraw, token sends, DCA orders, and Troves vault deposits/withdrawals into one multicall. Use this skill when the user wants to batch, combine, bundle, or chain multiple diverse operations together in one atomic transaction, such as "swap ETH and then stake STRK" or "withdraw from lending and swap" or "repay debt and stake" or "swap and send in one go" or "create a DCA order and stake" or "deposit into vault and swap". Also trigger when the user mentions multicall, combining operations, doing multiple things at once, or wants to save gas by bundling actions — even if they don't use the word "batch".
7lending
Manage Vesu V2 lending positions on Starknet — supply assets, borrow against collateral, repay debt, withdraw, close positions, monitor health factors, and auto-rebalance risky positions. Use this skill when the user mentions lending, borrowing, supplying collateral, Vesu, earn interest, health factor, liquidation risk, monitoring positions, auto-rebalancing, protecting against liquidation, "my position is risky", "health factor low", or DeFi yield from lending protocols — even if they don't say "lending" explicitly.
7dca
Create, preview, list, and cancel recurring Dollar-Cost Averaging (DCA) buy orders on Starknet via AVNU or Ekubo. Use this skill when the user wants to set up automatic recurring purchases, dollar-cost average into a token, create a DCA order, schedule periodic buys, invest regularly, buy every day/week/month, or manage existing DCA orders. Also trigger when the user says "recurring buy", "scheduled purchase", "buy X of Y every day", or any variation about automated periodic investing — even if they don't use the term "DCA" explicitly.
2