Skip to content

feat(dev): contract spike — execute_cosigned_transfer devnet simulation (dev-only)#110

Merged
epicexcelsior merged 1 commit into
anonmesh:stagingfrom
epicexcelsior:night3/contract-spike
Jun 13, 2026
Merged

feat(dev): contract spike — execute_cosigned_transfer devnet simulation (dev-only)#110
epicexcelsior merged 1 commit into
anonmesh:stagingfrom
epicexcelsior:night3/contract-spike

Conversation

@epicexcelsior

Copy link
Copy Markdown
Collaborator

What

A dev-only screen that builds and simulates the live anonbeta1 execute_cosigned_transfer against devnet — the first app↔contract awareness.

  • Reachable only via the dev menu (/dev/contract-spike), behind a real if (!__DEV__) return <Redirect /> guard.
  • Simulation only (simulateTransaction, sigVerify off) — no signing, no keys, devnet-pinned connection. Cannot run in production, cannot touch real funds.

Scope

New contractSpike.ts service + dev screen. No production surface.

Test

tsc clean · tier0 config/services clean · fake-money + lint clean. Reviewed: DEV redirect guard confirmed, connection hard-pinned to devnet, fixtures are public keys only.

Dev-menu screen builds the settlement instruction (discriminator, args,
PDA derivation, full account ordering) against the live devnet program
and verifies it via simulation — no signatures, nothing moves, not
reachable from production surfaces. Twin workstation harness
(contract/scripts/cosign-transfer-spike.mjs) ran the REAL co-signed
path on devnet: settlement PDA init + 2% beacon split confirmed
on-chain. First app-side awareness of the contract.
@epicexcelsior epicexcelsior merged commit 6410b7b into anonmesh:staging Jun 13, 2026
1 check passed
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