Skip to content

Commit

Permalink
Update deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Jan 27, 2024
1 parent fe2e871 commit 7ef662b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 35 deletions.
6 changes: 3 additions & 3 deletions active_contracts.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"bosagora_mainnet": {
"MultiSigWalletFactory": "0x173A004aCf3aF9ccc0785346F17733eA33f65BB9"
"MultiSigWalletFactory": "0xF120890C71B2B9fF4578088A398a2402Ae0d3616"
},
"bosagora_testnet": {
"MultiSigWalletFactory": "0x173A004aCf3aF9ccc0785346F17733eA33f65BB9"
"MultiSigWalletFactory": "0xF120890C71B2B9fF4578088A398a2402Ae0d3616"
},
"bosagora_devnet": {
"MultiSigWalletFactory": "0x173A004aCf3aF9ccc0785346F17733eA33f65BB9"
"MultiSigWalletFactory": "0xF120890C71B2B9fF4578088A398a2402Ae0d3616"
}
}
13 changes: 2 additions & 11 deletions packages/contracts/env/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@
MAIN_NET_URL=https://mainnet.bosagora.org
TEST_NET_URL=https://testnet.bosagora.org

# 0x02eaFC1091533F984dB53483a7215c7a982a3Ac1
DEPLOYER=0xdf29fb48bf34751707572533b6d6b4544e9ca1efb4a1fce9442164b575c0c061

# 0x2312c098Cef41C0F55350bC3Ad8F4AFf983d9432
OWNER1=0x7115a43c66bc8524959f721fa29a6f06605f21fe8dbcb8ec7d2ed9ddde1315bd

# 0x5AD84fF1bD71cDEa7C3083706F2D1232a453C604
OWNER2=0x5b93491a9dd558723ba323864e2312208127701154740c6a59a145f6cbc7d5e9

# 0x9630fF452211Cc95BBFa32c0C4cF68eB498b8549
OWNER3=0xc48891d685be9c531b592f66da2988dc2f1e1eb83f0e6de8d9a483be221d8376
# 0x6F8CF905906dDe9E440F0DF5B26146cf1f195F12
DEPLOYER=0x0d451ab5bd459f59fda0cf8018cfbfa4df5c454c5c25a844b70a5afcaf246c98

REPORT_GAS=true
21 changes: 0 additions & 21 deletions packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,6 @@ function getAccounts() {
accounts.push(process.env.DEPLOYER);
}

if (process.env.OWNER1 !== undefined && process.env.OWNER1.trim() !== "" && reg_bytes64.test(process.env.OWNER1)) {
accounts.push(process.env.OWNER1);
} else {
process.env.OWNER1 = Wallet.createRandom().privateKey;
accounts.push(process.env.OWNER1);
}

if (process.env.OWNER2 !== undefined && process.env.OWNER2.trim() !== "" && reg_bytes64.test(process.env.OWNER2)) {
accounts.push(process.env.OWNER2);
} else {
process.env.OWNER = Wallet.createRandom().privateKey;
accounts.push(process.env.OWNER);
}

if (process.env.OWNER3 !== undefined && process.env.OWNER3.trim() !== "" && reg_bytes64.test(process.env.OWNER3)) {
accounts.push(process.env.OWNER3);
} else {
process.env.OWNER3 = Wallet.createRandom().privateKey;
accounts.push(process.env.OWNER3);
}

while (accounts.length < 50) {
accounts.push(Wallet.createRandom().privateKey);
}
Expand Down

0 comments on commit 7ef662b

Please sign in to comment.