### OP Stack Deployment JSON Example Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Example JSON structure used to represent the pre-installed Safe Singleton Factory on OP Stack networks. This file is added to the repository to list the factory's address and signify that it doesn't require a signed deployment transaction. ```JSON { "gasPrice": 0, "gasLimit": 0, "signerAddress": "0x0000000000000000000000000000000000000000", "transaction": "0x", "address": "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7" } ``` -------------------------------- ### Verify Safe Singleton Factory Deployment using github-review Bash Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Executes the `github-review.sh` script to automate the verification of a deployment and approve the corresponding PR for a given GitHub issue number. Requires the `gh` CLI tool to be installed. Note: This utility does not currently support zkSync-based network deployments. ```bash bash bin/github-review.sh $NUMBER ``` -------------------------------- ### Deploy Safe Singleton Factory using github-deploy Bash Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Executes the `github-deploy.sh` script to automate the deployment process for a given GitHub issue number. Requires `gh` and `op` CLI tools to be installed. Note: This utility does not currently support zkSync-based network deployments. ```bash bash bin/github-deploy.sh $NUMBER ``` -------------------------------- ### Estimate and Compile Deployment Data using NPM Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Runs the `estimate-compile` NPM script to perform both transaction parameter estimation and deployment data compilation in a single step. This combines the `estimate` and `compile` steps. Optionally accepts an RPC URL and requires `MNEMONIC` in `.env`. ```shell npm run estimate-compile ["$RPC"] ``` -------------------------------- ### Manually Verify Deployment using NPM Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Runs the `verify` NPM script to manually check and confirm a deployment on the network. This is part of the manual verification process and requires the `RPC` for the network to be set in the `.env` file. ```shell npm run verify ``` -------------------------------- ### Compile zkSync Deployment Data using NPM Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Runs the `compile:zk` NPM script specifically for generating deployment data on zkSync-based networks. This is used instead of the standard `compile` script for these networks and requires `RPC` and `MNEMONIC` in `.env`. ```shell npm run compile:zk ``` -------------------------------- ### Compile Deployment Data using NPM Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Executes the `compile` NPM script to generate deployment data for a specified chain ID. This is part of the manual deployment process and allows optional overrides for gas price and gas limit. Requires `RPC` and `MNEMONIC` in `.env`. ```shell npm run compile [--gasPrice ] [--gasLimit ] ``` -------------------------------- ### Estimate Transaction Parameters using NPM Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Runs the `estimate` NPM script to calculate necessary transaction parameters (like gas) for deployment. This step is part of the manual deployment process and requires `RPC` and `MNEMONIC` to be set in the `.env` file. ```shell npm run estimate ``` -------------------------------- ### Submit Deployment Transaction using NPM Script Source: https://github.com/safe-global/safe-singleton-factory/blob/main/README.md Executes the `submit` NPM script to send the previously generated deployment transaction to the network. This step follows the compilation of deployment data using `compile` or `estimate-compile`. ```shell npm run submit ``` -------------------------------- ### EVM Bytecode Sequence Source: https://github.com/safe-global/safe-singleton-factory/blob/main/artifacts/bytecode.txt A raw hexadecimal string representing a sequence of EVM bytecode instructions. This could be part of a contract's deployment code or runtime code. ```Hexadecimal 604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.