Ylgr / bein

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bein Chain

Substrate version License: Unlicense

Bein Chain is a Substrate-based Blockchain platform with a mission together with the social network Bein Group (expected to launch in 2022) to bring Blockchain to everyone to gradually educate users about Blockchain.

Introducing Bein chain

Bein chain is an EVM compatible blockchain for DeFi. In Bein Chain you can have:

  • Solidity: Port your existing applications from Ethereum (and other EVM-compatible platforms) to Bein Chain without modifying your Solidity code. You can also use Ethereum-based development tools (like Remix, Metamask, Hardhat, etc.) to build products on the Bein Chain platform.

  • Social token: You can fully deploy your social tokens and NFTs on Bein Chain and easily integrate it into the Bein social networking platform from which to build your personal brand.

  • Dapps as extension: Extensions on the Bein Group social network will be built as dapps on Bein Chain. You can imagine you are an artist who just released an exclusive NFT, after creating NFT you drag an NFT auction house into your own Group. Thanks to that, your exclusive products easily reach the people who trust you most.

  • Feeless tips: Overcome the fear of transaction fees, your community will now give you all the love thanks to a staking system that receives a bandwidth for making transactions with no fees.

Getting Started

Rust Setup

First, complete the basic Rust setup instructions.

Run

Use Rust's native cargo command to build and launch the template node:

cargo run --release -- --dev --tmp

Build

The cargo run command will perform an initial build. Use the following command to build the node without launching it:

cargo build --release

Embedded Docs

Once the project has been built, the following command can be used to explore all parameters and subcommands:

./target/release/bein -h

Run

The provided cargo run command will launch a temporary node and its state will be discarded after you terminate the process. After the project has been built, there are other ways to launch the node.

Single-Node Development Chain

This command will start the single-node development chain with persistent state:

./target/release/bein --dev

Purge the development chain's state:

./target/release/bein purge-chain --dev

Start the development chain with detailed logging:

RUST_BACKTRACE=1 ./target/release/bein -ldebug --dev

Connect with Polkadot-JS Apps Front-end

Once the node template is running locally, you can connect it with Polkadot-JS Apps front-end to interact with your chain. Click here connecting the Apps to your local Bein Chain.

Multi-Node Local Testnet

If you want to see the multi-node consensus algorithm in action, refer to our Start a Private Network tutorial.

About

License:The Unlicense


Languages

Language:Rust 98.1%Language:Nix 1.3%Language:Shell 0.6%