Coder Social home page Coder Social logo

pinkdiamond1 / lfb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from finschia/lfb

0.0 1.0 0.0 2.33 MB

LINE Financial Blockchain forked from gaia(https://github.com/cosmos/gaia)

License: Apache License 2.0

Shell 6.05% Dockerfile 1.10% Makefile 13.23% Go 79.62%

lfb's Introduction

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}:[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

./.initialize.sh

or

./.initialize.sh testnet  # for testnet

Run

lfb start                # Run a node

visit with your browser

lfb's People

Contributors

shiki-tak avatar brew0722 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.