> ## Documentation Index
> Fetch the complete documentation index at: https://docs.soroswap.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Stellar Classic Assets

> Getting test tokens from the random_tokens API endpoint and testing asset wrapping on testnet.

<Note>
  This flow is testnet only. The random tokens endpoint hands out throwaway test assets, so nothing here involves real funds.
</Note>

Experimenting with Stellar Classic assets on the Soroswap testnet is straightforward. Our API endpoint `/api/random_tokens` provides you with a variety of test tokens, including Stellar Classic assets that can be wrapped and used by Soroban contracts.

## Accessing Test Tokens

To access the test tokens, follow these steps:

1. Navigate to the API endpoint for random tokens: `https://api.soroswap.finance/api/random_tokens`
2. The API will return a JSON object containing an array of tokens indexed by network. Tokens with only the `asset` and `symbol` keys are Stellar Classic assets, whereas Soroban tokens will have additional information such as `address`, `name`, and `decimals`. To test remember to select the tokens from the network you are on.

Example response from the API:

```json theme={null}
{
  "tokens": [
    // Soroban tokens with detailed information
    {
      "address": "CANYI627Y23JOJKXWMRSRIJLWUFBW5YPFMHGBMEX5A4OEH6QJYYSDVMS",
      "name": "axlnia",
      "symbol": "AXLN",
      "logoURI": "",
      "decimals": 7
    },
    // Stellar Classic assets with just asset code and issuer
    {
      "asset": "JAMN:GAYIZTTI7QKLRKA5GXH5OFFCW3QLU4LNSN5N3XIYXB4P56HHBIXC73X6",
      "symbol": "JAMN"
    }
    // ... more tokens
  ]
}
```

## Testing Wrapping Functionality

To test the wrapping functionality with Stellar Classic assets:

1. From the API's response, copy a Stellar Classic asset in the format `CODE:ISSUER`.
2. Go to the Soroswap testnet interface.
3. Paste the copied `CODE:ISSUER` into the search input from the Swap or Add liquidity pages, and select the asset from the results.
4. The interface will recognize that the asset is a Stellar Classic asset and offer you the option to wrap it so Soroban contracts can use it.

<img src="https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/stellar-classic-assets/wrapping/wrapping-process-modal.png?fit=max&auto=format&n=1xzCGA5zGx88_Gb9&q=85&s=e754ac4ace1733358d48d0fb32dc3a0f" alt="" width="1640" height="1414" data-path="images/tutorials/stellar-classic-assets/wrapping/wrapping-process-modal.png" />

5. Click on the asset, and a wrapping modal will appear, guiding you through the wrapping process.

<img src="https://mintcdn.com/soroswap/1xzCGA5zGx88_Gb9/images/tutorials/stellar-classic-assets/wrapping/wrapping-view.png?fit=max&auto=format&n=1xzCGA5zGx88_Gb9&q=85&s=ef7bb00b42644ba7967aa865edea063f" alt="" width="1270" height="1170" data-path="images/tutorials/stellar-classic-assets/wrapping/wrapping-view.png" />

6. Once you initiate the wrapping process, you will be prompted to sign the transaction with your wallet.

After wrapping, the asset will be available in your Soroswap testnet account, ready for trading or adding to liquidity pools. It is still the same asset, now reachable through its Stellar Asset Contract, all within the safety of the testnet environment.

Testing Stellar Classic assets on Soroswap testnet is not only a valuable step for ensuring your assets are ready for live trading but also provides a risk-free way to familiarize yourself with the wrapping process and the broader Soroban ecosystem.
