testnet with TEE support script#1803
Closed
barakeinav1 wants to merge 8 commits intomainfrom
Closed
Conversation
Collaborator
|
Closing this as stale, although we might want to brush this up and merge something similar. |
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.
related #1792
related to https://github.com/near/mpc-private/issues/102
This PR adds a new, fully automated and resumable deployment script for running and scaling an MPC testnet using TEE-backed nodes on testnet.
The main script orchestrates account creation, contract deployment, node provisioning, key collection, and on-chain voting. It is phase-gated, retry-safe, and designed to be re-run after partial failures without restarting from scratch.
deployment/testnet/scripts/scale_testnet_tee.sh
End-to-end deployment and scaling script.
Handles preflight checks, NEAR account management, node deployment via tee_launcher, contract initialization, and scaling via vote_new_parameters.
deployment/testnet/scripts/node.env.tpl
Per-node environment template used by the launcher (image, ports, accounts, networking).
deployment/testnet/scripts/node.conf.tpl
Per-node runtime configuration template.
deployment/testnet/scripts/how_to_run.md
Documentation covering required variables, phase model, resume semantics, and common workflows (fresh deploy, resume, scaling).
sweep_to_treasury.sh / sweep_to_treasury_RPC.sh - collecting some near to a main account to avoid used the faucet account too much. (a temporary W/A)