Skip to content

Commit

Permalink
Merge pull request #146 from BitGo/COIN-113-deploy-v2-contracts-topeth
Browse files Browse the repository at this point in the history
feat(deploy): update script to deploy v2 contracts on topeth
  • Loading branch information
mullapudipruthvik authored May 13, 2024
2 parents da9d1bb + 97281d2 commit 7ede5be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ const config: HardhatUserConfig = {
},
tarbeth: {
url: `${QUICKNODE_ARBITRUM_SEPOLIA_API_KEY}`,
accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`]
accounts: [`${TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`]
},
arbeth: {
url: `${QUICKNODE_ARBITRUM_ONE_API_KEY}`,
accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`]
},
topeth: {
url: `${QUICKNODE_OPTIMISM_SEPOLIA_API_KEY}`,
accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`]
accounts: [`${TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`]
},
opeth: {
url: `${QUICKNODE_OPTIMISM_API_KEY}`,
Expand Down
12 changes: 8 additions & 4 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,19 @@ async function main() {
case 42161:
// tarbeth
case 421614:
walletImplementationContractName = 'ArbethWalletSimple';
contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
walletImplementationContractName = 'WalletSimple';
forwarderContractName = 'Forwarder';
forwarderFactoryContractName = 'ForwarderFactory';
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
break;
// opeth
case 10:
// topeth
case 11155420:
walletImplementationContractName = 'OpethWalletSimple';
contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
walletImplementationContractName = 'WalletSimple';
forwarderContractName = 'Forwarder';
forwarderFactoryContractName = 'ForwarderFactory';
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
break;
// zketh
case 324:
Expand Down

0 comments on commit 7ede5be

Please sign in to comment.