Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.67 KB

README.md

File metadata and controls

76 lines (52 loc) · 2.67 KB

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.