Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Finschia/lfb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFB(LINE Financial Blockchain)

codecov

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

Node: Requires Go 1.15+

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

./.initialize.sh docker          # prepare keys, validators, initial state, etc.

or

./.initialize.sh docker testnet  # prepare keys, validators, initial state, etc. for testnet

Run

docker-compose up                # Run a node

visit with your browser

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

./.initialize.sh

or

./.initialize.sh testnet  # for testnet

Run

lfb start                # Run a node

visit with your browser