Trade Box
The trade box is where all the (trans)actions happens. Here, you can directly mint, approve, deposit, claim, or withdraw any assets or shares from the HODL Protocol platform.
Last updated
The trade box is where all the (trans)actions happens. Here, you can directly mint, approve, deposit, claim, or withdraw any assets or shares from the HODL Protocol platform.
Last updated
We are currently experiencing issues with MetaMask wallets not updating their status immediately. If you're using this wallet, please reload the page after each transaction to ensure that the changes are reflected in the view.
The trade box is divided into two main stages—Deposit and Withdraw. Each stage corresponds to a basic step in the trading process, however, each stage requires a number of sub-tasks necessary for its completion. You will also find the Connect Wallet button on the header of the page, you can read about it on the overview page here.
In order to start trading with our strategies on Testnet, you will first need to obtain some ETH (to process the transactions) and USDC (to use as collateral). We have made this super easy—just tap on Let's go to get an allocation of both tokens right into you wallet.
In the context of Arbitrum Sepolia, minting involves creating or generating tokens on the blockchain. During this step, you will mint tokens that imitate USDC. These tokens have no real-world value but are provided to help you practice and experiment with strategies in a risk-free environment.
If it's your first time using the Arbitrum Sepolia chain, we’ll also provide a small amount of ETH to cover gas fees, ensuring a smooth testing experience.
Lastly, on this step you will see "Add the USDC Symbol to your wallet"—after approving this action on your wallet, you will be able to see the USDC you just minted directly in your wallet under "Tokens".
The next step is Approve, where you grant the HODL Protocol contract permission to access specific assets directly from your wallet. You can approve as much or as little as you prefer, giving you control over your asset usage.
In the context of smart contracts, approving involves authorizing a contract to spend or manage your tokens on your behalf. This process is essential for enabling the contract to execute functions, such as trading or transferring tokens, without requiring your explicit approval for every transaction.
In this specific case, you will be approving the contract to use the USDC you previously minted, allowing HODL Protocol to interact with these tokens according to the selected strategy while keeping control over the amount you have authorized. We always recommend approving the amount you will be depositing in the next step.
The Deposit step is where you can open a position in the strategy, receiving 'shares' in the form of tokens in exchange for your USDC.
After you have approved an amount, you'll be able to deposit up to that amount of USDC into the strategy, receiving an equivalent amount of shares (or 'moBTC', in the above example) in return. Before proceeding with the deposit, you'll be able to see the number of shares you'll receive for the amount you've selected.
There is also a 'MAX' button, which, when clicked, will automatically set the maximum amount you are allowed to deposit. This could be the maximum amount available in your wallet, the maximum amount you've approved, or the maximum allowed by the contract.
Once you've deposited the approved amount, you'll need to grant permission again if you wish to use additional assets.
After depositing, you'll need to wait for one epoch to claim your shares. An epoch lasts 4 hours, but the exact waiting time depends on when you make the deposit. If you deposit just before an epoch ends, you'll be able to claim your shares sooner, as the next epoch will begin shortly.
The Claim Shares step is straightforward. If you have shares available for claiming, you'll see the amount along with the token's symbol (e.g., moBTC). Simply click the "Claim all shares" button, and the tokens will be transferred directly to your wallet.
To see the shares reflected in your wallet, you'll need to add the token manually. You can do this easily by clicking the "Add the moBTC Symbol to your wallet" text.
The Withdraw step allows you to close your position in the strategy, receiving back the token you previously deposited—in our example, USDC—in exchange for your shares.
Withdrawing is similar to depositing. Simply input the amount of token (USDC) you wish to withdraw or click the "MAX" button to exchange all your shares. The equivalent amount of token will be displayed below the input field.
After initiating a withdraw, you'll need to wait for one epoch to claim your assets. An epoch lasts 4 hours, but the exact waiting time depends on when you make the withdraw. If you withdraw just before an epoch ends, you'll be able to claim your assets sooner, as the next epoch will begin shortly.
The Claiming Assets step is very similar to Claiming Shares. If you have assets available for claiming, you'll see the amount along with the USDC symbol. Simply click the "Claim All Assets" button, and the tokens will be transferred directly to your wallet.
Next, we recommend reviewing the Positions and the Transaction History sections. These two sections provide valuable insights into your current positions and movements within the strategy, helping you better understand your activity.