# 开始一笔贷款

要开始一笔贷款，贷方可以探索 Arcade.xyz 借贷市场。此部分显示已验证集合中的 Vault 或 NFT，可以立即与资产所有者的设定条款匹配。贷方还可以对已验证集合中的 Vault 或 NFT 提供特定的报价。

Arcade 协议支持以所有 ERC20 代币作为提供资金。 Arcade.xyz 应用程序目前支持 ERC20 代币的资金有 - wETH和稳定币 USDC。

<figure><img src="https://files.readme.io/bf17478-Loan_Inception.png" alt=""><figcaption></figcaption></figure>

1.连接资金钱包后，贷方应导航到应用程序中的 Lend 以查看借贷市场。然后，贷方可以在此处从已验证的集合中选择 Vault 或 NFT。<br>

<figure><img src="https://2793167287-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgS7UuMnwVpqW880IVvAb%2Fuploads%2FluuQrzMhBMyI2dGD8Isl%2Fimage.png?alt=media&#x26;token=a9120da2-b23a-452f-a0d1-c60ad37b80f5" alt=""><figcaption></figcaption></figure>

2\. 单击 Vault 或单个 NFT 上的查看详细信息将显示一个界面，包括：

* 有关支持贷款的 Vault 或 NFT 的信息
* 资产所有者设置的贷款条款，包括本金、还款金额、贷款期限和年利率。
* 资产报价<br>

  <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><mark style="color:blue;"><strong>协议方法：Initiating a Loan</strong></mark></p><p>资金本身需要两个钱包交易，一个是批准使用资金代币（功能：批准），另一个是使用钱包地址签名的贷款详细信息（Function: Contract Interaction）。协议使用这两个批准来初始化贷款。</p></div>

3\. 一旦贷方确定了 Vault 或 NFT 并准备立即为贷款提供资金，他们应该选择签署的条款。然后会出现一个弹框模式，要求确认对 ERC20 资金代币的访问（Function type: Approve）以及将从钱包中提取以资助贷款的对应代币数量。在钱包中确认链上交易后，应用程序中将出现待处理通知。

{% hint style="info" %} <mark style="color:blue;">**协议方法**</mark>

Approve: 使协议能够从连接的钱包中提取代币类型。
{% endhint %}

<figure><img src="https://files.readme.io/ecfe90b-Start_a_Loan_02.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.readme.io/7fdf207-Start_a_Loan_03.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.readme.io/6578f2b-Start_a_Loan_04.png" alt=""><figcaption></figcaption></figure>

4\. 链上代币消费通过后，应用中会出现成功通知。然后，用户必须在 Vault 或 NFT 界面的应用程序中点击 Start Loan。这将提示另一个钱包交易（Function Type: Contract Interaction）进行确认。

{% hint style="info" %} <mark style="color:blue;">**协议方法**</mark>

Initialize Loan: 这会将代币从协议转移到借款人，并用协议启动资产托管的转移过程。
{% endhint %}

<figure><img src="https://files.readme.io/40a69c1-Start_a_Loan_05.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.readme.io/73e9ee7-Start_a_Loan_06.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.readme.io/a80a182-Start_a_Loan_07.png" alt=""><figcaption></figcaption></figure>

5\. 确认后，应用程序将显示链上交易待处理的通知。链上交易完成后，应用中会出现成功通知。

<figure><img src="https://files.readme.io/bcf9e90-Start_a_Loan_08.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.readme.io/8fad7fd-Start_a_Loan_09.png" alt=""><figcaption></figcaption></figure>

6\. 成功通知后，贷款将开始。代币将通过协议转移给借款人，并生成贷方票据（ERC271）以代表贷方的贷款方。交易完成后，贷方可以导航到Loans > My Loans界面，贷款应显示为生效中（Active）。

<figure><img src="https://files.readme.io/347ddc5-Start_a_Loan_10.png" alt=""><figcaption></figcaption></figure>
