Finschia

This repository hosts Finschia. This repository is forked from gaia at 2021-03-15. Finschia is a mainnet app implementation using lbm-sdk, ostracon, wasmd and ibc-go.
Node: Requires Go 1.18+
Warnings: Initial development is in progress, but there has not yet been a stable.
Quick Start
Docker
Build Docker Image
make build-docker GITHUB_TOKEN=${YOUR_GITHUB_TOKEN} # build docker image
or
make build-docker WITH_CLEVELDB=yes GITHUB_TOKEN=${YOUR_GITHUB_TOKEN} # build docker image with cleveldb
Configure
sh init_single.sh docker # prepare keys, validators, initial state, etc.
or
sh init_single.sh docker testnet # prepare keys, validators, initial state, etc. for testnet
Run
docker run -i -p 26656:26656 -p 26657:26657 -v ${HOME}/.finschia:/root/.finschia line/lbm lbm start
Local
Set up permissions
go env -w GOPRIVATE="github.com/line/*"
git config --global url."https://${YOUR_GITHUB_TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
Note1
You have to replace ${YOUR_GITHUB_TOKEN} with your token.
To create a token,
see: https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token
Note2
Please check GOPRIVATE is set by run export and check the result.
go env
if you can see GOPRIVATE, then you're good to go.
Otherwise you need to set GOPRIVATE as environment variable.
Build
make build
make install
Configure
sh init_single.sh
or
sh init_single.sh testnet # for testnet
Run
lbm start # Run a node
visit with your browser
Localnet with 4 nodes
Run
make localnet-start
Stop
make localnet-stop