Skip to content

Point the Blacklight L1 faucet at the staging NIL - #9

Merged
psofiterol merged 1 commit into
mainfrom
feat/blacklight-staging-nil
Oct 5, 2026
Merged

psofiterol merged 1 commit into
mainfrom
feat/blacklight-staging-nil

Conversation

@psofiterol

Copy link
Copy Markdown
Member

The Blacklight L1 testnet webapp now runs on the staging stack (deployed 2026-09-29). That stack has its own NIL, so the faucet's Blacklight option was handing out a token the webapp no longer uses.

Token (Sepolia)
Old: 2026-08-25 testnet, deprecated 0xA7526a2ABB3D01BD21B3ac59B9201cC018560Dfd
New: staging stack 0x38E6D66fCbe15B7D68aa2E25Ba065A6c6da0c367

How I confirmed it's the webapp's token

  • blacklight-l1-webapp config/index.ts (dev): testnet.contracts.nil = 0x38E6D66f…c367
  • blacklight-l1-infra deployments/deployment-staging-latest.json: nil = 0x38E6D66f…c367
  • On chain: the staging Staking.stakingToken() (0xDe9a9e04…4795) returns 0x38E6D66f…c367
  • Both tokens are NIL with 6 decimals, so the drip amounts (20 NIL = 20000000) carry over unchanged.

What's in this PR

  • .env.example: BLACKLIGHT_NIL_TOKEN_ADDRESS now holds the staging NIL.
  • CLAUDE.md: names the current token and the deprecated one, and notes that switching tokens means deploying a new NILFaucet.

Deploy steps (not covered by this PR)

The repo only holds env templates, so the live switch is ops work:

  1. Deploy a new NILFaucet. The current one (0x3f36e5e7a7e43ab149c644ea8e3f1d455d9d473e) has TOKEN set to the old NIL, and TOKEN is immutable. Run the deploy with NIL_TOKEN_ADDRESS=0x38E6D66fCbe15B7D68aa2E25Ba065A6c6da0c367 DRIP_AMOUNT=20000000 COOLDOWN_SECONDS=86400, then fund it with staging NIL.
  2. Set Vercel env. Point NEXT_PUBLIC_FAUCET_ADDRESS_SEPOLIA_BLACKLIGHT at the new faucet, and set BLACKLIGHT_NIL_TOKEN_ADDRESS to the staging NIL.
  3. Fund the relayer. Its wallet (BLACKLIGHT_FAUCET_PRIVATE_KEY) needs staging NIL (plus the Sepolia ETH it already holds for gas).
  4. Drain the old faucet (optional). withdraw() its old-token balance.

…app uses

The Blacklight L1 testnet webapp now runs on the staging stack (2026-09-29), whose NIL is 0x38E6D66fCbe15B7D68aa2E25Ba065A6c6da0c367. The faucet still pointed at the 2026-08-25 token (0xA7526a2ABB3D01BD21B3ac59B9201cC018560Dfd), which is deprecated.
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
faucet-ui Ready Ready Preview Oct 5, 2026 11:27am UTC

Request Review

@psofiterol

Copy link
Copy Markdown
Member Author

Deploy steps 1 and 3 are done on Sepolia.

  • New NILFaucet: 0x9c7EC2210E7F7B20Ee1DDD506306F4eec4e9C9f9. TOKEN is the staging NIL, drip 20 NIL, cooldown 86400s, owner is the Sepolia deployer 0x0972013A…3Fa4. Funded with 10,000 NIL (the old faucet's initial seed), tx 0x83dddf9f…f3f4.
  • Relayer 0xd698cd53…0474: funded with 25,000 staging NIL (the old-NIL amount it was seeded with), tx 0xe0e6a6d0…70f5. It still holds 0.218 Sepolia ETH for gas.

Still to do: in Vercel, set NEXT_PUBLIC_FAUCET_ADDRESS_SEPOLIA_BLACKLIGHT=0x9c7EC2210E7F7B20Ee1DDD506306F4eec4e9C9f9 and BLACKLIGHT_NIL_TOKEN_ADDRESS=0x38E6D66fCbe15B7D68aa2E25Ba065A6c6da0c367, then redeploy.

@psofiterol
psofiterol merged commit 7c536df into main Oct 5, 2026
6 checks passed
@psofiterol
psofiterol deleted the feat/blacklight-staging-nil branch October 5, 2026 16:52

This branch was successfully deployed

1 active deployment
Preview — b2054b5f Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant