# 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.

Keplr:<https://chrome.google.com/webstore/detail/keplr/dmkamcknogkgcdfhhbddcghachkejeap>&#x20;

## Get Test FIS/ATOM/IRIS/HUAHUA

1.Join StaFi Faucet: <https://discord.gg/SkTFbwjyMM>

2.On the faucet group, reply **!faucet send + Account**

**Example:**&#x20;

1\)ATOM: !faucet send cosmos15wu5sxpvswyare3x65d3hlatmlptne735hjdyg&#x20;

2\)FIS: !faucet send stafi15wu5sxpvswyare3x65d3hlatmlptne730uz8ss

3\)IRIS: !faucet send iaa15wu5sxpvswyare3x65d3hlatmlptne73p4juxe

4\)HUAHUA: !faucet send chihuahua15wu5sxpvswyare3x65d3hlatmlptne73hzlr92

**Note**:&#x20;

1\)Each Discord account can receive 1 airdrop within 24 hours.&#x20;

2\)Each address can only receive airdrop for 1 time.&#x20;

3\)The maximum daily distribution of airdrops is 10 FIS/ATOM/IRIS, 1000HUAHUA.

## 1.Stake and Mint rATOM&#x20;

1\)Enter the StaFiHub App: <https://test-app.stafihub.io> , click [Keplr](https://chrome.google.com/webstore/detail/keplr/dmkamcknogkgcdfhhbddcghachkejeap) to connect with StaFiHub.

<figure><img src="https://lh3.googleusercontent.com/GkB2QPEKfb7GCjJ_3R8QFUnV81DTUKarQqWy2ZRMIUb_4SMrPlC7jRnTuaWpuqiJ29qTtCzf2rxEqMI1qfnFa2piz5AesW0fpZoz1TqhBX8X5bHUHcT3lDB73YrzsjT3udrSbaHRPcv0jue6wd2jQA" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh5.googleusercontent.com/msOJRUn0A289a1rlN2ED7iNCoKRImbtDAlx_aQZuj0y6Sdxb3YfEc191AChuEOl-oLq2yuJYwbxZHCPW6Za-V-KRfCP0Npv5GcFNjncAAFgdFWQWrJbV3sxmUHStXzI2Yx_9WkgILltHNnohdt-Lhg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh4.googleusercontent.com/GNtprjZkfinLtXT04kek2r20r6rEbPAsyeAcaACIn2Kcw6wgeRPkyEjKzksRWEyzTZf0EroijZ4XAKm7cGNSLbDpPwMtqeGGUYKlvdH3WIcXHZt4wYHopz3CGVT6LZtt-KmglHPdGpNKj90h4BmC5g" alt=""><figcaption></figcaption></figure>

2\)We take staking ATOM as an example to demonstrate the operation in StaFiHub App. Click “Stake” to start the staking process.

<figure><img src="https://lh5.googleusercontent.com/UAvOpPfiN7aK6zxxawUvttMZyz6DPJDrsZNdI4UmlQW16XquQcfQWDDFzS-XmyLrqRrsiyjfolDZK-28lcoSLsE2vCL63_We8y-CGxtFvoOfMtgNv23ionw9plQUMj-MxjbBPXXl5PTqkcdzeIE_JQ" alt=""><figcaption></figcaption></figure>

3\)Enter the amount of ATOM and received address on the "STAKE" page, and click "You will get 20.00 rATOM".

<figure><img src="https://lh6.googleusercontent.com/fe-Dh_TiVe5l5IP-Apn6t-uUjZYr13OE4_GHJbPXXJ3xRzbumWOuUKHMHPNb1Ke88Fn6xBOe6o34UeCPKdw2r8EqlBhVyBJFF3lEd8VODsFXIBu9UKMF8CKkehNITBrKQmXOFgvVeFNQxYdVXySvQQ" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="https://lh4.googleusercontent.com/FTm3nVbEc2jGIDlnUnpzcbv4vPYyo0RVFSXHsSGVmo0uD5Db47OiAJjjKut4RVy_HADkWUdQZFJHiMs2h2tEOk7B3rN_OnQzYARR9RC0dB8YzCKX4v7pZHiHkpYEQK9yfdk2SOTM9gOXGs-5oRVSsw" alt=""><figcaption></figcaption></figure>

5\)Check the delegation data on the "DASHBOARD" page.

