Skip to content

A framework for building blockchains based Finschia Mainnet that is forked from cosmos-sdk

License

Notifications You must be signed in to change notification settings

Finschia/finschia-sdk

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

60e4955 · Apr 28, 2022
Apr 22, 2022
Mar 23, 2022
Apr 28, 2022
Mar 21, 2022
Mar 21, 2022
Mar 21, 2022
Mar 23, 2022
Apr 28, 2022
Mar 16, 2022
Apr 28, 2022
Mar 21, 2022
Apr 28, 2022
Apr 28, 2022
Mar 21, 2022
Mar 21, 2022
Mar 23, 2022
Mar 16, 2022
Mar 16, 2022
Mar 30, 2022
Mar 11, 2022
Mar 22, 2022
Mar 16, 2022
Apr 28, 2022
Jan 19, 2021
Oct 27, 2020
Apr 10, 2018
Jun 15, 2020
Mar 25, 2021
Feb 10, 2022
Nov 2, 2021
Mar 1, 2020
Apr 28, 2022
May 25, 2021
Mar 21, 2022
Feb 10, 2022
Mar 18, 2022
Jun 29, 2021
Mar 21, 2022
Jun 29, 2021
Oct 29, 2021
Mar 4, 2022
Mar 22, 2022
Oct 1, 2021
May 27, 2021
Mar 21, 2022
Mar 21, 2022
Mar 21, 2022
Apr 12, 2022
Apr 5, 2021

Repository files navigation

The LBM SDK is a framework for building blockchain applications in Golang. It is being used to build LBM, the first implementation of the LINE Blockchain Mainnet. This is forked from cosmos-sdk at 2021-03-15.

WARNING: Breaking changes may occur because this repository is still in the pre-release development phase.

Note: Requires Go 1.15+

What is the LBM SDK?

The LBM SDK is an open-source framework for building multi-asset public Proof-of-Stake (PoS) blockchains, as well as permissioned Proof-Of-Authority (PoA) blockchains. Blockchains built with the Cosmos SDK are generally referred to as application-specific blockchains.

The purpose of LBM SDK is to succeed to the objectives of Cosmos sdk while helping develop blockchains that requires faster transaction processing to be applied to reality.

Why the LBM SDK?

Cosmos-sdk, which created the philosophy of application-specific blockchain, established its status as a framework for various application blockchain development. LBM SDK inherited this cosmos-sdk philosophy, addressing slow transaction processing problem that was difficult for cosmos-sdk to apply in real financial system. Real financial systems require thousands of processing performance per second, with LBM SDK adding many performance improvements to meet that demand. The following work was carried out to improve performance.

  • Concurrent checkTx, deliverTx
  • Use fastcache for inter block cache and nodedb cache of iavl
  • Lock granularity enhancement

In addition, the following functions were added:

  • Virtual machine using cosmwasm that makes smart contracts possible to be executed
  • Use Ostracon as consensus engine instead of Tendermint

To learn about Cosmos SDK, please refer Cosmos SDK Docs.

Quick Start

Build

make build
make install

# you can see the version!
simd version

 

Configure

zsh init_node.sh sim {N(number of nodes), default=1}

 

Run

# run a node
simd start --home ~/.simapp/simapp0

# If N is larger than 1, run all node.
# simapp0 has other nodes as persistant_peer. 
simd start --home ~/.simapp/simapp0
simd start --home ~/.simapp/simapp1
...

Visit with your browser

 

Follow Guide

You can refer the sample tx commands at here Test different commands to get a broader understanding of lbm