Skip to content

demo: network switch buttons and dev tamper toggles#30

Draft
patnir wants to merge 1 commit into
pin-coinbase-siwe-messagefrom
demo-network-and-tamper-controls
Draft

demo: network switch buttons and dev tamper toggles#30
patnir wants to merge 1 commit into
pin-coinbase-siwe-messagefrom
demo-network-and-tamper-controls

Conversation

@patnir

@patnir patnir commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Demo tooling that stacks on top of the SIWE pin PR. Adds top-bar buttons to switch between Base and Base Sepolia, and dev-only toggles on the coinbase page to tamper with the signed message so we can show the server pin rejecting it.

  • Base / Base Sepolia switch buttons in the header (active one highlighted)
  • auto-nudge to Base Sepolia now fires once on connect instead of fighting manual switches
  • dev-only tamper toggles: strip the trait (caught by validateTraits) or change the action (caught by the new pin); hidden in production

Test plan

  • Switch between Base and Base Sepolia from the top bar -> wallet follows, selection sticks
  • Toggle "strip trait", claim -> 400 invalid trait requirements
  • Toggle "change action", claim -> 400 signed message failed verification
  • Normal claim with no toggles -> succeeds

type=routine
risk=low
impact=sev5

- top bar buttons to switch between Base and Base Sepolia
- auto-nudge to Base Sepolia now runs once on connect instead of fighting manual switches
- dev-only tamper toggles on the coinbase page to strip the trait or change the action, for showing the server pin reject a tampered message
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
base-camp-verify-demo Ready Ready Preview, Comment Jun 20, 2026 12:46am

Request Review

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