/stellar-playground

stellar.org docker playground

Primary LanguageShell

Docker-compose for a one node stellar core with full horizon-api support https://www.stellar.org/

How to run

##Requirements

  • Install docker and docker-compose
  • Update your /etc/hosts file and add dockerhost to docker-engine ip (on linux it is probably 127.0.0.1, on mac os x with kitematic it is 192.168.99.100). Alternatively tou can edit docker-compose.yml and use your ip address

##Run

cd stellar-1-node
docker-compose build
docker-compose up

#Root account

A private stellar network has a special root user that owns all lumens. In order to create a new account you must move some lumens from root to a specific account.

Root address: http://dockerhost:11626/testacc?name=root (id field) Root secret: search for string "Root account seed" in docker-compose console log

In order to create a user follow this tutorial where

#Api and frontend

#Note:

Aa of today (November 2015) stellar horizon api requires stellar-importer to move data from stellar core database to stellar horizon. Future releases of horizon api will not require horizon-importer anymore.

Resources