Skip to content

Commit

Permalink
♻️ Add Additional Network Configurations and Bump Dependencies
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 Jun 9, 2024
1 parent 694cc1c commit 429a1d1
Show file tree
Hide file tree
Showing 4 changed files with 348 additions and 320 deletions.
2 changes: 1 addition & 1 deletion contracts/lib/forge-std
Submodule forge-std updated 2 files
+3 −0 src/Vm.sol
+1 −1 test/Vm.t.sol
102 changes: 100 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -720,11 +720,52 @@ const config: HardhatUserConfig = {
chainId: 111,
url: vars.get("BOB_TESTNET_URL", "https://testnet.rpc.gobob.xyz"),
accounts,
ledgerAccounts,
},
bobMain: {
chainId: 60808,
url: vars.get("BOB_MAINNET_URL", "https://rpc.gobob.xyz"),
accounts,
ledgerAccounts,
},
coreTestnet: {
chainId: 1115,
url: vars.get("CORE_TESTNET_URL", "https://rpc.test.btcs.network"),
accounts,
ledgerAccounts,
},
coreMain: {
chainId: 1116,
url: vars.get("CORE_MAINNET_URL", "https://rpc.coredao.org"),
accounts,
ledgerAccounts,
},
telosTestnet: {
chainId: 41,
url: vars.get("TELOS_TESTNET_URL", "https://testnet.telos.net/evm"),
accounts,
ledgerAccounts,
},
telosMain: {
chainId: 40,
url: vars.get("TELOS_MAINNET_URL", "https://mainnet.telos.net/evm"),
accounts,
ledgerAccounts,
},
rootstockTestnet: {
chainId: 31,
url: vars.get(
"ROOTSTOCK_TESTNET_URL",
"https://public-node.testnet.rsk.co",
),
accounts,
ledgerAccounts,
},
rootstockMain: {
chainId: 30,
url: vars.get("ROOTSTOCK_MAINNET_URL", "https://public-node.rsk.co"),
accounts,
ledgerAccounts,
},
},
xdeploy: {
Expand Down Expand Up @@ -913,6 +954,15 @@ const config: HardhatUserConfig = {
// For BOB testnet & mainnet
bob: vars.get("BOB_API_KEY", ""),
bobTestnet: vars.get("BOB_API_KEY", ""),
// For Core testnet & mainnet
core: vars.get("CORE_MAINNET_API_KEY", ""),
coreTestnet: vars.get("CORE_TESTNET_API_KEY", ""),
// For Telos testnet & mainnet
telos: vars.get("TELOS_API_KEY", ""),
telosTestnet: vars.get("TELOS_API_KEY", ""),
// For Rootstock testnet & mainnet
rootstock: vars.get("ROOTSTOCK_API_KEY", ""),
rootstockTestnet: vars.get("ROOTSTOCK_API_KEY", ""),
},
customChains: [
{
Expand Down Expand Up @@ -999,8 +1049,8 @@ const config: HardhatUserConfig = {
network: "evmosTestnet",
chainId: 9000,
urls: {
apiURL: "https://testnet.escan.live/api",
browserURL: "https://testnet.escan.live",
apiURL: "https://api.verify.mintscan.io/evm/api/0x2328",
browserURL: "https://www.mintscan.io/evmos-testnet",
},
},
{
Expand Down Expand Up @@ -1391,6 +1441,54 @@ const config: HardhatUserConfig = {
browserURL: "https://testnet-explorer.gobob.xyz",
},
},
{
network: "core",
chainId: 1116,
urls: {
apiURL: "https://openapi.coredao.org/api",
browserURL: "https://scan.coredao.org",
},
},
{
network: "coreTestnet",
chainId: 1115,
urls: {
apiURL: "https://api.test.btcs.network/api",
browserURL: "https://scan.test.btcs.network",
},
},
{
network: "telos",
chainId: 40,
urls: {
apiURL: "https://api.teloscan.io/api",
browserURL: "https://www.teloscan.io",
},
},
{
network: "telosTestnet",
chainId: 41,
urls: {
apiURL: "https://api.testnet.teloscan.io/api",
browserURL: "https://testnet.teloscan.io",
},
},
{
network: "rootstock",
chainId: 30,
urls: {
apiURL: "https://rootstock.blockscout.com/api",
browserURL: "https://rootstock.blockscout.com",
},
},
{
network: "rootstockTestnet",
chainId: 31,
urls: {
apiURL: "https://rootstock-testnet.blockscout.com/api",
browserURL: "https://rootstock-testnet.blockscout.com",
},
},
],
},
tenderly: {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.1",
"@types/node": "^20.14.2",
"chai": "^4.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -168,15 +168,15 @@
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^2.2.0",
"prettier": "^3.3.0",
"prettier": "^3.3.1",
"prettier-plugin-solidity": "^1.3.1",
"solhint": "^5.0.1",
"solidity-coverage": "^0.8.12",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.12.0",
"xdeployer": "^3.0.11",
"zksync-ethers": "^6.7.1"
"xdeployer": "^3.0.12",
"zksync-ethers": "^6.8.0"
}
}
Loading

0 comments on commit 429a1d1

Please sign in to comment.