Skip to main content

BNB Smart Chain FAQs

Where can I find BNB Smart Chain code? Is there a GitHub repository?

The codebase of BSC is open-sourced here:

What are BNB Smart Chain's official communication channels?

Wallet support for BNB Smart Chain

What are the benefits for developers to build on BNB Smart Chain?

  • EVM-compatible: BNB Smart Chain supports all the existing Ethereum tooling

  • Fast Finality: Fast block time

  • Cheaper Cost

  • Native cross-chain transfer & communication

BNB 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 BNB Smart Chain.

How to query the current system parameters

bnbcli  params side-params  --side-chain-id=bsc   --node  http://dataseed4.bnbchain.org:80   --chain-id=Binance-Chain-Tigris --trust-node --output=json
  • minimum self-delegated amount: 2000BNB

  • minimium delegate amount: 1BNB

  • Unbonding time: 7 days

  • offline Unjail fee: 1BNB

  • offline jail time: 2 day

  • offline slashing amount: 50BNB

  • Double-sign slashing amount: 10000BNB

  • Cross-chain relay fee: 0.004 BNB

Which dApps are deployed on BSC?

Refer to here to learn about the different projects deployed on BSC.

What to do if I transferred funds to the exchange wallet but the exchange doesn't support the BSC chain?

Please be careful while doing transactions to other exchanges to check if they support or accept deposits through BSC or not. The confirmed transaction on the blockchain cannot be reverted as we also don't have any access to the wallet address.

What to do in case of a wrong network withdrawal issue?

Please try to use the wallet app which supports both BSC and ETH networks in it. So that you can access any network with the same address and transfer your funds out of the wrong network.

What to do in case of a Missing memo or wrong memo?

Please try to contact the support of the receiver address to help with the deposit. If it's an exchange wallet address then contact them with the correct memo.

How to connect Metamask to BNB Smart Chain?

Please refer here

How can I report a scam/rug pull?

If you meet any potential Scams, Phishing, Rug Pulls, and Hacks, please report through this portal - Coinholmes

Coinholmes.com is supported by the Peckshield team (A professional security company)

How to apply for Pioneer Burn Refunding?

The self-service window for BNB Pioneer Burn Program is now live. Eligible users who lose tokens as part of mistakes they made while making transactions on BNB Smart Chain can access this page and fill in the application form. We will investigate your case and help retrieve the assets if your case is qualified for the Program.

How to gracefully shut down BSC node when running as a system service?

Basically, bsc node can be shutdown gracefully, it could take around 15 seconds in general. But sometimes, some nodes failed to graceful shutdown due to the incorrect use of this flag: --history.transactions 0, if you just upgrade from v1.2.x to v1.3.x, please notice that --txlookuplimit has been replaced by --history.transactions since v1.3.x. Reference

Here is the service file and script that can be used to start/stop bsc node, for your reference.

bsc.service

[Unit]
Description=bsc
After=network.target

[Service]
Type=simple
User=root
Group=root
ExecStart=/server/node/chaind.sh -start
ExecReload=/server/node/chaind.sh -restart
ExecStop=/server/node/chaind.sh -stop
PrivateTmp=true
Restart=always
LimitNOFILE=500000
RestartSec=5
TimeoutStopSec=120
StartLimitInterval=0

[Install]

And /server/node/chaind.sh file:

#!/bin/bash
export GOGC=100

function startChaind() {
workspace=/server/node
${workspace}/bsc --cache 18000 --history.transactions 0 --datadir ${workspace}/ --config ${workspace}/config.toml >> ${workspace}/bscnode.log 2>&1
}

function stopChaind() {
pid=`ps -ef | grep /server/node/bsc | grep -v grep | awk '{print $2}'`
if [ -n "$pid" ]; then
kill -TERM $pid
for((i=1;i<=40;i++));
do
pid=`ps -ef | grep /server/node/bsc | grep -v grep | awk '{print $2}'`
if [ -z "$pid" ]; then
break
fi
sleep 10
done
fi
}

CMD=$1

case $CMD in
-start)
echo "start"
startChaind
;;
-stop)
echo "stop"
stopChaind
;;
-restart)
stopChaind
sleep 3
startChaind
;;
*)
echo "Usage: chaind.sh -start | -stop | -restart .Or use systemctl start | stop | restart bsc.service "
;;
esac

How to enable periodic log deletion function in config.toml?

From config.toml, add MaxBackups in Node.LogConfig. MaxBackups means the log file that would be retained, by default it would be 0, which means there is no limitation. If set MaxBackups = 240, only logs of the most recent 240 hours(10 days) would be kept, since the default rotate time is 1 hour. Reference

Example

[Node.LogConfig]
FileRoot = ""
FilePath = "bsc.log"
MaxBytesSize = 10485760
Level = "info"
MaxBackups = 240