ethereum-optimism / ethereum-optimism/actions
CLI: wallet.send / sendBatch / transfer commands
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 25
- Avg merge
- 10h 20m
- Merged PRs (30d)
- 16
Description
Add raw transaction dispatch commands to the CLI. Not needed for the hackathon demo, but natural once a non-lend/swap use case appears.
Parent: #407
## Commands
- \`actions wallet send --to
--data [--value ] --chain \` → \`wallet.send(txData, chainId)\`- \`actions wallet send-batch --from-file \` or via stdin JSON array → \`wallet.sendBatch(txDataArray, chainId)\`
- \`actions wallet transfer --chain \` → \`wallet.transfer(...)\` (requires #370 \`transfer\` hoist to the Wallet base — confirm state before starting).
## Notes
- Transaction data comes in as hex strings on the CLI; parse to \`TransactionData\`.
- Output includes tx hash + chain ID + any UserOp receipt fields.
Contributor guide
Research direction
Start by inspecting the existing CLI wallet command implementations and the parent issue #407; confirm the state of the #370 transfer hoist before including transfer. Implement send, send-batch, and transfer with TransactionData parsing and the specified input forms. Done means commands dispatch transactions and report the tx hash, chain ID, and any UserOp receipt fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100