Faucet
Testnet token distribution interface for requesting test tokens on supported networks.
Overview
The Faucet component allows users to request testnet tokens for development and testing purposes. It handles eligibility checks, rate limiting, and token distribution.
Props
Props
| Name | Type | Default | Description |
|---|---|---|---|
onSuccess | (txHash: string) => void | - | Callback fired when faucet request succeeds |
onError | (error: string) => void | - | Callback fired when faucet request fails |
Usage
FaucetExample.tsx
import { Faucet } from 'hyperkit';
function App() {
return (
<Faucet />
);
}