Skip to content

recording: mainnet run tooling and rig adaptations - #149

Merged
AquiGorka merged 3 commits into
mainfrom
recording/mainnet-run-tooling
Jul 31, 2026
Merged

recording: mainnet run tooling and rig adaptations#149
AquiGorka merged 3 commits into
mainfrom
recording/mainnet-run-tooling

Conversation

@AquiGorka

Copy link
Copy Markdown
Contributor

Everything the recording rig needed to drive the Tranche 3 run against mainnet, plus the three headless tools written along the way.

Playwright rig adaptations

  • Freighter switches to Public when the target network is mainnet, instead of relying on its default
  • Councils and README retitled Tranche 2 -> Tranche 3
  • Deposit/send/withdraw amounts dropped from testnet scale (100/25/20) to the amounts actually used on mainnet (20/15/10), and PP OpEx funding from 500 to 10, with a note that the OpEx is only drawn on in phase 03 and should be topped up out of band rather than moving real XLM at testnet scale

New scripts (Deno, SDK-driven, no browser)

  • scan-channel.ts - read-only scan of a wallet's confidential UTXO balance in a channel
  • recover-channel-funds.ts - withdraw UTXO funds back to a public account headlessly, mirroring the wallet's prepareWithdrawOperations + provider submit path
  • demo-activity.ts - generate minimal round-tripping confidential activity so the dashboard shows deposit/transfer/withdraw events and volume

Secrets are read from the environment throughout; nothing is hardcoded. scan-channel.ts does carry the Salem channel and quorum contract IDs as defaults, which are public.

Mainnet has no Friendbot, so funding every account and aborting on failure
made mainnet runs impossible. When TARGET=mainnet, skip funding and log that
the four deterministic accounts (admin/pp/alice/bob) must be pre-funded with
real XLM out of band. Local/testnet behavior unchanged.
Switches Freighter to Public for mainnet, retitles the councils and README to
Tranche 3, and drops the deposit/send/withdraw and OpEx funding amounts from
testnet scale to the amounts actually used on mainnet.
Headless SDK-driven tools written during the mainnet run: read a wallet's
confidential balance, withdraw UTXO funds back to a public account without a
browser, and generate minimal round-tripping activity so the dashboard shows
events and volume.
@AquiGorka
AquiGorka requested a review from fazzatti July 31, 2026 20:29
@AquiGorka
AquiGorka merged commit fff1dce into main Jul 31, 2026
10 of 11 checks passed
@AquiGorka
AquiGorka deleted the recording/mainnet-run-tooling branch July 31, 2026 20:48
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