Blockchains

BNB Smart Chain

Créez des dApps Web3 sans effort

BNB Beacon Chain

Sunset soon

Couche de gouvernance et de staking de l’écosystème de BNB Chain

DocumentationGitHubFaucetStake BNBBscScanBSCTraceDev ToolsLearn more about FusionDocumentationExplorer Beacon ChainStake BNBDocumentationGitHubFaucetPasserelleGreenfieldScanDCellarDev ToolsDocumentationGitHubFaucetPasserelleopBNBScanDev ToolsDocumentationGitHub

Développeurs

Développeurs

Commencez à bâtir sur BNB Chain

Commencer à créer
Développeurs
BNB Smart ChainBNB GreenfieldopBNBzkBNBTrading Volume Incentive ProgramDAU Incentive ProgramTVL Incentive ProgramLancementProgramme d’accélération MVBAides pour les buildersSpace BMEME Innovation ProgramVoir tous les programmes
Nous contacterCommencer à créer
Nous contacterCommencer à créer

What is wBNB?

2020.9.14  •  3 min read
Blog post image.

wBNB is "wrapped BNB"

DISCLAIMER

Please note that all projects and dApp applications running on the Binance Smart Chain are independently developed by third-party developers. They are not audited by Binance official team.Binance Smart Chain is an entirely open-source and open community, which means everyone and all project parties can participate. All opportunities and risks also exist at the same time. You need to identify and prevent risks carefully. This is also the charm of the DeFi world.

BNB Token

BNB is the native currency built on the Binance Smart Chain.

ALT Tokens

When a dApp (decentralized app) is built off of the Binance Smart Chain, it usually implements its own form of Token. Think Band’s BAND Token, or Chainlink LNK Token.

BEP20 Standard

BEP20 is a standard allowing any tokens on Binance Smart Chain to be used by other applications: from wallets to decentralized exchanges in a consistent way. wBNB follows BEP20 standard except that there is no owner(). Besides, this standard interface also extends ERC20 to facilitate cross chain transfer. https://github.com/binance-chain/BEPs/blob/master/BEP20.md

Why do you need wBNB?

  • BNB doesn't conform to BEP20 Standard: BNB and BEP20 tokens are designed to achieve different purposes.
  • Wrapped BNB can be traded directly with alt tokens: wBNB can also be converted back.


wBNB in Binance Smart Chain

How to wrap your BNB

Here is an example of testnet.

Please wrap and unwrap a small amount of BNB before wrap a large amount
  1. Go to https://testnet.bscscan.com/address/0xae13d989dac2f0debff460ac112a837c89baa7cd#code
  2. Click on “Write Contract”
  3. Click on “Connect to Web3”
  4. Approve this connection and verify your address
  5. Click on “Add Token‘ and fill in the toke info

Confirm add token


Convert BNB to wBNB

  1. Call “Deposit” function

Fill in your deposit amount and click on “write”


2. Confirm your transaction on MetaMask

Wait for the change of your balance

Send wBNB

  • You can call “transfer” function of the contract

Please note the unit for amount is in Wei

  • Send from MetaMask

Withdraw wBNB to BNB

  1. Call “withdraw” function of the contract

2. Confirm this transaction

3. Wait for balance change

Share