DEV Community

Cover image for Test Defindex dApp on Testnet
Jenny T. for PaltaLabs

Posted on

Test Defindex dApp on Testnet

In this guide, you will learn how to create and manage a Vault on the Defindex ๐Ÿ” dApp Testnet, step by step. This platform allows you to strategically manage assets, interact with different investment options, and perform secure tests in a testnet environment.

To get started, visit our website
๐Ÿ‘‰๐Ÿฝ https://www.defindex.io/

Set Up Your Wallet

To begin, you need a compatible wallet. Defindex ๐Ÿ” supports Freighter, Xbull, and Lobstr wallets.

Image description

Choose one of the supported wallets and follow the instructions to connect it to the Defindex Testnet dApp.

Mint Test Tokens

If you donโ€™t have any test tokens in your wallet, you can mint them directly on the platform.

How to mint tokens?
Simply navigate to the minting page, select the amount of test tokens you wish to receive, and mint them into your wallet.

Create Vault

Once your wallet is connected and you have test tokens, you can create a new vault.

  • Click on โ€œAdd Vaultโ€: This starts the vault creation process.
  • Enter a Name and Symbol (Ticker): Choose a name and symbol for your vault. This will help you identify the vault in the future.

๐Ÿ’กTip: Keep your vault names simple and meaningful to easily differentiate them later.

Image description

Add Investment Strategies

To define how the funds in your vault will be managed, add one or more strategies:

Click on โ€œAdd Strategyโ€: Choose the strategy you want to link to your vault.

Image description

Choose Your Strategy:

  • HODL: Keep the assets long-term with no changes.
  • Blend: Mix different strategies for diversified investments.
  • Fixed: Use a pre-defined, fixed return strategy.

Image description

Configure Vault Details

Before finalizing your vault, make sure to configure the following

Review Your Strategies: Ensure the strategies linked to your vault are correct.

Image description

Manager Settings

Provide the address of the Manager and Emergency Manager.

Manager: Responsible for rebalancing the vault, making emergency withdrawals, and investing idle funds.

Image description

Emergency Manager: Has the authority to withdraw assets in case of an emergency.

Image description

Set Up Fees

Configure how the vault will handle fees:

Fee Receiver: The address that will receive the fees (could be the Manager or another entity).

Image description
Fee Percentage: Define the fee percentage, which will be deducted from the vault's earnings (recommended between 0.5% to 2% APR).

Image description

Deploy the Vault

Now that all details are configured, you are ready to deploy your vault:

Click on โ€œDeployโ€: This will generate a transaction that you need to approve.

Review Transaction Details: Before finalizing, ensure that everything is correct, such as the vault address and gas fees.

Image description

Sign the Transaction: Once reviewed, sign the transaction through your wallet to deploy the vault.

Image description

โœ… Congratulations Your vault is now deployed and ready for interaction.

Interacting with a Vault

Once your vault is deployed, you can start interacting with it:
Image description
Access the Vault: Click on the vault you want to interact with to see available options.

Image description
Select an Action:
Deposit: Add funds to the vault, which will be automatically invested based on the vault's strategy.

Image description

Emergency Withdraw: Withdraw investments from strategies and keep funds idle in the vault. (Only accessible by the Manager or Emergency Manager.)

Image description

Withdraw: Withdraw your position (dfTokens) from the vault.

Image description

View Vault Information and Add Liquidity

You can view all available vaults along with their details, such as:

Name: The vaultโ€™s name.
Address: The vault's blockchain address.
TVL (Total Value Locked): The current total value locked in the vault.
User Balance: Your balance within the vault.
Asset: The asset used in the vault (e.g., XLM, USDC).
๐Ÿ‘‰๐Ÿฝ To add liquidity, simply select the vault you want to add funds to and make a deposit.

Thank you for using our Defindex dApp on Testnet!

Weโ€™d love to hear your feedback and know how we can improve. Please take a moment to fill out this short form, which will only take a few minutes. Your input is incredibly valuable to us and will help us continue to enhance the platform.
๐Ÿ“ https://forms.gle/u8YtuXG2uc3W4jMVA

We look forward to hearing from you!

Top comments (0)