GO-ETH

GO-ETH is a project for practicing Go programming with the go-ethereum library. It includes various functionalities related to Ethereum account management and interaction.

Getting Started

  1. Clone the repository:
git clone https://github.com/Aymen-Tirchi/GO-ETH.git && cd GO-ETH
  1. Install the required dependencies:
go mod download

Make sure to include the Go binary directory in your system's PATH environment variable. You can do this by adding the following line to your ~/.bashrc or ~/.bash_profile file:

export PATH=$PATH:$(go env GOPATH)/bin

run the following command to apply the changes:

source ~/.bashrc

Sections

The project is organized into different sections, each focusing on a specific aspect of Ethereum development. Below is a list of available sections with their corresponding readme files that provide instructions on how to run the code for each section:

  • Client: Contains code for setting up the Ethereum client and connecting to the Ethereum network.
  • Accounts: Includes functionality related to Ethereum accounts, such as generating new accounts and managing account balances.
  • Transactions: Covers Ethereum transactions, including querying blocks and transactions, transferring ETH, and transferring tokens (ERC-20).
  • Smart Contracts: Focuses on smart contract development, including compiling smart contracts, deploying and interacting with contracts, and working with contract events.

Please navigate to the specific folders for each section to access the corresponding readme files and learn more about the functionality and instructions on how to run the code.