Context
Stellar testnet is reset periodically, which wipes every deployed contract and account. When it
happens, this repo breaks in a specific and confusing way: the contract id in .env no longer
resolves, the live demo link 404s at the contract level, the README's on-chain evidence transactions
vanish, and npm run e2e fails partway.
scripts/e2e.ts already detects resets and prints recovery instructions, and scripts/testnet-health.ts
exists — the knowledge is in the code but not in a document an operator can follow.
Where to build it
- New file
docs/runbook-testnet-reset.md.
docs/troubleshooting.md — link it.
scripts/e2e.ts — its reset-detection message should point at the runbook.
README.md — the on-chain evidence table needs a note that these are testnet artifacts.
What to do
Acceptance criteria
- An operator who has never done it can recover the demo by following the document.
Context
Stellar testnet is reset periodically, which wipes every deployed contract and account. When it
happens, this repo breaks in a specific and confusing way: the contract id in
.envno longerresolves, the live demo link 404s at the contract level, the README's on-chain evidence transactions
vanish, and
npm run e2efails partway.scripts/e2e.tsalready detects resets and prints recovery instructions, andscripts/testnet-health.tsexists — the knowledge is in the code but not in a document an operator can follow.
Where to build it
docs/runbook-testnet-reset.md.docs/troubleshooting.md— link it.scripts/e2e.ts— its reset-detection message should point at the runbook.README.md— the on-chain evidence table needs a note that these are testnet artifacts.What to do
testnet-health, redeploy the contract, redeploy/repoint the test token, update.envandapp/.env, rerune2e, rebuild and redeploy the app, update the README's contract id and transaction hashes.Acceptance criteria