Testnet Faucet · Client@tokenops/sdk/testnet-faucet

TestnetFaucetClient

Testnet-only faucet on Sepolia (11155111) and local Anvil (31337). Open-mint two test tokens: the plain 18-decimal TTT (TokenopsTestToken) and the backed 6-decimal confidential CTTT (ConfidentialTokenopsTestToken, ERC-7984). Mints take public plaintext bigint amounts — no encryptor, no @zama-fhe dependency, no roles, no pause.

Construct

Headless TS — non-React consumers (Node, Vite, server workers). React hosts use the per-hook surface; same method names, wallet/public-client wiring, and no encryptor.

@tokenops/sdk/testnet-faucet
ts
import { TestnetFaucetClient } from "@tokenops/sdk/testnet-faucet";

const client = new TestnetFaucetClient({
  publicClient,
  walletClient,
  // address optional: resolved from publicClient.chain.id
});

Methods

Write · 2

Read · 8