my-eth-tool

Crates.iomy-eth-tool
lib.rsmy-eth-tool
version0.1.1
sourcesrc
created_at2024-01-06 19:02:44.68656
updated_at2024-01-06 20:41:28.899988
descriptionA command-line tool for interacting with Ethereum for the Holesky network
homepagehttps://github.com/lazyfuhrer/my-eth-tool
repositoryhttps://github.com/lazyfuhrer/my-eth-tool
max_upload_size
id1091139
size84,378
Biswarghya Biswas (lazyfuhrer)

documentation

README

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.

Commit count: 0

cargo fmt