# Testnet

{% hint style="info" %}
mint() testnet stablecoins to your wallet with the links below. Then use those tokens for`swap()`testing.
{% endhint %}

{% hint style="success" %}
To use addLiquidity & swap() native ETH use the RouterETH.sol contract instead of Router.sol
{% endhint %}

{% hint style="warning" %}
Stargate testnet has been redeployed as of 22nd Jan 2024. The old testnet contracts are no longer supported.&#x20;

There is currently support for the following testnets: Sepolia (Ethereum Testnet), Fuji (Avalanche Testnet), BNB Chain (Testnet), Arbitrum Sepolia (Testnet), Optimism Sepolia (Testnet) and XCHAIN (IDEX Testnet).
{% endhint %}

### Contract Addresses

### Sepolia (Ethereum Testnet)

* `chainId:` `10161`
* `Router.sol:` [`0x2836045A50744FB50D3d04a9C8D18aD7B5012102`](https://sepolia.etherscan.io/address/0x2836045A50744FB50D3d04a9C8D18aD7B5012102)
* `RouterETH.sol:` [`0x676Fa8D37B948236aAcE03A0b34fc0Bc37FABA8D`](https://sepolia.etherscan.io/address/0x676Fa8D37B948236aAcE03A0b34fc0Bc37FABA8D)
* `Bridge.sol:` [`0x96ab23d6224cCA013D119Edd5A31813C32BCA077`](https://sepolia.etherscan.io/address/0x96ab23d6224cCA013D119Edd5A31813C32BCA077)
* `Factory.sol:`  [`0xA296710670e16BA7791E919ddB3704c61f366118`](https://sepolia.etherscan.io/address/0xA296710670e16BA7791E919ddB3704c61f366118)
* `StargateToken:` [`0x5e2675BA29c47E58Cb37e94Ce25A720BD17f6b4a`](https://sepolia.etherscan.io/address/0x5e2675BA29c47E58Cb37e94Ce25A720BD17f6b4a)
* `StargateEthVault:` [`0x5859b9d0Af9D84F3932efbF798E48014B59A3fbF`](https://sepolia.etherscan.io/address/0x5859b9d0Af9D84F3932efbF798E48014B59A3fbF)
* `StargateFeeLibraryV07.sol:` [`0x332559fd86985962EfB3753Fa1f9453F0358ae40`](https://sepolia.etherscan.io/address/0x332559fd86985962EfB3753Fa1f9453F0358ae40)
* `StargateComposer.sol:` [`0x4febD509277f485A5feB90fb20DC0D3FAe6Bf856`](https://sepolia.etherscan.io/address/0x4febD509277f485A5feB90fb20DC0D3FAe6Bf856)
* `USDC:` [`0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590`](https://sepolia.etherscan.io/address/0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590)

### BNB Chain (Testnet)

* `chainId:` `10102`
* `Router.sol:` [`0xB606AaA7E2837D4E6FC1e901Ba74045B29D2EB36`](https://testnet.bscscan.com/address/0xB606AaA7E2837D4E6FC1e901Ba74045B29D2EB36)
* `Bridge.sol:` [`0x6B5b5A7A5195Da7E20251822022Ae03B12Df5952`](https://testnet.bscscan.com/address/0x6B5b5A7A5195Da7E20251822022Ae03B12Df5952)
* `Factory.sol:`  [`0x9DB9116eD670F68B40a5033CE52c72D1702c2Db6`](https://testnet.bscscan.com/address/0x9DB9116eD670F68B40a5033CE52c72D1702c2Db6)
* `StargateToken:` [`0x5C4948d523943090bd3AEbD06227272A6b581691`](https://testnet.bscscan.com/address/0x5C4948d523943090bd3AEbD06227272A6b581691)
* `StargateFeeLibraryV07.sol:` [`0x89C1D24fFb34020a9Be5463bD2578fF966E9f303`](https://testnet.bscscan.com/address/0x89C1D24fFb34020a9Be5463bD2578fF966E9f303)
* `StargateComposer.sol:` [`0x75D573607f5047C728D3a786BE3Ba33765712875`](https://testnet.bscscan.com/address/0x75D573607f5047C728D3a786BE3Ba33765712875)
* `USDT:` [`0xe37Bdc6F09DAB6ce6E4eBC4d2E72792994Ef3765`](https://testnet.bscscan.com/address/0xe37Bdc6F09DAB6ce6E4eBC4d2E72792994Ef3765)

### Fuji (Avalanche Testnet)

* `chainId:` `10106`
* `Router.sol:` [`0x5C4948d523943090bd3AEbD06227272A6b581691`](https://testnet.snowtrace.io/address/0x5C4948d523943090bd3AEbD06227272A6b581691)
* `Bridge.sol:` [`0x75D573607f5047C728D3a786BE3Ba33765712875`](https://testnet.snowtrace.io/address/0x75D573607f5047C728D3a786BE3Ba33765712875)
* `Factory.sol:`  [`0x406f20eAc60D0842f457D11BCBdC7bc949A92c60`](https://testnet.snowtrace.io/address/0x406f20eAc60D0842f457D11BCBdC7bc949A92c60)
* `StargateToken:` [`0x1a18c388cb54A5B77C73e7bfFfC020d07bc862b0`](https://testnet.snowtrace.io/address/0x1a18c388cb54A5B77C73e7bfFfC020d07bc862b0)
* `StargateFeeLibraryV07.sol:` [`0x6c6F6c03f48ac83dFAb7cfCC248DcC9791ded308`](https://testnet.snowtrace.io/address/0x6c6F6c03f48ac83dFAb7cfCC248DcC9791ded308)
* `StargateComposer.sol:` [`0xd2b97823982380A980d686Ed7B7c3285875386ed`](https://testnet.snowtrace.io/address/0xd2b97823982380A980d686Ed7B7c3285875386ed)
* `USDC:` [`0x89C1D24fFb34020a9Be5463bD2578fF966E9f303`](https://testnet.snowtrace.io/address/0x89C1D24fFb34020a9Be5463bD2578fF966E9f303)
* `USDT:` [`0x144843929Df063312A083DB6f0a0FF5697ABED4a`](https://testnet.snowtrace.io/address/0x144843929Df063312A083DB6f0a0FF5697ABED4a)

### Arbitrum-Sepolia (Testnet)

* `chainId:` `10231`
* `Router.sol:` [`0x2a4C2F5ffB0E0F2dcB3f9EBBd442B8F77ECDB9Cc`](https://sepolia.arbiscan.io/address/0x2a4C2F5ffB0E0F2dcB3f9EBBd442B8F77ECDB9Cc)
* `RouterETH.sol:` [`0x771A4f8a880b499A40c8fF53c7925798E0f2E594`](https://sepolia.arbiscan.io/address/0x771A4f8a880b499A40c8fF53c7925798E0f2E594)
* `Bridge.sol:` [`0x2f4B6e5Ae6728C1832E93DE67141908F8Aa9255B`](https://sepolia.arbiscan.io/address/0x2f4B6e5Ae6728C1832E93DE67141908F8Aa9255B)
* `Factory.sol:`  [`0x7eEB77fFD369Da207b34FAcD202698dc733192a5`](https://sepolia.arbiscan.io/address/0x7eEB77fFD369Da207b34FAcD202698dc733192a5)
* `StargateToken:` [`0xBe29C694b4DD547A843B13E62E1409d3bCCd68ca`](https://sepolia.arbiscan.io/address/0xBe29C694b4DD547A843B13E62E1409d3bCCd68ca)
* `StargateEthVault:` [`0x860a86E5bc19a6BE6989c9c179e27C731c7CF2A9`](https://sepolia.arbiscan.io/address/0x860a86E5bc19a6BE6989c9c179e27C731c7CF2A9)
* `StargateFeeLibraryV07.sol:` [`0x275C6D07DEaeab44075a8F97A0145Ec079117a75`](https://sepolia.arbiscan.io/address/0x275C6D07DEaeab44075a8F97A0145Ec079117a75)
* `StargateComposer.sol:` [`0xb2d85b2484c910A6953D28De5D3B8d204f7DDf15`](https://sepolia.arbiscan.io/address/0xb2d85b2484c910A6953D28De5D3B8d204f7DDf15)
* `USDC:` [`0x3253a335E7bFfB4790Aa4C25C4250d206E9b9773`](https://sepolia.arbiscan.io/address/0x3253a335E7bFfB4790Aa4C25C4250d206E9b9773)

### Optimism-Sepolia (Testnet)

* `chainId:` `10232`
* `Router.sol:` [`0xa2dfFdDc372C6aeC3a8e79aAfa3953e8Bc956D63`](https://sepolia-optimism.etherscan.io/address/0xa2dfFdDc372C6aeC3a8e79aAfa3953e8Bc956D63)
* `RouterETH.sol:` [`0xA251Af9e97aadE0F0E650525Ad531a7a534c335E`](https://sepolia-optimism.etherscan.io/address/0xA251Af9e97aadE0F0E650525Ad531a7a534c335E)
* `Bridge.sol:` [`0xB55a9254b467A0a52d6696cD327f4C4a37498c1A`](https://sepolia-optimism.etherscan.io/address/0xB55a9254b467A0a52d6696cD327f4C4a37498c1A)
* `Factory.sol:`  [`0xDb6E40E8fACF1a76866ff067D57539c8EE1bfC16`](https://sepolia-optimism.etherscan.io/address/0xDb6E40E8fACF1a76866ff067D57539c8EE1bfC16)
* `StargateToken:` [`0x08dD692ECBa27CAb51e1f99De23Df89D2be81111`](https://sepolia-optimism.etherscan.io/address/0x08dD692ECBa27CAb51e1f99De23Df89D2be81111)
* `StargateEthVault:` [`0x8cAd17ec95529395D36EFa6918319af50A2C3d8f`](https://sepolia-optimism.etherscan.io/address/0x8cAd17ec95529395D36EFa6918319af50A2C3d8f)
* `StargateFeeLibraryV07.sol:` [`0x82B3085dB28eBd45A453f8e64f349E27c47073CB`](https://sepolia-optimism.etherscan.io/address/0x82B3085dB28eBd45A453f8e64f349E27c47073CB)
* `StargateComposer.sol:` [`0x285304CB4FeFCCfb8a59F4cb583987643FAA3791`](https://sepolia-optimism.etherscan.io/address/0x285304CB4FeFCCfb8a59F4cb583987643FAA3791)
* `USDC:` [`0x488327236B65C61A6c083e8d811a4E0D3d1D4268`](https://sepolia-optimism.etherscan.io/address/0x488327236B65C61A6c083e8d811a4E0D3d1D4268)

### XCHAIN (IDEX Testnet)

* `chainId:` `10237`
* `Router.sol:` `0x7a33a93cc6de8daC0E0340C34E36493F2363C58C`
* `RouterETH.sol:` `0x5D8f00207C315F8ceedBC6c15f49B7a6F06bfb27`
* `Bridge.sol:` `0x8487f8eB781d1B6d1eC69498aFecF2fedB22869e`
* `Factory.sol:`  `0xCEA8c2b17923c5317A10cab4e0e2662eB72DBE2d`
* `StargateToken:` `0xb75aed2B36A8D5b58Edcdf0a3f9Fef74fbd8aAF4`
* `StargateEthVault:` `0xc5eFf14903f4D253923a3eB198F69B9f0Ac10534`
* `StargateFeeLibraryV07.sol:` `0xc99BcD83C6726c55E9c1e7A5572132139aABC922`
* `StargateComposer.sol:` `0x5bd83cFd936ee3B36ad917d741634C8fD1368Bce`

{% hint style="danger" %}
The following are no longer supported as of January 23rd 2024.
{% endhint %}

### Goerli (Ethereum Testnet)

* `chainId:` `10121`

### Arbitrum-Goerli (Testnet)

* `chainId:` `10143`

### Optimism-Goerli (Testnet)​

* `chainId:` `10132`

### Mumbai (Polygon Testnet)

* `chainId:` `10109`

### Fantom (Testnet) ​

* `chainId:` `10112`

### Metis (Testnet) ​

* `chainId:` `10151`

### Linea (ConsenSys zkEVM - Testnet)

* `chainId:` `10157`

### Polygon zkEVM (Testnet)

* `chainId:` `10158`

### Base (Testnet)

* `chainId:` `10160`

{% hint style="danger" %}
The following testnets are no longer supported as of October 5th 2022:
{% endhint %}

### Rinkeby (Ethereum Testnet) ​

* `chainId:` `10101`

### Arbitrum-Rinkeby (Testnet)

* `chainId:` `10110`

### Optimism-Kovan (Testnet) ​

* `chainId:` `10111`


---

# 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://stargateprotocol.gitbook.io/stargate/developers/contract-addresses/testnet.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.
