Get SUI from Faucet
To perform transactions on a Sui network, you need SUI tokens to pay for gas and storage.
For applications on Mainnet, you must buy real SUI on exchanges like Coinbase, OKX, or Robinhood. Its value is determined by market factors such as supply and demand, network utility, and perceived value.
Because Mainnet tokens cost real money, development can be expensive. That's why Sui provides Devnet and Testnet networks, which mirror Mainnet features and enable you to build and test safely for an affordable cost.
SUI tokens on Devnet and Testnet are free and hold no monetary value.
You can get free SUI tokens from the Sui faucet, which lets you deploy and interact with smart contracts and objects on Devnet, Testnet, or a local network. There is no faucet for Mainnet.
- Prerequisites
-
Set up your Sui account and CLI environment.
Create Sui account and setup CLI environment.
$ sui client
If this is the first time running the sui client CLI tool, it asks you to provide a Sui full node server URL (or press enter for the default Testnet), select an encryption scheme to generate an address, and stores the configuration in a client.yaml file. For more information, refer to the Sui client CLI tutorial.
If this is not your first time running sui client, then you already have a client.yaml file in your local environment. If you'd like to create a new address for this tutorial, use the command:
$ sui client new-address ed25519
Request SUI tokens from faucet
Visit the online faucet to request SUI tokens.
Then, follow these steps:
- Connect your wallet or paste your wallet address in the address field. Get your wallet address in the CLI with the command
sui client active-address. - Use the network dropdown to select the correct network: Testnet, Devnet, or Localnet. Use the Testnet for most use cases before deploying to Mainnet for production. Learn more about the available networks and their differences.
- Click the Request SUI button.
To request more SUI, refresh your browser and click the Request SUI button again. The requests are rate limited, however, so too many requests results in a waiting period before you can request more tokens.
Community faucets
You can also use the following community-provided faucets to obtain SUI tokens:
These faucets have their own separate limits, such as one request per day or one request every few hours.
Verify token balance
To check your balance of SUI tokens and confirm you received some from the faucet, use the command:
$ sui client balance
Alternatively, use a Sui Explorer such as SuiVision or SuiScan to check the SUI token balance of an address.
You should have a balance of SUI tokens:
╭────────────────────────────────────────────╮
│ Balance of coins owned by this address │
├────────────────────────────────────────────┤
│ ╭────────────────────────────────────────╮ │
│ │ coin balance (raw) balance │ │
│ ├────────────────────────────────────────┤ │
│ │ Sui 56804696124 0.50 SUI │ │
│ ╰────────────────────────────────────────╯ │
╰────────────────────────────────────────────╯
If you do not have a balance, repeat the request SUI tokens from faucet steps, or use an alternative faucet method.