How to request Testnet Tokens

Sui faucet is a helpful tool where Sui developers can get free test SUI tokens to deploy and interact with their programs on Sui's Devnet and Testnet networks. There is no faucet for Sui Mainnet.

Prerequisites#arrow-up-right

To request tokens from the faucet, you must own a wallet address that can receive the SUI tokens. You can generate an address via the Sui CLI toolarrow-up-right or the Sui walletarrow-up-right.

1. Request test tokens through Discord#arrow-up-right

  1. Join Discordarrow-up-right. If you try to join the Sui Discord channel using a newly created Discord account, you may need to wait a few days for validation.

  2. Request test SUI tokens in the Sui #devnet-faucetarrow-up-right or #testnet-faucetarrow-up-right Discord channels. Send the following message to the channel with your client address: !faucet <Your client address>

2. Request test tokens through wallet#arrow-up-right

You can request test tokens within Sui Walletarrow-up-right.

3. Request test tokens through cURL#arrow-up-right

Use the following cURL command to request tokens directly from the faucet server:

curl --location --request POST 'https://faucet.devnet.sui.io/gas' \
--header 'Content-Type: application/json' \
--data-raw '{
    "FixedAmountRequest": {
        "recipient": "<YOUR SUI ADDRESS>"
    }
}'

Replace 'https://faucet.devnet.sui.io/gas' with http://127.0.0.1:5003/gas when working with a local network.

4. Request test tokens through TypeScript SDK#arrow-up-right

You can also access the faucet through the TS-SDK.

Last updated