Skip to content

atkinsonholly/ephemery-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ephemeral testnets scripts

Tooling for participating in Ephemeral testnet based on its genesis repository.

Running a node in this test network requires resetting clients with a new genesis after given period. In this repository, you can find scripts and deployment for this automatized setup.

Retention script

Script retention.sh provides the main mechanism for resetting the network. It checks for period timeout and resets the node automatically. Make sure to read the script first, modify variables and paths to match your setup.

By default, the script is controlling clients using their systemd services. You can find examples files for services in systemd-services directory, you should also modify them to suit your system.

Automatic deployment

Cloud-init

This repository also includes configuration files for cloud-init. These provide many deployment options for various client combinations and also explorers.

Docker

Another deployment option is using docker-compose setup. This is a simple option to run a node which always follows the current chain.

Just ensure that Docker and docker-compose are installed, clone this repository and start the setup.

git clone https://github.com/pk910/test-testnet-scripts.git
cd test-testnet-scripts/Docker
docker-compose up

Currently it only includes single client pair with automatic restart and needs more work. Feel free to extend it with other options.

Kubernetes helm charts

Currently only the geth-lighthouse client pair is supported, retention is automated via a Kubernetes CronJob.

More information on how to deploy the chart and it's default values can be found in README.md.

Manual deployment

If you simply want to run a node on Ephemery, you can manually set this up by following one of the sets of instructions below.

Warning: you will need to manually reset your system when the testnet is reset.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 82.9%
  • Smarty 15.3%
  • Dockerfile 1.8%