Skip to content

Commit

Permalink
➕ Add Fraxtal Test Network Deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Mar 14, 2024
1 parent 2c6aa19 commit 8ce6902
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 63 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,7 @@ To verify a deployed [`CreateX`](./src/CreateX.sol) contract on a block explorer
- [OP-Endurance Testnet](https://explorer-l2-testnet.fusionist.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Blast Testnet](https://sepolia.blastscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [DOS Chain Testnet](https://test.doscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
- [Fraxtal Testnet](https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)

## Integration With External Tooling

Expand Down
7 changes: 7 additions & 0 deletions deployments/deployments.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,5 +462,12 @@
"urls": [
"https://test.doscan.io/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
},
{
"name": "Fraxtal Testnet",
"chainId": 2522,
"urls": [
"https://holesky.fraxscan.com/address/0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed"
]
}
]
15 changes: 15 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,11 @@ const config: HardhatUserConfig = {
url: vars.get("DOS_MAINNET_URL", "https://main.doschain.com"),
accounts,
},
fraxtalTestnet: {
chainId: 2522,
url: vars.get("FRAXTAL_TESTNET_URL", "https://rpc.testnet.frax.com"),
accounts,
},
},
contractSizer: {
alphaSort: true,
Expand Down Expand Up @@ -600,6 +605,8 @@ const config: HardhatUserConfig = {
// For DOS Chain testnet & mainnet
dos: vars.get("DOS_API_KEY", ""),
dosTestnet: vars.get("DOS_API_KEY", ""),
// For Fraxtal testnet
fraxtalTestnet: vars.get("FRAXTAL_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -964,6 +971,14 @@ const config: HardhatUserConfig = {
browserURL: "https://test.doscan.io",
},
},
{
network: "fraxtalTestnet",
chainId: 2522,
urls: {
apiURL: "https://api-holesky.fraxscan.com/api",
browserURL: "https://holesky.fraxscan.com",
},
},
],
},
};
Expand Down
2 changes: 1 addition & 1 deletion interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@next/eslint-plugin-next": "^14.1.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.11.27",
"@types/react": "^18.2.65",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"autoprefixer": "^10.4.18",
"eslint": "^8.57.0",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"deploy:kromamain": "npx hardhat run --no-compile --network kromaMain scripts/deploy.ts",
"deploy:dostestnet": "npx hardhat run --no-compile --network dosTestnet scripts/deploy.ts",
"deploy:dosmain": "npx hardhat run --no-compile --network dosMain scripts/deploy.ts",
"deploy:fraxtaltestnet": "npx hardhat run --no-compile --network fraxtalTestnet scripts/deploy.ts",
"prettier:check": "npx prettier -c \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
"prettier:check:interface": "cd interface && pnpm prettier:check",
"prettier:fix": "npx prettier -w \"**/*.{js,ts,md,sol,json,yml,yaml}\"",
Expand All @@ -132,7 +133,7 @@
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"ethers": "^6.11.1",
"hardhat": "^2.22.0",
"hardhat": "^2.22.1",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^2.0.0",
Expand Down
Loading

0 comments on commit 8ce6902

Please sign in to comment.