#wallet #ethereum #cli #command-line-tool #secp256k1 #web3

app my-eth-tool

A command-line tool for interacting with Ethereum for the Holesky network

2 releases

0.1.1 Jan 6, 2024
0.1.0 Jan 6, 2024

#34 in #secp256k1

MIT/Apache

24KB
238 lines

my-eth-tool

Static Badge License Rust

Overview

my-eth-tool is a command-line tool written in Rust for interacting with Ethereum on the Holesky network (p.s. - currently). It provides functionality for creating wallets, making transactions, and more.

Features

  • Wallet Management: Create, manage Ethereum wallets.
  • Transaction Handling: Send and receive transactions on the Ethereum blockchain.
  • Secure Key Handling: Utilizes the secp256k1 library for secure key operations.

Installation

Ensure you have Rust installed. Then, you can install my-eth-tool using the following command:

cargo install my-eth-tool

Usage

1. Create a Wallet

my-eth-tool create
  • This command generates a new Ethereum wallet key pair.

2. Send Ether to Another Address

my-eth-tool send --to-addr <TO-ADDRESS> --value <VALUE> --secret-key <KEY>
  • <TO-ADDRESS> The recipient's Ethereum address.
  • <VALUE> The amount of Ether to send.
  • <KEY> Your secret key for signing the transaction.

3. Check Wallet Balance

my-eth-tool balance --address <ADDRESS>
  • <ADDRESS> The Ethereum address to check the balance for.

4. Get the Latest Block Information

my-eth-tool block
  • This command retrieves the latest block number.

For help,

  my-eth-tool --help

Screenshots

help

create

send

balance

block-number

License

This project is licensed under the terms of the MIT License or the Apache License 2.0.

The MIT License is a permissive open source license that allows for free use, modification, and distribution of the software, while the Apache License 2.0 is a more detailed and strict license. You can choose the license that best fits your needs.

For more details, see the LICENSE file.

Dependencies

~13–23MB
~270K SLoC