diff --git a/hardhat.config.ts b/hardhat.config.ts index 6f5e6a8..34e5392 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -79,7 +79,7 @@ const config: HardhatUserConfig = { tmatic: { // https://polygon-amoy.g.alchemy.com url: `https://polygon-amoy-bor-rpc.publicnode.com`, - accounts: [`${TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`] + accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`] }, bsc: { url: `https://bsc-dataseed1.binance.org/`, @@ -87,7 +87,7 @@ const config: HardhatUserConfig = { }, tbsc: { url: `https://data-seed-prebsc-1-s1.binance.org:8545/`, - accounts: [`${TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT}`] + accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`] }, tarbeth: { url: `${QUICKNODE_ARBITRUM_SEPOLIA_API_KEY}`, diff --git a/scripts/deploy.ts b/scripts/deploy.ts index bbadd1d..9677e07 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -40,16 +40,18 @@ async function main() { //tmatic case 80002: walletImplementationContractName = 'PolygonWalletSimple'; - forwarderContractName = 'Forwarder'; - forwarderFactoryContractName = 'ForwarderFactory'; + forwarderContractName = 'ForwarderV4'; + forwarderFactoryContractName = 'ForwarderFactoryV4'; contractPath = `contracts/coins/${walletImplementationContractName}.sol:${walletImplementationContractName}`; break; // bsc case 56: // tbsc case 97: - walletImplementationContractName = 'RecoveryWalletSimple'; - walletFactoryContractName = 'RecoveryWalletFactory'; + walletImplementationContractName = 'WalletSimple'; + forwarderContractName = 'ForwarderV4'; + forwarderFactoryContractName = 'ForwarderFactoryV4'; + contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`; break; // arbeth case 42161: