Bifrost

A parachain focused on building bridges of chains based on PoS consensus.
Alternatives To Bifrost
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Fabric14,837153a day ago255March 22, 2022180apache-2.0Go
Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
Tendermint5,5442381,92624 days ago722November 29, 2022141apache-2.0Go
⟁ Tendermint Core (BFT Consensus) in Go
Quorum4,53038 days ago210November 03, 202245lgpl-3.0Go
A permissioned implementation of Ethereum supporting data privacy
Fisco Bcos2,174
a day ago161apache-2.0Shell
FISCO BCOS(发音为/ˈfɪskl bi:ˈkɒz/)是一个稳定、高效、安全的许可区块链平台,已被广泛应用于现实的行业应用。截至目前,已拥有4000多家企事业单位,300多个行业数字标杆应用,涵盖文化版权、司法服务、政府服务、物联网、金融、智慧社区、房地产建设、社区治理、乡村振兴等领域。FISCO BCOS (pronounced /ˈfɪskl bi:ˈkɒz/) is a stable, efficient, and secure permissioned blockchain platform that has been widely used in real-world industry applications.
Steem1,943
a year ago354otherC++
The blockchain for Smart Media Tokens (SMTs) and decentralized applications.
Awesome Blockchain Rust1,810
20 days ago
Collect libraries and packages about blockchain/cryptography in Rust
Blockchain Papers1,708
3 years ago18
A curated list of academic blockchain-related papers
Awesome Cryptoeconomics1,551
10 months ago1
An awesome curated list of Cryptoeconomic research and learning materials
Tezos1,496
a year ago22
Mirror of the release branches for Tezos, a self-amending cryptographic ledger
Harmony1,45611a day ago60April 05, 202296lgpl-3.0Go
The core protocol of harmony
Alternatives To Bifrost
Select To Compare


Alternative Project Comparisons
Readme

Bifrost Banner

Bifrost Logo

Homepage

🐣 Supported by

Web3 Foundation Grants Substrate Builders Program Web3 Bootcamp

master-build Codacy Badge Substrate Version Docker License Faucet Twitter Medium

Building

Install Rust:

curl https://sh.rustup.rs -sSf | sh

Install required tools:

./scripts/init.sh

Build all native code:

cargo build

Run

Normal way

You can start a development chain with:

cargo run -- --dev

Detailed logs may be shown by running the node with the following environment variables set: RUST_LOG=debug RUST_BACKTRACE=1 cargo run -- --dev.

If you want to see the multi-node consensus algorithm in action locally, then you can create a local testnet with two validator nodes for Alice and Bob, who are the initial authorities of the genesis chain that have been endowed with testnet units. Give each node a name and expose them so they are listed on the Polkadot telemetry site. You'll need two terminal windows open.

We'll start Alice's bifrost node first on default TCP port 30333 with her chain database stored locally at /tmp/alice. The bootnode ID of her node is 12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp, which is generated from the --node-key value that we specify below:

cargo run -- \
--base-path /tmp/alice \
--chain=dev \
--alice \
--port 30333 \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
--validator

In the second terminal, we'll start Bob's bifrost node on a different TCP port of 30334, and with his chain database stored locally at /tmp/bob. We'll specify a value for the --bootnodes option that will connect his node to Alice's bootnode ID on TCP port 30333:

cargo run -- \
--base-path /tmp/bob \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp \
--chain=dev \
--bob \
--port 30334 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
--validator

Additional CLI usage options are available and may be shown by running cargo run -- --help.

Quick way

You can use docker to run Bifrost chain, and you don't need to install rust.

If docker isn't installed on your machine, just check here to install it: Docker Installation.

After installation, pull the docker image by the following command:

docker pull bifrostnetwork/bifrost:v0.4.0

Start a single chain

Run the chain in quick way:

docker run -p 9944:9944 bifrostnetwork/bifrost:v0.4.0 --unsafe-ws-external --ws-port 9944 --dev

Start multi-nodes

Start alice node.

docker run -p 9944:9944 --name=alice bifrostnetwork/bifrost:v0.4.0 --base-path /tmp/alice \
--unsafe-ws-external \
--ws-port 9944 \
--chain=dev \
--alice \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
--validator

Start bob node.

docker run -p 9933:9933 --name=bob bifrostnetwork/bifrost:v0.4.0 --base-path /tmp/bob \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp \
--chain=dev \
--unsafe-ws-external \
--ws-port 9933 \
--bob \
--port 30334 \
--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
--validator

Ensure both nodes are synchronizing each other.

Popular Consensus Projects
Popular Blockchain Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Rust
Blockchain
Tcp
Consensus