ogen

module
v0.2.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: MIT

README

Ogen integration/staging tree

Actions Go Report PkgGoDev codecov

Ogen was a divine figure in classical antiquity to be the divine personification of the ocean.

Ogen is the main implementation of the Olympus protocol.

Building

./scripts/build.sh

Documentation

The complete documentation can be found here: https://doc.oly.tech

Run with Docker

Full node with shared storage

This configuration is the best to use as a validator

Pull the image
docker pull ghcr.io/olympus-protocol/ogen-full-node:latest
Run the container

Make sure you replace the LOCAL_HOST_FOLDER on the string to the host folder you want to store your files

docker run -p 80:8080 -p 81:8081 -d -v LOCAL_HOST_FOLDER:/root/.config/ogen ghcr.io/olympus-protocol/ogen-full-node:latest

Now you will have a full-node instance running on the background with a dashboard exposed on port 80, and the REST API exposed on 81, and the full-node files are stored on your host on LOCAL_HOST_FOLDER

Full node without shared storage

This configuration is the best to run a simple full node without having a backup of the keystore.

Pull the image
docker pull ghcr.io/olympus-protocol/ogen-full-node:latest
Run the container
docker run -p 80:8080 -p 81:8081 -d ghcr.io/olympus-protocol/ogen-full-node:latest

Now you will have a full-node instance running on the background with a dashboard exposed on port 80, and the REST API exposed on 81

Run a full node with indexer

This configuration is the best to deploy a full-node with an indexer and a GraphQL API

Pull the image
docker pull ghcr.io/olympus-protocol/ogen-indexer:latest
Run the container
docker run -p 80:8082 -p 81:8080 -d ghcr.io/olympus-protocol/ogen-indexer:latest

Now you will have a full-node instance with an indexer process, and a GraphQL API exposed on port 80 with a dashboard on port 81

Directories

Path Synopsis
api
proto
Package proto is a reverse proxy.
Package proto is a reverse proxy.
cmd
internal
pkg
bip39
Package bip39 is the Golang implementation of the BIP39 spec.
Package bip39 is the Golang implementation of the BIP39 spec.
bls
Package bls implements a go-wrapper around a library implementing the the BLS12-381 curve and signature scheme.
Package bls implements a go-wrapper around a library implementing the the BLS12-381 curve and signature scheme.
bls/common
Package common provides the BLS interfaces that are implemented by the various BLS wrappers.
Package common provides the BLS interfaces that are implemented by the various BLS wrappers.
bls/multisig
Code generated by fastssz.
Code generated by fastssz.
burnproof
Code generated by fastssz.
Code generated by fastssz.
p2p
Code generated by fastssz.
Code generated by fastssz.
primitives
Code generated by fastssz.
Code generated by fastssz.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL