Skip to content

Instantly share code, notes, and snippets.

@denniswon
denniswon / gist:c01abc0d3d3e5702a052e66dea11dbea
Created March 11, 2026 00:49
Recall MCP — Self-Hosted Setup Guide
# Recall MCP — Self-Hosted Setup Guide
Self-hosted Recall MCP for Claude Code using Upstash Redis (cloud) and the open-source `@joseairosa/recall` NPM package. No local Redis, no Docker, no subscription.
Source: https://github.com/joseairosa/recall
---
## Prerequisites
@denniswon
denniswon / gist:e997c1073ad7af8c5521ed10b0ab787b
Created March 10, 2026 09:43
Rhinestone Chain Abstraction (Warp) — Technical Summary
---
Rhinestone Chain Abstraction (Warp) — Technical Summary
What It Is
Rhinestone Warp is an intent-based cross-chain execution engine built on ERC-7579 smart account modules. Users express desired outcomes ("send 100 USDC
from Optimism to Base and deposit into a vault"), and a competitive solver/relayer market fulfills them — handling bridging, swapping, and gas
abstraction transparently.
★ Insight ─────────────────────────────────────
@denniswon
denniswon / gist:1c4602859835ded307eb4ddb402c2e9c
Created March 8, 2026 01:00
Viem vs Newton SDK — Architecture Comparison
---
Viem vs Newton SDK — Architecture Comparison
Where Newton SDK Already Aligns with Viem
┌────────────────────┬────────────────────────┬──────────────────────────────────────┬───────────┐
│ Area │ Viem │ Newton SDK │ Status │
├────────────────────┼────────────────────────┼──────────────────────────────────────┼───────────┤
│ Linter/Formatter │ Biome │ Biome 1.9.4 │ Already │
│ │ │ │ aligned │
@denniswon
denniswon / gist:d77b46c991de530b554f8c2f6d840488
Created March 8, 2026 00:17
E2E Test Coverage Comparison
---
E2E Test Coverage Comparison
Test Matrix
┌───────────┬──────────────────────────┬──────────────────────────┬───────────────────────────────────────────┬────────────────────┐
│ Feature / │ gateway_e2e │ dual-anvil-multichain-e2 │ multichain-routing-e2e │ privacy_e2e │
│ Scenario │ │ e │ │ │
├───────────┼──────────────────────────┼──────────────────────────┼───────────────────────────────────────────┼────────────────────┤
│ Gateway │ │ │ │ │
@denniswon
denniswon / gist:32ba5dad6d44ee72de34710735a8d03e
Created March 7, 2026 02:08
Newton Privacy Layer vs Fairblock: Technical Comparison Analysis
---
Newton Privacy Layer vs Fairblock: Technical Comparison Analysis
★ Insight ─────────────────────────────────────
This comparison covers two fundamentally different approaches to onchain privacy:
- Newton extends an existing EigenLayer AVS (policy evaluation) with privacy primitives — privacy is an add-on to an existing
validator network
- Fairblock is a purpose-built privacy infrastructure chain (FairyRing) that exports cryptographic services to other chains
- The cryptographic primitives overlap significantly (threshold DKG, IBE-like schemes), but the trust models and integration patterns
diverge sharply
@denniswon
denniswon / gist:8ac0a41a1538344e6b799d113094736f
Created March 6, 2026 09:42
Reliability Analysis & Plan Review
---
Reliability Analysis & Plan Review
★ Insight ─────────────────────────────────────
This is a thorough first-pass reliability audit by a new team member. The approach — analysis doc identifying gaps, then a plan
doc with actionable tickets — is solid. I'm reviewing for factual accuracy against the actual codebase, priority correctness, and
any gaps the author may have missed.
─────────────────────────────────────────────────
---
@denniswon
denniswon / gist:b437d20946c761bd997839f52e0c02fe
Created March 5, 2026 19:24
Analysis: Database Schema Changes Required for Multichain Gateway
Now I have the complete picture. Let me compile the analysis.
---
Analysis: Database Schema Changes Required for Multichain Gateway
What the PRs Changed (Summary)
┌──────┬─────────────────────────────────────────────┬───────────────────────────────────────┐
│ PR │ Title │ DB Changes │
├──────┼─────────────────────────────────────────────┼───────────────────────────────────────┤
@denniswon
denniswon / gist:e716fd0542c617caeff89bfcb17c291d
Created March 5, 2026 03:15
Design: Destination Chain Challenge Relay to L1 for Slashing
Now I have the complete picture. Let me deliver the design analysis.
★ Insight ─────────────────────────────────────
ELIP-008 does NOT specify cross-chain slashing. It only covers one direction: L1→L2 operator table transport and L2 certificate
verification. The reverse direction (L2 challenge → L1 slashing) is entirely AVS-specific. This means Newton has full design
freedom here — there's no EigenLayer standard to conform to for the relay mechanism.
Critical finding from the contract analysis: The source chain's ChallengeVerifier.raiseAndResolveChallenge() (line 109)
requires allTaskHashes[taskResponse.taskId] to be non-zero — meaning the task must exist on the source chain. Destination-chain
tasks are never registered on the source chain's TaskManager. This means you cannot simply call the source chain's existing
@denniswon
denniswon / gist:eb560a373104299af2e2b1a249ebc878
Created March 3, 2026 19:57
Comprehensive Audit Report: Deploy Repo vs AVS Repo
---
Comprehensive Audit Report: Deploy Repo vs AVS Repo
CRITICAL: NetworkMode Destination Chain Mismatch
Severity: BLOCKING — the gateway and operator will fail to start in production.
The AVS repo's NetworkMode enum (crates/core/src/common/network.rs:41-47) defines destination chains that do NOT match the deploy repo's
configuration:
@denniswon
denniswon / gist:06ce7fed8a9b4dbd6749636391e51557
Created March 1, 2026 01:25
newton dev docs revamp roadmap
⏺ Phase 1 (.claude/ infrastructure) is complete. The original plan mentioned the next phases would cover the documentation revamp — new
pages, restructuring, FAQ/Glossary, etc.
I don’t have a detailed plan written for Phase 2. What would you like to tackle next? Some options:
1. Restructure the Developers tab — reorganize into the planned Getting Started → Guides → Concepts → Reference → Advanced → Resources
structure
2. Add new pages — FAQ, Glossary, or other missing content
3. Content audit — review existing pages for accuracy, broken links, outdated info
4. Something else — if you have a specific plan doc or priorities in mind