- Introduction of Binance Smart Chain
- Use Binance Chain Extension Wallet
- What is it?
- Download Link
- Install
- Create an account in extension wallet for Binance Smart Chain
- Recover your account with Mnemonic Phrase
- Get Testnet BNB from Faucet
- Transfer Testnet BNB from BSC to BC
- Transfer Testnet BNB from BC to BSC
- Swap Testnet BEP2 token to its BEP20 equivalent
- Swap Testnet BEP20 token to its BEP2 equivalent
- Get Started with Binance Chain
- Wallet
- Chain Explorer
- REST API
- Node RPC
- Advanced Ways To Use Blockchain
- Run your own full node
- Run your own light client
- Access via Node Command Line Interface (CLI)
- Use SDKs
- Blockchain Details
- Binance Smart Chain
- What is Binance Smart Chain?
- Why is Binance Smart Chain designed as a separate chain from Binance Chain?
- How does Binance Smart Chain work? What is the architecture and consensus used?
- Can you tell more about Proof of Staked Authority(PoSA)? What is it?
- What are the benefits for developers to build on Binance Smart chain?
- What are the benefits for developers to build on Binance chain?
- How many assets are issued on Binance chain?
- What make Binance Smart Chain different?
- Binance Smart Chain is EVM-compatible. What does that mean?
- Can developers make hybrid Dapps using both Binance Chain and Binance Smart Chain in one single Dapp?
- How to query the current system parameters
- How to Run A Fullnode on Binance Smart Chain
- Fullnodes Functions
- Supported Platforms
- Minimum Requirements
- Fullnode
- Validator
- Suggested Requirements
- Fullnode
- Validator
- Settings
- Common Problems With Connectivity
- Chaindata Snapshot
- Sync Mode
- Steps to Run a Fullnode
Introduction of Binance Smart Chain
Binance Smart Chain is an innovative solution to bring programmability and interoperability to Binance Chain. Binance Smart Chain relies on a system of 21 validators with Proof of Staked Authority (PoSA) consensus that can support short block time and lower fees. The most bonded validator candidates of staking will become validators and produce blocks. The double-sign detection and other slashing logic guarantee security, stability, and chain finality.
The Binance Smart Chain also supports EVM-compatible smart contracts and protocols. Cross-chain transfer and other communication are possible due to native support of interoperability. Binance DEX remains a liquid venue of the exchange of assets on both chains. This dual-chain architecture will be ideal for users to take advantage of the fast trading on one side and build their decentralized apps on the other side. The Binance Smart Chain will be:
- A self-sovereign blockchain: Provides security and safety with elected validators.
- EVM-compatible: Supports all the existing Ethereum tooling along with faster finality and cheaper transaction fees.
- Interoperable: Comes with efficient native dual chain communication; Optimized for scaling high-performance dApps that require fast and smooth user experience.
- Distributed with on-chain governance: Proof of Staked Authority brings in decentralization and community participants. As the native token, BNB will serve as both the gas of smart contract execution and tokens for staking.
Источник
Use Binance Chain Extension Wallet
What is it?
Binance Chain Extension Wallet is a Crypto Wallet for Binance Chain, Binance Smart Chain. You can send and receive funds on Binance Chain, Binance Smart Chain and cross-chain transfers between both of Binance’s blockchains.
In the future, Binance Chain Extension Wallet will add support for Ethereum blockchain and enable access for distributed applications, or «Dapps» in your browser!
It’s supported in Firefox and Chrome browsers.
Firefox users are more likely to access the latest version timely
Download Link
Install
Example: Install Binance Chain Wallet in Firefox browser
Search for Binance Chain
Note: Make sure it’s offered by Binance Chain
- Click on “Add to Firefox”
That’s it! You have successfully installed the Binance Chain Wallet extension in Firefox!
The workflow is the same for all browsers
Create an account in extension wallet for Binance Smart Chain
- Click on “I do not own a wallet”
- Choose your own Password
Note: it has to be a strong password
Click on “Continue”
Backup your recovery phrase
Congratulations! you have created your account!
Recover your account with Mnemonic Phrase
- Install Binance Chain extension by following the previous steps
firstClick on “I own a wallet”
Type your recovery phrase and choose a strong password
Now you are all set!
Get Testnet BNB from Faucet
- Switch to Binance Smart Chain Testnet after unlock your extension wallet
- Paste your address in the box and click on “Give me BNB”
- Click on the “+” and add “BNB” token
After the transfer transaction is sent, you will see an increase in your balance
Transfer Testnet BNB from BSC to BC
- Switch to Binance Chain testnet and copy your address after unlock your extension wallet, start with tbnb1
Click on the “+” and add “BNB” token
Switch to Binance Smart Chain testnet and click on “Send”
- Click on “Send” when you have filled in other information. You have to confirm it too
- Switch back to Binance Chain Testnet to confirm this cross-chain transfer
Transfer Testnet BNB from BC to BSC
- Switch to Binance Smart Chain testnet after unlock your extension wallet and copy your address, start with 0x
Click on the “+” and add “BNB” token
Switch to Binance Chain testnet and click on “Send”
- Click on “Send” when you have filled in other information. You have to confirm it too
- Switch back to Binance Smart Chain Testnet to confirm this cross-chain transfer
Swap Testnet BEP2 token to its BEP20 equivalent
- Follow the instructions above to Install Binance Chain extension wallet if not ready
- Follow the instructions above to create or Recover your account
- Switch to Binance Chain testnet after unlock your extension wallet and Click at “+” to add your BEP2 token if necessary
Verify your balance has enough BNB to pay transfer fee
- Switch to Binance Smart Chain testnet and copy your address, start with 0x
Click at “+” to add your BEP20 token if necessary
- Switch to Binance Chain testnet and click on “Send”
- Click on “Send” when you have filled in other information. You have to confirm it too
- Switch to Binance Smart Chain testnet, you should see your BEP20 token balance change
Swap Testnet BEP20 token to its BEP2 equivalent
- Follow the instructions above to Install Binance Chain extension wallet if not ready
- Follow the instructions above to create or Recover your account
- Switch to Binance Smart Chain testnet and Click at “+” to add your BEP20 token if necessary
Verify your balance has enough BNB to pay transfer fee
- Switch to Binance Chain testnet and copy your address, start with tbnb1
Note: for mainnet, the address starts with bnb1
- Click at “+” to add your BEP2 token if necessary
- Switch to Binance Smart Chain testnet and click on “Send”
- Confirm your transaction and verify your balance change
Источник
Get Started with Binance Chain
Wallet
The easiest way to use Binance Chain is through a wallet with support for Binance Chain accounts and transfers.
For example, Binance provides a Web Wallet at https://www.binance.org
Binance also provides Web Wallet for testnet at https://testnet.binance.org
Both provide the functions below:
- Generating crypto keys and addresses, which serves as the base of a wallet
- Showing the balances of assets on the addresses
- Sending and receiving assets
Binance Chain Web Wallet also presents a trading UI similar to Binance.com, where you can examine market data and manage your orders to trade among the listed assets.
Learn about the list of wallet available here.
Chain Explorer
Chain Explorer provides a portal to explore blocks and transaction details.
On Binance Chain Explorer, you can also check different asset types, the distribution of their ownerships, and owners’ transactions.
REST API
There are Accelerated Nodes which provide advanced API services for the public.
Here is a list of all the Rest API information Accelerated Node provides: paths
Node RPC
There are data seed nodes in the network which allow users to perform low-level operations like executing ABCI queries, viewing network/consensus state or broadcasting a transaction. If you run a full node by yourself, you can also use those RPC functions. Here is a list of all the Node RPC services it provides: node-rpc
Advanced Ways To Use Blockchain
Run your own full node
Please refer to this guide about how to run your own node.
Run your own light client
Please refer to this guide about how to run your own light client.
Access via Node Command Line Interface (CLI)
A Command Line Interface is available for Linux and Mac platforms.
Please refer to the CLI Reference.
Use SDKs
SDKs are also provided as a starting point for your apps.
There are two advanced SDK solutions for Binance chain: Java and Golang.
Both solutions provide functions for:
- Create wallets and manage keys
- Encode/sign transactions and submit to Binance Chain/DEX, including Transfer, New Order, Cancel Order, etc.
- Communicate with Binance Chain/DEX Node RPC calls through public node RPC services or your own private full nodes
Please refer to specific SDK documentation for more information:
Blockchain Details
Please check the technical details for more technical information.
Источник
Binance Smart Chain
What is Binance Smart Chain?
Binance Smart Chain brings EVM-compatible programmability and native cross-chain communication with Binance Chain using an innovative consensus of Proof of Staked Authority(PoSA)
Why is Binance Smart Chain designed as a separate chain from Binance Chain?
The execution of a Smart Contract may slow down the exchange function and add non-deterministic factors to trading. Even if that compromise could be tolerated, it might be a straightforward idea to introduce a new Virtual Machine specification based on Tendermint, based on the current underlying consensus protocol and major RPC implementation of Binance Chain. But all these will increase the learning requirements for all existing dApp communities, and will not be very welcomed.
How does Binance Smart Chain work? What is the architecture and consensus used?
Binance Smart Chain relies on a system of 21 validators with Proof of Staked Authority (PoSA) consensus that can support short block time and lower fees.
There will be fewer validators on Binance Smart Chain testnet.
Can you tell more about Proof of Staked Authority(PoSA)? What is it?
PoSA is a combination of PoA and PoS. Blocks are produced by a limited set of validators, they are elected in and out based on a staking based governance. Validators take turns to produce blocks in a PoA manner
What are the benefits for developers to build on Binance Smart chain?
- EVM-compatible: Binance Smart Chain supports all the existing Ethereum tooling Fast block time, cheaper cost
- Native cross-chain trasfer & communication: Binance DEX remains a liquid venue of exchange of assets on Binance Chain and Binance Smart Chain»
What are the benefits for developers to build on Binance chain?
Binance Chain opens the gate for users to take advantage of the fast transferring and trading
How many assets are issued on Binance chain?
There are already 140 assets on Binance Chain
The introduction of BEP8 is an innovative way for tokenization of properties
What make Binance Smart Chain different?
Native Cross-Chain Communication
Expand the use cases of BNB token
Binance Smart Chain is EVM-compatible. What does that mean?
EVM means Ethereum Virtual Machine. Any smart-contract written to run in EVM can be easily ported to Binance Smart Chain.
Can developers make hybrid Dapps using both Binance Chain and Binance Smart Chain in one single Dapp?
Yes, with the help of native cross-chain functions
How to query the current system parameters
minimium delegate amount: 1BNB
Источник
How to Run A Fullnode on Binance Smart Chain
Fullnodes Functions
- Stores the full blockchain history on disk and can answer the data request from the network.
- Receives and validates the new blocks and transactions.
- Verifies the states of every accounts.
Supported Platforms
We support running a full node on Mac OS X and Linux .
Minimum Requirements
The hardware must meet certain requirements to run a node.
Fullnode
- VPS running recent versions of Mac OS X or Linux.
- 1T GB of free disk space, solid-state drive(SSD).
- 8 cores of CPU and 16 gigabytes of memory (RAM).
- A broadband Internet connection with upload/download speeds of at least 1 megabyte per second
Validator
- VPS running recent versions of Mac OS X or Linux.
- 1T GB of free disk space, solid-state drive(SSD).
- 8 cores of CPU and 16 gigabytes of memory (RAM).
- A broadband Internet connection with upload/download speeds of at least 1 megabyte per second
Suggested Requirements
Fullnode
- VPS running recent versions of Mac OS X or Linux.
- 1T GB of free disk space, solid-state drive(SSD).
- 8 cores of CPU and 32 gigabytes of memory (RAM).
- A broadband Internet connection with upload/download speeds of 5 megabyte per second
Validator
- VPS running recent versions of Mac OS X or Linux.
- 2T GB of free disk space, solid-state drive(SSD).
- 8 cores of CPU and 32 gigabytes of memory (RAM)
- Suggest m5zn.2xlarge instance type on AWS, or c2-standard-8 on Google cloud.
- A broadband Internet connection with upload/download speeds of 10 megabyte per second
Settings
Common Problems With Connectivity
Sometimes you just can’t get synced. The most common reasons are as follows:
You have started geth without the discovery protocol, you can set the —nodiscover parameter to False . You only want this if you are running full node with fixed nodes.
Geth also supports a feature called static nodes if you have certain peers you always want to connect to. Static nodes are re-connected on disconnects. You can configure permanent static nodes by putting something like the following into /geth/static-nodes.json :
You can also add static nodes at runtime via the js console using admin.addPeer():
Geth supports trusted nodes that are always allowed to reconnect, even if the peer limit is reached. They can be added permanently via a config file /geth/trusted-nodes.json or temporary via RPC call.
Chaindata Snapshot
Please download the chain data snapshot and extract to your home folder to speed up
Sync Mode
The default sync mode. Synchronizes a full node doing a fast synchronization by downloading the entire state database, requesting the headers first, and filling in block bodies and receipts afterward. Once the fast sync reaches the best block of the Binance Smart Chain network, it switches to full sync mode.
Synchronizes a full node starting at genesis, verifying all blocks and executing all transactions. This mode is a bit slower than the fast sync mode but comes with increased security.
Steps to Run a Fullnode
1.Build from source code
Make sure that you have installed Go 1.13+ and have added GOPATH to PATH environment variable
or you can download the pre-build binaries from release page or follow the instructions below:
Источник