Skip to main content

Faucet

The Faucet component renders a button that lets user fund their current address on the currently selected test network.

The supported networks are localnet, devnet and testnet.

The granted amount is:

  • localnet: 100 SUI
  • devnet: 10 SUI
  • testnet: 1 SUI
note

There is a certain is a certain quota for requesting funds from devnet and testnet. If you have reached the limit, wait for 24 hours, and in the meanwhile use the #devnet-faucet and #testnet-faucet channels of the official Sui Discord.

Usage

MyComponent.tsx
<Faucet />

Uses

useFaucet()