Skip to content

jacksonh/go-horizon

 
 

Repository files navigation

Note this code is pre-alpha.

It is definitely not ready yet for production.

Horizon

Build Status docs examples

Horizon is the client facing API server for the Stellar ecosystem. See an overview of the Stellar ecosystem for more details.

Installing Dependencies

Horizon uses gb to manage go dependencies, which are bundled into the vendor directory.

Building

From within the project directory, simply run gb build. After successful completion, you should find bin/horizon is present in the project directory.

Regenerating generated code

Files ending in _generated.go are generating using go-codegen. Before you can regenerate the code, you'll need to install that tool. After installed, simply run go generate.

Running Tests

first, create two local Postgres databases, and start a redis server on port 6379

psql -c 'create database "horizon_test";'
psql -c 'create database "stellar-core_test";'
redis-server

then, run the tests like so:

bash script/run_tests.bash

About

go-horizon is the client facing HTTP API server for the Stellar ecosystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.4%
  • API Blueprint 3.2%
  • Other 0.4%