ogen

module
v0.0.0-...-b9de96a Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT

README

Ogen integration/staging tree

Go Report PkgGoDev

DEPRECATED: use only as a reference.

Ogen is the main implementation of the Olympus protocol.

Building

./scripts/build.sh

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/kindynosmx/ogen-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/kindynosmx/ogen-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/kindynosmx/ogen-node:latest
Run the container
docker run -p 80:8080 -p 81:8081 -d ghcr.io/kindynosmx/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

Directories

Path Synopsis
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.
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