PsyFinance
Searchโ€ฆ
Devnet Tutorial
Here are some handy tutorials on using the PsyFinance Devnet Vaults. Please not there are slightly different tutorials for V1 and V2 vaults.

Faucets

Need some Devnet tokens to play around? Use our faucets to get airdropped SOL and USDC!
  1. 2.
    Click 'Airdrop 2 SOL' so you can get some SOL tokens to pay for transactions.
  2. 3.
    Click 'Airdrop 1000 USDC' and approve transaction so you can get some USDC to use in the vaults!
  3. 4.
    Have fun!

Adding Funds To V1 Vaults

There are two different timings when users can add funds to the Vault - before options are minted (before an epoch), or while options are minted (during an epoch).

Depositing Funds Before an Epoch

  1. 1.
    Simply visit devnet.psyfi.io and connect with your wallet.
  2. 2.
    Ensure you have sufficient funds in your wallet by following instructions to airdrop Devnet USDC and SOL from the Faucets section above.
  3. 3.
    In the USDC-PUT-BTC Vault tab, click "Create Token Accounts" if you have not already done so previously, and approve the transaction.
  4. 4.
    Enter how much USDC you want to deposit into the vault and click "Deposit USDC", and approve the transaction.
  5. 5.
    Upon successful deposit of funds, you will receive PsyFinance vault tokens that is proportional to your holdings in the vault.

Depositing Funds During an Epoch

  1. 1.
    Since options are minted at the start of each epoch, if you want to deposit in the middle of an epoch, you can do so using a deposit receipt. Funds deposited will be used in the subsequent epoch's strategy and start earning yield from the next epoch.
  2. 2.
    Click "Create Token Accounts" if you not already done so previously and approve the transaction.
  3. 3.
    Then click "Create Deposit Receipt" to create a deposit receipt and approve the transaction.
  4. 4.
    Enter how much USDC you want to deposit, click "Deposit USDC" and approve the transaction. Upon successful depositing of funds, your pending deposits will show up on the dashboard.
  5. 5.
    Anytime after the current epoch ends, you can come back and swap your deposit receipts for PsyFinance vault tokens by clicking "Exchange Deposit Receipt" and approving the transaction. Don't worry, even if you don't exchange the deposit receipts for months at a time, your funds will still be earning yield through the options strategies!

Removing Funds From V1 Vaults

Similarly, there are two different scenarios when users can remove funds from the Vault, before options are minted (before an epoch), or while options are minted (during an epoch).

Withdrawing Funds Before an Epoch

  1. 1.
    Enter how much USDC you want to withdraw from the vault, click "Withdraw Tokens", and approve the transaction.
  2. 2.
    Upon successful withdrawal of funds, you will receive PsyFinance vault tokens that is proportional to your holdings in the vault.

Withdrawing Funds During an Epoch

  1. 1.
    Since options are minted at the start of each epoch, if you want to withdraw in the middle of an epoch, you can do so using a withdrawal receipt.
  2. 2.
    Then click "Create Withdrawal Receipt" to create a withdrawal receipt and approve the transaction.
  3. 3.
    Enter how much vault tokens you want to withdraw, click "Withdraw Tokens" and approve the transaction. Upon successful withdrawal of funds, your pending withdrawals will show up on the dashboard. These funds will not be used in the subsequent epochs options minting cycle.
  4. 4.
    Anytime after the current epoch ends, you can come back and swap your withdrawal receipts for USDC (and BTC if options are exercised) by clicking "Exchange Withdrawal Receipt" and approving the transaction. Don't worry, even if you don't exchange the withdrawal receipts for months at a time, your funds will be safe!

โ€‹

Copy link
On this page
Faucets
Adding Funds To V1 Vaults
Removing Funds From V1 Vaults