danmelton / ethersprout

A developer tool chain to bootstrap a local ethereum node with contracts, predefined addresses and share with other devs on your team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ether Sprout

This project bootstraps a local ethereum chain with common contracts for testing purposes and local development.

Goals:

  • Launch a local node on a commonly known port, with set Mnemonic
  • Bootstrap node with contracts and seed sample data
  • Save/Download the chain and address files to an AWS bucket (or other place) to share with other devs
  • Simple to use npm script commands to interact with the local chain

Docker Installation

cp .env-example to .env
#update env with AWS vars

docker-compose build chain
docker-compose up chain 

Download a snapshot to bootstrap your local node

npm run download

Save a snapshot of your local node, and upload it to AWS bucket

npm run upload

Credit

Initial credit to 0x Protocol team for the inspiration. I borrowed quite a bit of code from their start project.

About

A developer tool chain to bootstrap a local ethereum node with contracts, predefined addresses and share with other devs on your team

License:MIT License


Languages

Language:JavaScript 93.4%Language:Shell 6.6%