Testing Guide
Consider the similar operation guides for integrated tokens in the future, so we take ATOM as an example to demonstrate the guide in the StaFiHub rToken App.
Before testing, please make sure that you have installed Keplr wallet. If not, please download/install and follow the instructions to import your StaFi and Cosmos account.

Get Test FIS/ATOM/IRIS/HUAHUA

1.Join StaFi Faucet: https://discord.gg/SkTFbwjyMM
2.On the faucet group, reply !faucet send + Account
Example:
1)ATOM: !faucet send cosmos15wu5sxpvswyare3x65d3hlatmlptne735hjdyg
2)FIS: !faucet send stafi15wu5sxpvswyare3x65d3hlatmlptne730uz8ss
3)IRIS: !faucet send iaa15wu5sxpvswyare3x65d3hlatmlptne73p4juxe
4)HUAHUA: !faucet send chihuahua15wu5sxpvswyare3x65d3hlatmlptne73hzlr92
Note:
1)Each Discord account can receive 1 airdrop within 24 hours.
2)Each address can only receive airdrop for 1 time.
3)The maximum daily distribution of airdrops is 10 FIS/ATOM/IRIS, 1000HUAHUA.

1.Stake and Mint rATOM

1)Enter the StaFiHub App: https://test-app.stafihub.io , click Keplr to connect with StaFiHub.
2)We take staking ATOM as an example to demonstrate the operation in StaFiHub App. Click “Stake” to start the staking process.
3)Enter the amount of ATOM and received address on the "STAKE" page, and click "You will get 20.00 rATOM".
4)Click “Understood” and “Approve”as the page prompts, the "Liquidity Process" on the right will show the Sending & Minting process.
Note: Liquidity process will request your approval, do not edit your memo, otherwise you cannot receive your rATOM.
5)Check the delegation data on the "DASHBOARD" page.

2.Redeem The Staked ATOM

1)Click "Redeem rATOM" on the "DASHBOARD" page.
2)Enter the number of rATOM, and the system will calculate the amount of redeemed ATOM based on the current exchange rate.
Confirm the address of receiving ATOM.
3)Confirm the following information on the pop-up page: The number of unbonded rATOM, unbonding commission (it is set as 0.2% of unbond rATOM in the early stage), Relay bridge fee, unbonding period, and the number of ATOM you could get.
Click “unbond”.
4)After the signature is completed, the amount of staked ATOM and unbonding ATOM will be displayed on the "Unbonded Records" page.
After the unbonding period ends, the user does not need to withdraw it manually, and the ATOM tokens will be automatically sent to the designated address.

3.Recovery function

When the sending is completed and the ATOMs are sent to the StaFiHub contract address on the Cosmos chain, but the staking process is not completed yet, the "Recovery" function will help you to resume the staking process.
1)Confirm whether the transaction is successful in the notification bar. If it prompts "Error", it means the stake operation failed, as shown below:
2)Confirm the Token type on the current page, enter the TxHash and receiving address, click "Proceed" to continue the delegation process.
When you continue to stake ATOM, the signature page will pop up, just follow the prompts.
The way to get TxHash:
Copy link
On this page
Get Test FIS/ATOM/IRIS/HUAHUA
1.Stake and Mint rATOM
2.Redeem The Staked ATOM
3.Recovery function