diff options
| author | Adam Soltys <[email protected]> | 2026-12-04 13:19:32 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-12-04 13:19:32 -0700 |
| commit | c13388dc345f74b194eb106680a0cf9cf6da013f (patch) | |
| tree | cf9364494ab455124b45be191904698dd957f196 /vmedia | |
| parent | d18cf2b2db74a9eb8b2a62708e8158428bb90a15 (diff) | |
| download | coinosv3-server-c13388dc345f74b194eb106680a0cf9cf6da013f.tar.gz coinosv3-server-c13388dc345f74b194eb106680a0cf9cf6da013f.zip | |
migrator: moves wallets' Spending coins off the retired ark.coinos.io to 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
Diffstat (limited to 'vmedia')
0 files changed, 0 insertions, 0 deletions
