diff --git a/scripts/README.md b/scripts/README.md index c65dd18..725ef10 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -54,6 +54,7 @@ In this step we deploy the `MultiCallDeploy` only. We use the standard deploymen not need to be the same across all the environments. * Set the value of RELAYER_SUBMITTER_EOA_PUB_KEY to match the EOA of the primary Relayer submitter. The Submitter EOA is granted execute permission on the MultiCallDeploy. +* Set the value of MULTICALL_ADMIN_PUB_KEY * Set the `accountIndex` to 0 in `wallet-options.ts`. * Execute the command `npx hardhat run scripts/step0.ts --network <ENV>` @@ -65,6 +66,7 @@ this address is used to produce a deterministic counter factual address for the all the chains. * Set the value of RELAYER_SUBMITTER_EOA_PUB_KEY to match the EOA of the primary Relayer submitter. +* Set the value of the FACTORY_ADMIN_PUB_KEY to the privileged mulstisig pub key (Purple ledger) * Set the value of `multiCallDeployAddress` to match the address of the contract deployed in Step0. * Set the `accountIndex` to 10 in `wallet-options.ts`. * Execute the command `npx hardhat run scripts/step1.ts --network <ENV>` @@ -74,7 +76,8 @@ all the chains. In this step we deploy the contract that tracks the location of the latest wallet implementation. As this step just uses the CREATE2 contract factory we use the standard deployment key (Orange Key!!!). -* Set the value of WALLET_IMPL_LOCATOR_ADMIN, and WALLET_IMPL_CHANGER_ADMIN environment variables to the public key of the Priveleged key. +* Set the value of DEPLOYER_CONTRACT_ADDRESS to the address of the CREATE2 factory contract. +* Set the value of WALLET_IMPL_LOCATOR_ADMIN, and WALLET_IMPL_CHANGER_ADMIN environment variables to the public key of the Privileged key. * Set the `accountIndex` to 0. * Execute the command `npx hardhat run scripts/step2.ts --network <ENV>` diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step0.json b/scripts/deployment_artefacts/l1testnet_deploy/step0.json new file mode 100644 index 0000000..f51e2f6 --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step0.json @@ -0,0 +1,5 @@ +{ + "multiCallAdminPubKey": "0x0E2D55943f4EF07c336C12A85d083c20FF189182", + "multiCallDeploy": "0x0039Ae5ae1Dc345508b859d40903dDBA0C36Fc90", + "submitterAddress": "0x92fdaB84b46D49A5f999425c06D31A40C7d9E386" +} \ No newline at end of file diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step1.json b/scripts/deployment_artefacts/l1testnet_deploy/step1.json new file mode 100644 index 0000000..44c2fc5 --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step1.json @@ -0,0 +1,5 @@ +{ + "factoryAdminPubKey": "0x0E2D55943f4EF07c336C12A85d083c20FF189182", + "multiCallDeploy": "0x0039Ae5ae1Dc345508b859d40903dDBA0C36Fc90", + "factory": "0x8Fa5088dF65855E0DaF87FA6591659893b24871d" +} \ No newline at end of file diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step2.json b/scripts/deployment_artefacts/l1testnet_deploy/step2.json new file mode 100644 index 0000000..6821909 --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step2.json @@ -0,0 +1,5 @@ +{ + "walletImplLocatorAdmin": "0x0E2D55943f4EF07c336C12A85d083c20FF189182", + "walletImplChangerAdmin": "0x0E2D55943f4EF07c336C12A85d083c20FF189182", + "latestWalletImplLocator": "0xDB4b8F9D2C0C731A345a405b6335b3750d197b6C" +} \ No newline at end of file diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step3.json b/scripts/deployment_artefacts/l1testnet_deploy/step3.json new file mode 100644 index 0000000..4dd5c52 --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step3.json @@ -0,0 +1,4 @@ +{ + "walletImplLocatorAddress": "0xDB4b8F9D2C0C731A345a405b6335b3750d197b6C", + "startupWalletImpl": "0x8FD900677aabcbB368e0a27566cCd0C7435F1926" +} \ No newline at end of file diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step4.json b/scripts/deployment_artefacts/l1testnet_deploy/step4.json new file mode 100644 index 0000000..ade9ee7 --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step4.json @@ -0,0 +1,5 @@ +{ + "factoryAddress": "0x8Fa5088dF65855E0DaF87FA6591659893b24871d", + "startupWalletImplAddress": "0x8FD900677aabcbB368e0a27566cCd0C7435F1926", + "mainModuleDynamicAuth": "0xC2d54E4D795469f8616612CC343af078A892F36F" +} \ No newline at end of file diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step5.json b/scripts/deployment_artefacts/l1testnet_deploy/step5.json new file mode 100644 index 0000000..a8acae4 --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step5.json @@ -0,0 +1,6 @@ +{ + "signerRootAdminPubKey": "0x0E2D55943f4EF07c336C12A85d083c20FF189182", + "signerAdminPubKey": "0xB3533118Ff0f823fAF916AC499bB2a3E9054A698", + "signerAddress": "0x1cE50560686b1297B6311F36B47dbe5d6E04D0f8", + "immutableSigner": "0xcff469E561D9dCe5B1185CD2AC1Fa961F8fbDe61" +} \ No newline at end of file diff --git a/scripts/deployment_artefacts/l1testnet_deploy/step6.json b/scripts/deployment_artefacts/l1testnet_deploy/step6.json new file mode 100644 index 0000000..cbf335f --- /dev/null +++ b/scripts/deployment_artefacts/l1testnet_deploy/step6.json @@ -0,0 +1,5 @@ +{ + "mainModuleDynamicAuth": "0xC2d54E4D795469f8616612CC343af078A892F36F", + "walletImplLocatorContractAddress": "0xDB4b8F9D2C0C731A345a405b6335b3750d197b6C", + "signerAddress": "0x1cE50560686b1297B6311F36B47dbe5d6E04D0f8" +} \ No newline at end of file