Mint and Deposit NFTs

Vault Introduction

What is a Vault?

The Asset Vault is a holding contract that functions as a safe storage mechanism for one or multiple compatible assets. Vaults enable users to deposit multiple assets as collateral and take out a single loan against a Vault.

To learn more about Vaults, see Vault FAQ.

Create & Deposit

In order to create and deposit into a Vault, Arcade.xyz users should proceed through the below steps:

  1. After connecting a wallet to application, users should navigate to the Borrow Page. Users should select Create Vault to start the process.


  1. A wallet modal will immediately pop up to prompt the user to confirm a contract interaction to create a Vault (Function: Initialize Bundle). Users should confirm this on chain transaction to proceed.

📘

Protocol Function

Initialize Bundle: This function will create a Vault. This will create a Vault specific to the connected wallet. This will also mint an ERC721 token to represent the user's ownership of the Vault. This transaction will appear in the connected wallet's transaction history.



  1. Once the transaction confirmed, a notification will appear in the app confirming that the on chain transaction is in progress.


  1. After the transaction is complete, another notification confirming completion will appear in the app. The Vault is now created!
    An ERC721 representative token for the Vault has been also sent to the connected wallet.


  1. Users can now view the newly created Vault by clicking the Vault Actions button on the Vault Management screen.


  1. To deposit into the Vault, users should select the Vault Actions button on the Borrow page. The user should then Select Deposit Collateral within the Vault Detail screen.


  1. Selecting deposit on the detail screen will bring up the Deposit modal with the verified NFTs held in the user's connected wallet.
    Users should select the NFT that they would like to deposit into their Vault.


  1. After selecting an NFT to deposit, a wallet prompt to confirm and initiate a Safe Transfer From to securely transfer the NFT to the Vault will pop up.
    Users should hit confirm to initiate the transaction.

📘

Protocol Function

Safe Transfer From() function is used to safely transfer the NFT from the owner's account to the recipient account.



  1. After confirming, the transaction will initiate and a notification will appear in the app to confirm that the transaction is in progress.


  1. A notification will appear once the transaction is complete on chain. The NFT has now been successfully transferred to the Vault!

📘

Depositing Multiple NFTs into a Vault

Users must repeat the deposit process outlined above in order to deposit multiple NFTs into their Vault.