Non-blocking storage with APY
How to integrate your dApps with HERE
Last updated
How to integrate your dApps with HERE
Last updated
dApps must do a lot of transactions and have liquidity at every point in time. That's why they cannot use stacking. Liquid stacking with withdrawal fees is not profitable either. You will have to pay 0.3-0.5% of the amount for each transaction. That's more than the potential income from staking.
In this case, liquid steaking HERE might be a very good solution. You can to keep the entire balance of your dApps on your HERE contract, use it at any time, and still earn passive income.
This works because we have part of the balance of all users and dApps free for instant use. You can read more in the HERE Storage section
Contract NEAR: storage.herewallet.app
Cash in: call storage_deposit()
and attach NEAR
Withdraw: call storage_withdraw(amount, to_account_id)
use to_account_id=None to withdraw NEAR
use to_account_id=bob.near to send NEAR from dApp to bob.near account
Get dividends: receive_dividends(to_account_id)
use to_account_id=None to withdraw dividends to dApp account
use to_account_id=dappowner.near to withdraw dividends from HERE to owners account
Let's look at an example of how HERE uses the game app. Users can deposit, play and withdraw at any time. At the same time there are usually 3-4k NEAR on the balance of the dApp and the owners could earn additional income.
Now after the deposit all the NEAR will be immediately transferred to the HERE storage and begin to bring income
You can now withdraw funds from your HERE balance directly to users. For them it will be a usual transaction from your dApp
Call these methods to get dividends on your HERE account. After that you can withdraw them by turning them into a regular NEAR
the cost of gas using the HERE Wallet
withdrawal
7 TGas
deposit
6 TGas
receiving dividends
7 TGas
Let's calculate the economics of the project using the game as an example. there is
$100,000 on the contract
10 000$ daily turnover
200 transactions a day
Then
daily gas cost: 2600 TGas ~ 0.00000000026 NEAR
daily dividends: ~1.3 - 2.5N = 8.2 - 15$
annual profit: 2993-5475$ **
** The interest rate depends on the ratio of balance to turnover and on the terms of the collaboration and will vary from 3% to 9% APY. Text [email protected]
to get the best terms for your project.
ā
ā
ā