Skip to content

Sklyvan/BlockchainExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is my solution for the Bell-Labs Coding Challenge. The solution has been declared correct by the members of the Bell Labs team.
This software connects to any Ethereum node and allows you to interact with the blockchain. The main functionality is to create massive transactions and send them to the blockchain, then, obtain the validation time benchmarks.

Prerequisites

Configuration

To launch the program, you need to fill the Configuration file with the correct information.

[BASIC_INFORMATION]
MAIN_WALLET = EXAMPLE_ADDRESS
KEY = EXAMPLE_KEY

[NODE_INFORMATION]
IPC_PATH = /Your/Local/Node/Path/Geth.ipc
HTTP_PROVIDER = YourHttpProvider
WEB_SOCKET = YourWebSocketProvider

Note that for the Node Information section, you can choose between the:

  • IPC_PATH
  • HTTP_PROVIDER
  • WEB_SOCKET

Usage

To use the program, you need to run the following command:

python3 Main.py -n Senders -r Addr1,Addr2,... -t TransactionsSecond -s BytesSize
  • n: Number of wallets from which the transactions will be sent.
  • r: List of receivers addresses, separated by commas without spaces.
  • t: Number of transactions to be sent every second.
  • s: Size in bytes of the transactions.

Results

The program runs on an infinite loop, when the users interrupt the main process, the program will stop. The results are going to be found inside the "Benchmark_*.txt" file.

About

Application for benchmarking an Ethereum Network.

Resources

License

Stars

Watchers

Forks

Languages