Skip to content

Commit

Permalink
➕ Add Manta Pacific Mainnet Deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Sep 13, 2023
1 parent a23011d commit 2bd85f8
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 13 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ All files | 100 | 100 | 100 | 100 |
- Linea: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://lineascan.build/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- Zora: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://explorer.zora.energy/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- LUKSO: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://explorer.execution.mainnet.lukso.network/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- Manta Pacific [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://pacific-explorer.manta.network/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- **Ethereum Test Networks:**
- Rinkeby (⚠️ Deprecated): [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://rinkeby.etherscan.io/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- Ropsten (⚠️ Deprecated): [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://ropsten.etherscan.io/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
Expand Down Expand Up @@ -108,6 +109,6 @@ All files | 100 | 100 | 100 | 100 |
- Linea Testnet: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://goerli.lineascan.build/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- Zora Testnet: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://testnet.explorer.zora.energy/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- LUKSO Testnet: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://explorer.execution.testnet.lukso.network/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- Manta Testnet: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://pacific-explorer.testnet.manta.network/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)
- Manta Pacific Testnet: [`0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2`](https://pacific-explorer.testnet.manta.network/address/0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2)

[^1]: Please refer to [this](https://github.com/pcaversaccio/create2deployer/issues/128) issue why the contract [`Create2Deployer`](https://github.com/pcaversaccio/create2deployer/blob/main/contracts/Create2Deployer.sol) was not deployed on the Base mainnet.
21 changes: 18 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,12 @@ const config: HardhatUserConfig = {
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
mantaMain: {
chainId: 169,
url: process.env.MANTA_MAINNET_URL || "",
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
},
gasReporter: {
enabled: process.env.REPORT_GAS !== undefined,
Expand Down Expand Up @@ -508,7 +514,8 @@ const config: HardhatUserConfig = {
// For Lukso testnet & mainnet
lukso: process.env.LUKSO_API_KEY || "",
luksoTestnet: process.env.LUKSO_API_KEY || "",
// For Manta testnet
// For Manta testnet & mainnet
manta: process.env.MANTA_API_KEY || "",
mantaTestnet: process.env.MANTA_API_KEY || "",
},
customChains: [
Expand Down Expand Up @@ -729,13 +736,21 @@ const config: HardhatUserConfig = {
},
},
{
network: "mantaTestnet",
chainId: 3441005,
network: "manta",
chainId: 169,
urls: {
apiURL: "https://pacific-explorer.manta.network/api",
browserURL: "https://pacific-explorer.manta.network",
},
},
{
network: "mantaTestnet",
chainId: 3441005,
urls: {
apiURL: "https://pacific-explorer.testnet.manta.network/api",
browserURL: "https://pacific-explorer.testnet.manta.network",
},
},
],
},
};
Expand Down
19 changes: 10 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"deploy:luksotestnet": "npx hardhat run --network luksoTestnet scripts/deploy.ts",
"deploy:luksomain": "npx hardhat run --network luksoMain scripts/deploy.ts",
"deploy:mantatestnet": "npx hardhat run --network mantaTestnet scripts/deploy.ts",
"deploy:mantamain": "npx hardhat run --network mantaMain scripts/deploy.ts",
"prettier:check": "npx prettier -c **/*.{js,ts,md,sol,json,yml,yaml}",
"prettier:fix": "npx prettier -w **/*.{js,ts,md,sol,json,yml,yaml}",
"solhint:check": "npx solhint 'contracts/**/*.sol'",
Expand Down

0 comments on commit 2bd85f8

Please sign in to comment.