Code Monkey home page Code Monkey logo

algorand-docker-network's Introduction

algorand-docker-network

This repository contains two Bash scripts for creating an Algorand private network of any size and a Python script for creating a Docker Compose file used to deploy the private network on the host machine. Each node of the network runs in a separate container. The private network is composed of n participants nodes and one relay node. All participant nodes connect to the relay node to communicate with the network, i.e. it is a star network topology.

How to create a network:

sh createNetwork.sh 4

This will create a folder named 4-nodes-net/ with 4 participants and 1 relay node. The common genesis file distributes an even amount of stake to each participant (A participant has one account). The relay node does not participate in the consensus protocol.

Deploy the network:

cd 4-nodes-net/ && docker-compose up

This will run each node in a Docker container using the YAML file generated by the dockerYamlGenerator.py script.

algorand-docker-network's People

Contributors

ejupialked avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.