-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a435e0
commit 2cc75c0
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
title: Mainnet App Guide | ||
--- | ||
|
||
\<iframe src="https\://player.vimeo.com/video/941409534?h=b6e51ff5fa" width="640" height="360" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen>\</iframe> | ||
|
||
\ | ||
Connecting to the App | ||
--------------------- | ||
|
||
1. Navigate back to [https://app.dev.opendollar.com](https://app.dev.opendollar.com/) in your browser. | ||
2. Connect your wallet by clicking the "Connect Wallet" button. | ||
3. Add "[Arbitrum One](https://chainlist.org/chain/42161)" to your wallet & switch networks. | ||
4. Click "Create Vault Facilitator" and complete the transaction, make sure you have enough gas (ETH) to process the transaction. | ||
|
||
## Creating a Vault | ||
|
||
1. Click "Create Vault". | ||
2. Select the collateral type to deposit. | ||
3. Enter the amount to deposit and how much OD to borrow. | ||
4. Click "Approve (Token)", this will initiate a transaction. | ||
5. Click "Review Transaction" to see an overview of your vault. | ||
6. Click "Confirm Transaction" to create your Open Dollar vault. | ||
|
||
## Viewing your NFVs in Metamask | ||
|
||
Once your NFV is minted, you can view it in your Metamask wallet by adding the contract. | ||
|
||
1. Open Metamask and select the NFT tab. | ||
2. Click "Import NFT". | ||
3. Input the contract address: 0x0005AFE00fF7E7FF83667bFe4F2996720BAf0B36 | ||
4. Input the Token ID, which is your your vault number without the "#" symbol. You can also find your Token ID from your vault creation transaction. | ||
|
||
![](</img/Open Dollar Vault Token ID.png>) | ||
|
||
5\. Click "Import". | ||
|
||
## More Vault Functions | ||
|
||
### Deposit collateral | ||
|
||
1. On the app page [https://app.opendollar.com/](https://app.dev.opendollar.com/#/) click on your vault. | ||
2. Click "Deposit & Borrow" at the bottom of the menu. | ||
3. Enter the amount of new collateral to deposit. | ||
4. Click "Unlock (Token)" & sign the transaction to approve adding more collateral. | ||
5. Click "Review Transaction" to preview your updated vault. | ||
6. Click "Confirm Transaction" & sign the transaction to update your Open Dollar Vault. | ||
|
||
### Borrow OD | ||
|
||
1. On the app page [https://app.opendollar.com/](https://app.dev.opendollar.com/#/) click on your vault. | ||
2. Click "Deposit & Borrow" at the bottom of the menu. | ||
3. Enter the amount of OD to borrow. | ||
4. Click "Review Transaction" to see your updated vault. | ||
5. Click "Confirm Transaction" & sign the transaction to update your vault. | ||
|
||
### Withdraw Collateral | ||
|
||
1. On the app page [https://app.opendollar.com/](https://app.dev.opendollar.com/#/) click your vault for other actions. | ||
2. Click "Repay & Withdraw" at the bottom of the menu. | ||
3. Enter how much new collateral you'll withdraw & how much OD you'll repay. | ||
4. Click "Review Transaction" to preview your updated vault. | ||
5. Click "Confirm Transaction" & sign the transaction to update your vault. | ||
|
||
### Repay OD | ||
|
||
1. On the app page [https://app.opendollar.com/](https://app.dev.opendollar.com/#/) click your vault for other actions. | ||
2. Click "Repay & Withdraw" at the bottom of the menu. | ||
3. Enter the amount of OD to repay. | ||
4. Click "Unlock OD" & sign the transaction to approve the use of your OD. | ||
5. Click "Review Transaction" to preview your updated vault. | ||
6. Click "Confirm Transaction" & sign the transaction to update your vault. | ||
|
||
### Closing a Vault | ||
|
||
1. On the app page [https://app.opendollar.com/](https://app.dev.opendollar.com/#/) click your vault for other actions. | ||
2. Click "Repay & Withdraw" at the bottom of the menu. | ||
3. Enter the total amount of collateral you have deposited into this vault. | ||
4. Enter the total amount of outstanding OD you have borrowed from this vault. | ||
5. Click "Unlock OD" & sign the transaction to approve the use of your OD. | ||
6. Click "Review Transaction" to see your updated vault. | ||
7. Click "Confirm Transaction" & sign the transaction to close your vault. |