# PC version

## 1.Add metamask plug-in and BSC Mainnet

### 1.1 Add metamask plug-in

You can downlaod  metamask from here (<https://metamask.io/>)   or add it from the Chrome webapps store

### 1.2 Add BSC Mainnet

Step 1: click the network switch button above and select custom RPC to enter the network settings;

Step 2: input network information and click save

BSC mainnet information

Network Name: (user-defined, easy to identify) BSC mainnet

New RPC URL: <https://bsc-dataseed1.binance.org> :443

Chain ID: 56

Symbol: BNB

Block browser URL：<https://bscscan.com/>

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7F8fEhrWOsqNym5%2F0.png?generation=1624023795924232\&alt=media)

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7F9p8lQtWAWCk1W%2F1.png?generation=1624023795930027\&alt=media)

## 2.How to generate  Bai

How to generate Bai?  depoist  assets to  generate Bai  using "Vaults". Click the link below to enter the Bai borrow main page.

[https://app.bakerfi.com/borrow](https://app.bakerfi.com/borrow/)[/](https://app.bakerfi.com/borrow/)

### 1.connect to metamask Wallet

1.1 Enter the home page, click \[connect a wallet] and choose  \[metamask]  for exmaple in the drop-down menu.

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FAFmdGny9jWEYL%2F2.png?generation=1624023795933189\&alt=media)

### 2.  collateralize and borrow Bai

2.1 enter the borrow page, and click the \[add] button to enter the  asset borrow

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FBXICpSdAT5-hZ%2F3.png?generation=1624023795916234\&alt=media)

2.2  select the asset you want to collateralize and click continue

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FCBp12qXrVwMNf%2F4.png?generation=1624023796567481\&alt=media)

2.3 Enter the Vault initialization page and click the approve button to approve

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FD-kls3izXWhQ-%2F5.png?generation=1624023795916726\&alt=media)

2.4 Wait for the initialization vault to  complete, and  click continue

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FEIKsW6uZctCzc%2F6.png?generation=1624023795956589\&alt=media)

2.5 Enter the number of assets you want to collateralize and the number of Bai you want to generate, and click continue&#x20;

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FFg9n-jUp7rmAK%2F7.png?generation=1624023795917395\&alt=media)

2.6 After confirming the details of the vault, click  \[open vault] button

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FGpLIfXxehr7NW%2F8.png?generation=1624023795952128\&alt=media)

2.7 After  the creation of the vault, click the \[exit] button to complete the creation of the vault to see your valut data.

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FHpZEG6YG2266c%2F9.png?generation=1624023795941227\&alt=media)

2.8 The created vault is shown below

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FIVBpROT6rKr-P%2F10.png?generation=1624023795929557\&alt=media)

## 3.Valut : deposit, withdrawal, payback and generation of Bai&#x20;

For created vaults, you can continue to deposit, withdraw , repay and generate BAI.

### 1.deposit&#x20;

1.1 Click the depoist button

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FJ1VHGJsGqu6MO%2F11.png?generation=1624023795960873\&alt=media)

1.2 Enter the amount you want to deposit, and finish the transaction on metamask wallet.

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FKd0M_pxBfYFvg%2F12.png?generation=1624023795952563\&alt=media)

1.3 After successful deposit, you can genterate more Bai

### 2.pay back&#x20;

2.1 Click the payback button to repay

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FLLxNSU96c0S1e%2F13.png?generation=1624023795994899\&alt=media)

2.2 Enter the amount you want to repay, open the approve button and click repay

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FM6-_34TjqnrdA%2F14.png?generation=1624023795959114\&alt=media)

2.3 After the repayment , the Bai of your corresponding amount will be deducted

### 3. generate BAI&#x20;

3.1 Click the generate button

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FNtM28Ouv0-k51%2F15.png?generation=1624023796006402\&alt=media)

3.2 Enter the number of Bai you want to generate&#x20;

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FOxtVikQDy2He0%2F16.png?generation=1624023795952766\&alt=media)

3.3 After generating , you will get the corresponding number of Bai

### 4.withdraw your assests

4.1 Click the withdraw button&#x20;

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FPLKyZw3HTVGu7%2F17.png?generation=1624023795982667\&alt=media)

4.2 Enter the ammount to withdraw

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FQYq0-gwLDdG2g%2F18.png?generation=1624023795968040\&alt=media)

4.3 After withdraw, your assets will be transferred from the Vault to your wallet.

## 4.View vault history transactions

In the vault history below, click the transaction hash to view the data on chain explorer .

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FRAd3S-K7Pwa8m%2F19.png?generation=1624023795956693\&alt=media)

## 5. add  Bai token to  your wallet&#x20;

1.1 In the metamask plug-in, click the 【Add Token】 button at the bottom

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FSoU4zdFctCEmI%2F20.png?generation=1624023795948550\&alt=media)

1.2 Enter token contract address：[0xd39b64fa868f5c0b505bce73fb416f5aa442a8c9](https://bscscan.com/token/0xd39b64fa868f5c0b505bce73fb416f5aa442a8c9)，Click Next。

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FT3yS8RouYHkby%2F21.png?generation=1624023796058873\&alt=media)

1.3 Click \[Add Token]。

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FUS0KWIVco2Y5Q%2F22.png?generation=1624023795933167\&alt=media)

1.4 Return to the home page to see the amount of Bai。

![图片](https://1381830365-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fbakerdao%2F-McT_xQHTWiWq_Aq9bp3%2F-McUM7FVczOako_flpPI%2F23.png?generation=1624023795925109\&alt=media)
