Skip to content
forked from Finschia/ostracon

Ostracon, a consensus algorithm, is forked from Tendermint Core. We have added VRF to Tendermint BFT. It adds randomness to PoS Validator elections and improves security.

License

Notifications You must be signed in to change notification settings

dudong2/ostracon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ostracon

example workflow example workflow

Ostracon is forked from Tendermint Core v0.34.19 at 2021-03-15.

Node: Requires Go 1.18+

Warnings: Initial development is in progress, but there has not yet been a stable.

Quick Start

git clone

git clone https://github.com/line/ostracon.git
# or
git clone [email protected]:line/ostracon.git

git clone with recursive if you want to use libsodium

git clone --recursive https://github.com/line/ostracon.git
# or
git clone --recursive [email protected]:line/ostracon.git

git submodule if you forget to clone with submodule

git submodule update --init --recursive

Local Standalone

Build

make build     # go help build
make install   # go help install

Run

ostracon init
ostracon node --proxy_app=kvstore                # Run a node

Before running it, don't forget to cleanup the old files:

# Clear the build folder
rm -rf ~/.ostracon

Visit with your browser

Localnet(4 nodes) with Docker

Build Docker Image

(optionally) Build the linux binary for localnode in ./build

make build-localnode

(optionally) Build ostracon/localnode image

make build-localnode-docker

Run localnet

To start 4 nodes

make localnet-start

Before running it, don't forget to cleanup the old files

rm -rf ./build/node*

Visit with your browser

Linux Docker

Build Docker Image

Build the linux binary

make build-linux-docker

Run a linux docker node

To start a linux node

make standalone-linux-docker

Visit with your browser

About

Ostracon, a consensus algorithm, is forked from Tendermint Core. We have added VRF to Tendermint BFT. It adds randomness to PoS Validator elections and improves security.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.8%
  • Other 1.2%