Repository navigation
Remove the L2 (Nillion Testnet) faucet - #10
Merged
Merged
Conversation
The L2 is winding down. Drops the server-side ETH + NIL drip (/api/faucet, /api/faucet/status), its UI and hooks, the nillionTestnet chain and the rpc.testnet.nillion.network dependency. ?chain=L2 now falls through to the default Sepolia faucet. The Redis client moves to src/lib/redis.ts, since the Blacklight relayer still uses it for cooldowns.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes the L2 faucet. The L2 is winding down, and this drops one of the last consumers of
rpc.testnet.nillion.network, which unblocks retiring the testnet RPC proxy./api/faucetand/api/faucet/status(the server-side ETH + NIL drip on chain 78651)src/lib/l2/faucet.tsandsrc/lib/l2/rate-limit.tsuseL2Claim,useL2StatusandL2FaucetContentnillionTestnetchain from wagmi, theNILLION_TESTNET_*constants, the explorer entry and thel2entry inCHAIN_PARAM_MAP.?chain=L2links still in circulation now fall through to the default Blind Computer (Sepolia) faucet instead of switching the wallet to 78651.src/lib/l2/redis.tstosrc/lib/redis.ts. The Blacklight relayer still uses it for its cooldown..env.exampleandCLAUDE.md.Deploy follow-up
After merge, remove these env vars from the deployment:
L2_FAUCET_PRIVATE_KEYL2_NIL_TOKEN_ADDRESSL2_FAUCET_COOLDOWN_MSL2_FAUCET_ETH_AMOUNTL2_FAUCET_NIL_AMOUNTKeep
REDIS_URL. Any ETH or NIL left in the L2 faucet wallet can be swept.Testing
pnpm lint,pnpm typecheckandpnpm buildpass. The only route left is/api/faucet/blacklight.pnpm fmt --checkis clean on tracked files.