BNB Smart Chain

Build web3 dApps effortlessly

BNB Beacon Chain

Sunset soon

BNB Chain生态系统的质押和治理层

文档GitHubFaucetStake BNBBscScanBSCTraceDev ToolsLearn more about Fusion文档Beacon Chain浏览器质押BNB文档GitHubFaucet跨链桥GreenfieldScanDCellarDev Tools文档GitHubFaucet跨链桥opBNBScanDev Tools文档GitHub

开发者


Submit dApps

BNB Smart ChainBNB GreenfieldopBNBzkBNBHackathonBNB Incubation Alliance最具价值建设者加速器项目Builder GrantsKickstartGas GrantsTVL Incentive ProgramMEME Coins Innovation查看全部计划

生态

Staking

Earn BNB and rewards effortlessly

Native StakingLiquid StakingBNB Beacon Chain Native Staking

社区

联系我们Get Started
联系我们Get Started

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