recording: mainnet run tooling and rig adaptations - #149
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
New scripts (Deno, SDK-driven, no browser)
scan-channel.ts- read-only scan of a wallet's confidential UTXO balance in a channelrecover-channel-funds.ts- withdraw UTXO funds back to a public account headlessly, mirroring the wallet's prepareWithdrawOperations + provider submit pathdemo-activity.ts- generate minimal round-tripping confidential activity so the dashboard shows deposit/transfer/withdraw events and volumeSecrets are read from the environment throughout; nothing is hardcoded.
scan-channel.tsdoes carry the Salem channel and quorum contract IDs as defaults, which are public.