Skip to content

Commit 3b03946

Browse files
committed
add abstract testnet deployment configs
1 parent 3ae8c0d commit 3b03946

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

deploy/deploy.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ const CHAIN_PARAMS = {
1919
protocolFeeBeneficiary: "0xa65d67513328445b4a4d2f498624483c2601dda4",
2020
wethAddress: "0x263d8f36bb8d0d9526255e205868c26690b04b88",
2121
},
22+
// Abstract Testnet
23+
11124: {
24+
lpFee: DEFAULT_LP_FEE,
25+
protocolFee: DEFAULT_PROTOCOL_FEE,
26+
protocolFeeBeneficiary: "0x5a25839b49eec2d4c173b42668a84f5988599929",
27+
wethAddress: "0xe642f7d1f07af75ed8198f0b4d68f14244baaab5",
28+
},
2229
// Abstract
2330
2741: {
2431
lpFee: DEFAULT_LP_FEE,

hardhat.config.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,20 @@ const config: HardhatUserConfig = {
3535
"https://rpc-explorer-verify.treasure.lol/contract_verification",
3636
kmsKeyId: prodKmsKey,
3737
},
38+
abstractTestnet: {
39+
url: "https://api.testnet.abs.xyz",
40+
ethNetwork: "sepolia",
41+
chainId: 0x2B74,
42+
zksync: true,
43+
kmsKeyId: devKmsKey,
44+
},
3845
abstract: {
3946
url: "https://api.mainnet.abs.xyz",
4047
ethNetwork: "mainnet",
4148
chainId: 0xAB5,
4249
zksync: true,
50+
live: true,
51+
saveDeployments: true,
4352
kmsKeyId: prodKmsKey,
4453
},
4554
arbitrumSepolia: {
@@ -71,9 +80,18 @@ const config: HardhatUserConfig = {
7180
apiKey: {
7281
arbitrumSepolia: process.env.ARBISCAN_API_KEY ?? "",
7382
arbitrumOne: process.env.ARBISCAN_API_KEY ?? "",
83+
abstractTestnet: process.env.ABSCAN_API_KEY ?? "",
7484
abstract: process.env.ABSCAN_API_KEY ?? "",
7585
},
7686
customChains: [
87+
{
88+
network: "abstractTestnet",
89+
chainId: 0x2B74,
90+
urls: {
91+
apiURL: "https://api-sepolia.abscan.org/api",
92+
browserURL: "https://sepolia.abscan.org"
93+
}
94+
},
7795
{
7896
network: "abstract",
7997
chainId: 0xAB5,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"deploy:treasure-topaz": "hardhat deploy-zksync --network treasureTopaz",
88
"deploy:treasure-mainnet": "hardhat deploy-zksync --network treasureMainnet",
9+
"deploy:abstract-testnet": "hardhat deploy-zksync --network abstractTestnet",
910
"deploy:abstract": "hardhat deploy-zksync --network abstract",
1011
"deploy:arbitrum-sepolia": "hardhat deploy --network arbitrumSepolia",
1112
"deploy:arbitrum-one": "hardhat deploy --network arbitrumOne",

0 commit comments

Comments
 (0)