Skip to content

Pin the wallet to mainnet: NEAR Intents has no testnet (S7.14) - #158

Merged
MFrancis-dev merged 1 commit into
mainfrom
fix/s7-14-pin-mainnet
Nov 10, 2026
Merged

MFrancis-dev merged 1 commit into
mainfrom
fix/s7-14-pin-mainnet

Conversation

@MFrancis-dev

Copy link
Copy Markdown
Owner

Summary

The human asked whether any part of Settle needs NEAR testnet. Live on 2026-11-10, none does:

  • Hackathon Q-007 is unchanged ("None exists or is planned") and the vendor docs say the same ("There is no testnet deployment and no plans for one").
  • 1Click's live /v0/tokens (216 assets) lists only mainnet near contracts; the one "test" id is the mainnet sub-account test-token.highdome3013.near.
  • Storage check/payer reads the real USDC contract; a test FT proves nothing.
  • Demo mode and dry: true quotes are already the no-funds paths.
  • The submission's prize-payout account is mainnet, human-only.

The untested NEXT_PUBLIC_NEAR_NETWORK switch could only produce a wallet that signs in and then cannot pay or be paid — and, worse, a *.testnet payout address that passes validation for a delivery that cannot land. NEAR_NETWORK is now the literal "mainnet".

Docs: ARCHITECTURE §11 (per-path audit), ESSENTIALS, README limitation, LAUNCH §1 re-check note, ROADMAP S7.14.

Test plan

  • pnpm format && pnpm typecheck && pnpm lint — clean
  • pnpm test — 671 passed, 1 skipped
  • No runtime behaviour change on mainnet: the selector already defaulted to "mainnet" and production has no network variable set (vercel env ls).

Issue: #157

Re-read live on 2026-11-10: hackathon Q-007 still says no testnet exists
or is planned, and the vendor docs say the same. Every money path is
mainnet-only, so the untested NEXT_PUBLIC_NEAR_NETWORK switch could only
produce a wallet that signs in and then cannot pay or be paid. It also
allowed a *.testnet payout address through validation for a delivery
that cannot land.

NEAR_NETWORK is now the literal "mainnet". The per-path audit is
recorded in ARCHITECTURE.md §11, ESSENTIALS, README and LAUNCH §1.
@MFrancis-dev
MFrancis-dev merged commit 402a933 into main Nov 10, 2026
6 checks passed
@MFrancis-dev
MFrancis-dev deleted the fix/s7-14-pin-mainnet branch November 10, 2026 06:54
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