Using MetaMask

What is MetaMask

From the MetaMask website, MetaMask is a crypto wallet and gateway to blockchain apps. It is available as a browser extension and as a mobile app, Metamask equips you with a key vault, secure login, token wallet, and token exchange - everything you need to manage your digital assets. MetaMask was created out of the need of creating more secure and usable Ethereum-based websites. In particular, it handles account management and connecting the user to the blockchain.
You can learn more about MetaMask from the official website metamask.io and from this video
To use Xend finance, which is a decentralized application (dApp), the Xend finance website needs to be connected to MetaMask, and since MetaMask is also a web browser extension this connection is quite straightforward to accomplish.

Set-up MetaMask

Mobile Device

To use Xend Finance from your mobile phone, you need to download the MetaMask mobile app. Go to Play Store or Apple Store and search for the MetaMask and download.
MetaMask welcome screen
Next, follow the steps on the app to set up your wallet. You can import your already existing address using your address seed phrases, you can sync your MetaMask wallet if you already set up MetaMask on your computer, or you can just create a new wallet. Choose one of these options and complete the remaining steps to finish the setup of MetaMask on your device.
MetaMask wallet home screen
You should have a similar screen to the screenshot above.
Add Binance Smart Chain Network
By default, MetaMask does not usually come with the Binance Smart Chain network, and to make use of Xend Finance we have to run it on the Binance Smart Chain network.
Click the menu icon on the top left of the app, the side drawer opens and looks similar to the screenshot below.
MetaMask side drawer
Click the "Settings" options, and choose the Network options from the list of options that shows up.
List of Networks on MetaMask
Click the Add Network button at the bottom of the page and input the values for the Binance Smart Chain network.
Adding Binance Smart Chain network values
Once you save the network, you will be able to open Xend Finance on the MetaMask mobile app.
Click the menu icon at the top left of the screen, and select the browser option and search bsc.xend.finance from the search bar.
Xend Finance

Web Browser

Open the MetaMask download page https://metamask.io/download.html and install the browser extension/plugin if your browser is a supported browser. MetaMask works on browsers like Google Chrome, Firefox, Brave, Microsoft Edge, etc.
When downloading and installation complete, a welcome page similar to the image below should open. Click the Get Started button
Welcome to MetaMask

Next, you can choose to import an already existing wallet or you can set up a new wallet. If this is your first time using MetaMask, you can just create a wallet. I am continuing with the assumption that you are creating a new wallet. Click the Create a Wallet button to continue.
Create a new wallet
You can go through the route of import your already existing wallet.

Create a new wallet

Type your password and create a wallet
Type in password and create wallet
Follow the steps that come after and save the secret seed phrase that will help in retrieving your account whenever you need it. If everything goes successfully you should see the congratulations page like the screenshot below.
Wallet successfully created
If all went well with the processes above, you should see your new wallet on MetaMask like the screenshot below.
New wallet created
You are now set to start using Xend Finance with MetaMask :)

Adding a Network

Network Details

Binance Smart Chain Mainnet
Testnet - Binance Smart Chain
Binance Smart Chain (BSC) is best described as a blockchain that runs in parallel to the Binance Chain. Because BSC is EVM-compatible, it launched with support for the rich universe of Ethereum tools and DApps. This version of Xend Finance is running on the Binance Smart Chain network because of its interoperability, fast throughput, high security, and its on-chain governance.
Field
Value
Network Name
Binance Smart Chain
Chain ID
56
Symbol
BNB
Block Explorer URL
https://bscscan.com
Binance Smart Chain (BSC) is best described as a blockchain that runs in parallel to the Binance Chain. Because BSC is EVM-compatible, it launched with support for the rich universe of Ethereum tools and DApps. This version of Xend Finance is running on the Binance Smart Chain network because of its interoperability, fast throughput, high security, and its on-chain governance.
Field
Value
Network Name
BSC Testnet
New RPC URL
https://data-seed-prebsc-1-s1.binance.org:8545/
Chain ID
97
Symbol
BNB
Block Explorer URL
https://testnet.bscscan.com

Add a network

Go to the settings page, click on Networks, and click on the "Add Network" button on options that opens up. These same steps apply to all other networks Xend Finance is deployed on like the Binance Smart Chain Mainnet.
Add network option
Fill the form that opens up with the following details and click the save button.
Fill new network form

Connect Xend Finance with MetaMask

If you have successfully saved the network, it should be among the list of networks on MetaMask, make sure Binance Smart Chain is the selected network from the list.
Added Binance Network
Now to connect the Xend Finance website with MetaMask, while you are on the Xend Finance home page https://bsc.xend.finance/ or https://testnet.xend.finance/, depending on the network you want to invest with, then, click on the MetaMask extension
Connect Xend Finance to MetaMask
After connecting to MetaMask, there could be situations where MetaMask brings up the connection modal that will look similar to the screenshot below. Select your account and proceed.
MetaMask connect notification modal
MetaMask connect notification modal
Last modified 8mo ago