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.
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.
- 3.Click 'Airdrop 1000 USDC' and approve transaction so you can get some USDC to use in the vaults!
- 4.Have fun!
- 5.
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).
- 1.
- 2.Ensure you have sufficient funds in your wallet by following instructions to airdrop Devnet USDC and SOL from the Faucets section above.
- 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.Enter how much USDC you want to deposit into the vault and click "Deposit USDC", and approve the transaction.
- 5.Upon successful deposit of funds, you will receive PsyFinance vault tokens that is proportional to your holdings in the vault.
- 6.
- 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.Click "Create Token Accounts" if you not already done so previously and approve the transaction.
- 3.Then click "Create Deposit Receipt" to create a deposit receipt and approve the transaction.
- 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.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!
- 6.
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).
- 1.Enter how much USDC you want to withdraw from the vault, click "Withdraw Tokens", and approve the transaction.
- 2.Upon successful withdrawal of funds, you will receive PsyFinance vault tokens that is proportional to your holdings in the vault.
- 3.
- 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.Then click "Create Withdrawal Receipt" to create a withdrawal receipt and approve the transaction.
- 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.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!
- 5.
Last modified 1yr ago