Skip to content

2. The network and in depth API

mrb-github edited this page Apr 23, 2020 · 4 revisions
  1. You access the stellar network through Horizon

  2. Horizon is an RESTful API server

  3. Horizon connects to Stellar Core and the stellar core does the heavy lifting of requests/responses via Horizon

  4. Stellar core is a node, and it is connected to other nodes to make up the stellar network

  5. Can we host Stellar core on Ec2 instance? Yes. https://medium.com/taskio/how-to-setup-a-stellar-horizon-server-on-aws-ec2-with-https-230342ad4dc There is an aws image with docker container: https://hub.docker.com/r/stellar/quickstart/

  6. There are three networks

    1. pubnet (real/production)
    2. testnet (testing)
    3. Standalone (private network)
  7. Two modes of running the docker container

    1. Ephermal ( nothing is persisted across restart )
    2. Persistent (Stored)
  8. Four(4) ports may need to be opened based on the need

Port Service Description 5432 postgresql database access port 8000 horizon main http port 11625 stellar-core peer node port 11626 stellar-core main http port

  1. UID used - 10011001 (cannot be changed, unless we fork the code and change) 10.Db used PostgresSql
Clone this wiki locally