Draft
Conversation
Co-Authored-By: 0xrusowsky <90208954+0xrusowsky@users.noreply.github.com>
Bundle Size Report
Chunk changes (>1KB)
Compared against main branch (baseline from 2/4/2026, 5:13:51 PM) |
Cloudflare Deployments
|
- Split app into Registry (salt miner) and Walkthrough Demo tabs - Registry: manual address input, multi-threaded WASM miner (hash-wasm), wallet connect via EIP-6963 auto-discovery - Walkthrough: animated TIP-1022 flow with Exchange/Protocol/Sender panels, zustand state machine, framer-motion animations, GuideOverlay spotlight - Server: Hono API routes for demo register/transfer/balance with pre-mined salt for anvil account 0, idempotent registration - Add zustand, framer-motion, hash-wasm dependencies Amp-Thread-ID: https://ampcode.com/threads/T-019d2b87-dec9-7156-8823-bb58c11aa9ce
- Switch to tempoLocalnet (chain 1337) for local TIP-1022 dev - Client-side RPC via demo-client.ts (bypasses workerd sandbox) - Vite /rpc proxy to avoid CORS (localhost:3002 → localhost:8545) - Auto-fund connected wallet with PathUSD on connect - Tempo tx type 0x76 for all writeContract calls - Idempotent getMaster check handles empty/zero responses - Error banner in walkthrough with actual error messages - Allowlist anvil test keys in gitleaks config - README with full setup instructions Amp-Thread-ID: https://ampcode.com/threads/T-019d2b87-dec9-7156-8823-bb58c11aa9ce
- Switch from tempoLocalnet to tempoDevnet chain - Rewrite demo-client.ts to call server API endpoints instead of direct RPC with hardcoded anvil keys - Set devnet RPC URL (rpc.devnet.tempoxyz.dev) in wrangler.json - Remove vite localhost:8545 proxy (no longer needed) - Update explorer links to devnet - Simplify README — no local node prerequisite Co-Authored-By: 0xrusowsky <90208954+0xrusowsky@users.noreply.github.com> Amp-Thread-ID: https://ampcode.com/threads/T-019d8d05-929c-7583-a71e-8633eca06597
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.
Interactive demo for TIP-1022 virtual addresses on Tempo. Three views:
Intro (landing)
TIP-1022 docs page — motivation, address layout, protocol flow, key properties, and security considerations. Navigable via the "Virtual Addresses" title or "TIP-1022" badge in the navbar.
Registry
Mine a salt, register as a virtual-address master, derive deposit addresses, and test transfers.
Walkthrough
Animated visual walkthrough of the full TIP-1022 flow with real on-chain transactions:
Flow
Shows the two-hop Transfer events (
sender→virtual,virtual→master), balance changes, and the anatomy of the virtual address format (color-codedmasterId/magic/userTag).Uses hash-based routing (
#intro,#registry,#walkthrough) — all nav links support right-click "Open in new tab" and browser back/forward.Architecture
See the full README for architecture diagram and key addresses.
Running locally
Requires a local Tempo node with TIP-1022 (T3 hardfork) enabled: