Skip to content

Finschia is a mainnet app implementation using finschia-sdk, ostracon, wasmd and ibc-go.

License

Notifications You must be signed in to change notification settings

Finschia/finschia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBM(LINE Blockchain Mainnet)

codecov

This repository hosts LBM(LINE Blockchain Mainnet). This repository is forked from gaia at 2021-03-15. LBM is a mainnet app implementation using lbm-sdk and ostracon.

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}/.lbm:/root/.lbm line/lbm lbm start

Local

Set up permissions

go env -w GOPRIVATE="github.com/line/*"
git config --global url."https://${YOUR_GITHUB_TOKEN}:[email protected]/".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