Makalu extra-works: bridge UI, DNNS search, lithc toolchain, faucet fix - #30
Merged
Conversation
added 6 commits
June 21, 2026 22:47
The explorer/indexer labeled two LEP100 token contracts with each other's name/symbol. On-chain truth (chain 700777): 0xDB829be...1c5D is Mansa AI/MUSA and 0x151ef36...D22e is FurGPT/FGPT. The indexer's seedTokenContracts() upserts name/symbol ON CONFLICT DO UPDATE on every startup, so it was authoritatively mislabeling these in the contracts table. The faucet env (FAUCET_TOKEN_ASSETS) was already correct, so drips were unaffected; this fixes explorer display only. Corrected in indexer SEEDED_TOKENS, init.sql, and seed-lep100-tokens.sql; the DB self-corrects on the next indexer deploy.
New toolchain/ Cargo workspace (std-only) for the Lithic smart-contract language: lithic-syntax (lexer/parser/AST), real lithc (parse + emit summary/ast/abi), lithfmt (whitespace v0), lithlint (naming + @ai_budget rules), and spec-only stubs lithls/lithdev/lithtest/lithsec/lithpkg. Golden tests parse the real DOGE.lithic / FinesseWarriors.lithic examples.
Adds a Makalu<->Kamet bridge page to the explorer (ethers v6 lock/claim via the deployed MultXBridge 0x5832...096a6), a same-origin /api/bridge/* proxy to bridge.litho.ai (avoids CORS, mirrors the faucet proxy), a lib/bridge.ts client, and a Bridge nav link. Addresses cross-checked against @litho/multx-sdk presets.
lib/dnns.ts resolves DNNS (.litho) names via the Kamet registry (ENS fork, read-only ethers v6); SearchBar routes a resolved name to its address page.
Thanos is not in the WalletConnect registry (verified 0 listings 2026-06-22), so there is no ID to feature yet; an EIP-6963 Thanos extension already surfaces via the existing injected config. Comment-only.
Forwardable spec asks for the bridge/wallet/DNNS/Quantt/validator teams.
|
|
||
| function BridgeContent() { | ||
| const { open } = useWeb3Modal(); | ||
| const { address, isConnected, chainId } = useWeb3ModalAccount(); |
Test Results
Coverage
Generated by |
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.
Implements the actionable parts of the Makalu "extra works" backlog. Each stream was built and verified independently; specs for the integrations came from the
lithosphere-dev-infrasource-of-truth.What's included
Stream 1 — LEP100 faucet (
fix(tokens))Faucet was already live; verified on-chain and fixed an FGPT↔MUSA token-metadata address swap (indexer
SEEDED_TOKENS+ both SQL seeds). DB self-corrects on next indexer deploy.Stream 2 — MultX bridge UI (
feat(bridge))Makalu↔Kamet bridge page in the explorer (ethers v6 lock/claim against the deployed
MultXBridge 0x5832…096a6), a same-origin/api/bridge/*proxy tobridge.litho.ai(mirrors the faucet proxy, avoids CORS),lib/bridge.tsclient, and a Bridge nav link. Addresses cross-checked against the official@litho/multx-sdkv0.2.0 presets (exact match). Kept native ethers v6 (the SDK is v5) by decision.Stream 4 — DNNS name resolution (
feat(dnns))lib/dnns.tsresolves.lithonames via the Kamet DNNS registry (ENS fork, read-only ethers v6); the global search routes a resolved name to its address page.Stream 7 — lithc toolchain (
feat(toolchain))New
toolchain/Rust workspace (std-only):lithic-syntax(lexer/parser/AST), reallithc/lithfmt/lithlint, and spec-only stubslithls/lithdev/lithtest/lithsec/lithpkg. Golden tests parse the real.lithicexamples.Stream 3 — Thanos (
docs(wallet)): comment-only status (not in the WalletConnect registry yet; injected/EIP-6963 already works).Plus
docs/makalu-extra-works-dependency-requests.md— forwardable spec asks for the still-blocked streams.Verification
Makalu/apiandMakalu/explorertsc --noEmitclean for all new files (only a pre-existing unrelatedbuild-info.test.tsissue remains).cargo testgreen incl. golden tests vs the real.lithiccontracts (Windows: use the GNU toolchain — no MSVC linker).Not in scope / still blocked
🤖 Generated with Claude Code