aboutsummaryrefslogtreecommitdiffstats
path: root/migrator/e2e-test.js
Commit message (Collapse)AuthorAgeFilesLines
* migrator: board the float from any wallet (finds the board output in the ↵Adam Soltys24 hours1-2/+5
| | | | | | | | | funding tx). The funding tx for the float's board comes from an ordinary wallet, which may put change first. /admin/board remembers each board's address and amount; /admin/board/complete looks the tx up on esplora, finds the output paying exactly that to that address, and boards from that vout (409 until esplora has seen the tx). e2e: the float board is funded with change first (vout 1) — 20/20 pass. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar
* migrator: moves wallets' Spending coins off the retired ark.coinos.io to ↵Adam Soltys24 hours1-0/+147
ark2.coinos.io. ark.coinos.io's server key was stolen in the 2026-12-04 breach. The app (coinosv3 5bf43a1) now points "coinos" at ark2.coinos.io and, for a wallet still holding coins on the old server, asks this service for a deposit address there (a key of its own per migration, so each payer is known), sends the coins, and gets the same amount paid on ark2 from this service's float. Payouts are crash-safe the way the names forwarder's are (in-flight record before the send, the float wallet's own send record decides on retry). Bounded against the stolen key (whoever holds it can co-sign a second spend of their own old coins): boarding is off on the old server, each migration over maxSat and all of them past dailySat per UTC day wait for an admin release. Admin: summary, release, and boarding on-chain coins into the ark2 float. migrator/e2e-test.js runs it on regtest against two captaind 0.8.0-coinos servers: happy path, wrong-server destination refused, cap hold + release, restart without double payment, and the app's migrate.js sending several coins in batches — all 19 checks pass. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6WoqaQDYdpWkatPCar