Skip to content

gfornari/ethereum-test

Repository files navigation

ethereum-test

Ethereum test allows creating an Ethereum Private Network using the go ethereum client.

Getting Started

   git clone https://github.com/gfornari/ethereum-test.git
   git checkout master

Prerequisites

Currently, the system is tested only on ubuntu. To install the necessary dependendencies use the installer script installer_ubuntu.sh

Running the tests

To setup a network you need a configuration file

{
    "timeout": "50",
    "tx_interval": "1000",
    "test_dir": "./test/",
    "start_difficulty": 240000,
    "bootnode": "enode:https://...",
    "nodes": 
    [
        {
            "address": "<external-ip>",
            "internal_address": "<internal-ip>",
            "login_name": "<username>",
            "role": "client"
        },
        {
            "address": "<external-ip>",
            "login_name": "<internal-ip>",
            "internal_address":"<username>",
            "role": "miner"
        }
    ]
}

Deployment

./benchmark.sh conf/conf.json 1

Contributing

Any contribution is much appreciated ;)

Authors

  • Mirko Bez - Initial work - herrBez
  • Giacomo Fornari - Initial work - gfornari

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published