<figure><img src="https://lh6.googleusercontent.com/PfkQ2tkXjM-Gmw2eK-tzC4Dgp4mdJruwy_IuiGraj_a2hoDDEKdeOUkFVeY24rW3kd-m_Zvng4lRysQ3NsGf0L7D2a-CJzZEmSaRGzbF2JiZHC1KZzU1_BCYX_QdE8RAWbI-Qd8-kz4ECq-RFH9fQg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh4.googleusercontent.com/4IBeBlLW_XlLHjI7wtZbgaQx10_rs0RKUKUAXkociN3_M0EXKFABGcDgh7lpd6mBOxKCJSBRsoMtICpK6XqE90xso_HsEE96nswLpqomGZhpKVdPmiGIYBQLN3sz07WX4cLb2KICzSsD7Bu3Ubgctw" alt=""><figcaption></figcaption></figure>

## 2.Redeem The Staked ATOM

1\)Click "Redeem rATOM" on the "DASHBOARD" page.

<figure><img src="https://lh4.googleusercontent.com/ZswJBH2Z1rMVq-t736Sbpzk5aAJbcLJNrYuaDne3dTiX2WWZP6pByrbArgU9l-CmCbDnMcCVNYr_71mMhgZZMqGCar0WGgqj3Xyc63HxRAVuOj-kphKczTBSt9tqFRZjYWN3V7unOrBqc_ufk0iJPw" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="https://lh5.googleusercontent.com/_r2yOk-GaVMgLNHHOqrvqXiq8fYO4yFFxVbjw88MN1M9JxXY6n_dQ9RDweRBITTnHEfIFaX35ylQ4RQ6zeCFfL0xMam1y_a5aXj0TjIlDfm6N6FGrVsCA6BIgJqLFL8Uf-uAgQN5lstfBlbuMqB9Fw" alt=""><figcaption></figcaption></figure>

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”.

<figure><img src="https://lh5.googleusercontent.com/wRVmis9snabfgmgJ6pQN02ixWKXqNL_74bTk_xXjFEoffx4d7W_c6K314Sx-GiHJBimsBsGhpn-GNcyqe5BQWgJQ_C919-eoKhq88_UF0zt1uRLgySz1GV-IVwigHtZgWFBSNDGI0X_ubS92uD37Ww" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="https://lh6.googleusercontent.com/oSiptHooWAQqI5YGDbgqldRsdzux-7p6EM1p16eCqiTMVmskYDjiYBB1ACPg-atnpYZnXqgv7wEY1ag6kn5S4dIp1LFAacG8vfMxoLIYy9J8PIXWpWRKcgWD_aXG83BNDQOqe7OdOjFWzUnC2xln6Q" alt=""><figcaption></figcaption></figure>

## 3.Recovery function&#x20;

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:

<figure><img src="https://lh4.googleusercontent.com/TIUoD758oLbKTKLyPIOIRL7oiTre5MIr_MYJmpIXyQzi-h0tyAPOVKEddbbIxcR2ZXfVfJzCN0MXNpnuG1pVWA8QdkClhRAVvZnvUovX11XSEvEn_myP62qFkYvoBiTrVY1OcXp_90AKAHZBCgDoHw" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="https://lh5.googleusercontent.com/0Dc4iNZaiDvRCpvfFnlGN-qMULwFR0chdLJY5X4rAINmgB0ScFdV40ANPrDK2giZ56RVSFow7blc5cn0gw3rB5rog3NXusaLdfgaFCQrrC6ivsXnbt8Myx1IFLCDF2F1PO9_3pN4IauxTl_jT3nx8g" alt=""><figcaption></figcaption></figure>

**The way to get TxHash:**

<figure><img src="https://lh6.googleusercontent.com/Pz-GQt8x9QSB8utyQBSSZ1UVYNvxbLfW3ngxQjvzSmwYOvDKpmEjoq7zRSO5bmjm1LQlHCehajDKA1QIEPrl717e8p6ylqFc9bBNMKRhlxk0CVpTR-Nlpgu2yMpKej5aF99GWA6tZaOx-Dmi15xozQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh4.googleusercontent.com/g-ydMZ2IyeffN6aYf-SVH8QeBf3Pqhh8QFF8koXEuGUo7nb2MfzpO4TiVFrTMZGapM71lr1SnFgOcSYq_xa3M-E-KvKyr044An77XK-kAGKXOOdnjEWngEVDcB8ksN8C5aQ2ir5g-nCbpMKLBSIROQ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stafihub.io/welcome-to-stafihub/user/join-public-testnet/testing-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
