Skip to content

Commit

Permalink
chore(eth-multisig-v4): flr,sgb config
Browse files Browse the repository at this point in the history
Ticket: WIN-4355
  • Loading branch information
yogeshwar-bitgo committed Jan 14, 2025
1 parent 07b84ff commit f5810d3
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 40 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/deploy_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
get-network:
runs-on: ubuntu-latest
needs: [lint-and-test]
Expand Down Expand Up @@ -98,6 +102,10 @@ jobs:
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
- name: Update release notes
uses: actions/github-script@v6
with:
Expand Down Expand Up @@ -129,7 +137,7 @@ jobs:
deploy-to-prod:
runs-on: ubuntu-latest
needs: [lint-and-test, get-network]
if: ${{ (needs.get-network.outputs.network == 'eth' ) || (needs.get-network.outputs.network == 'matic' ) || (needs.get-network.outputs.network == 'bsc' ) || (needs.get-network.outputs.network == 'arbeth' ) || (needs.get-network.outputs.network == 'opeth' ) || (needs.get-network.outputs.network == 'zketh' ) || (needs.get-network.outputs.network == 'baseeth' ) || (needs.get-network.outputs.network == 'bera' ) || (needs.get-network.outputs.network == 'avaxc' ) || (needs.get-network.outputs.network == 'coredao' ) || (needs.get-network.outputs.network == 'oas' ) }}
if: ${{ (needs.get-network.outputs.network == 'eth' ) || (needs.get-network.outputs.network == 'matic' ) || (needs.get-network.outputs.network == 'bsc' ) || (needs.get-network.outputs.network == 'arbeth' ) || (needs.get-network.outputs.network == 'opeth' ) || (needs.get-network.outputs.network == 'zketh' ) || (needs.get-network.outputs.network == 'baseeth' ) || (needs.get-network.outputs.network == 'bera' ) || (needs.get-network.outputs.network == 'avaxc' ) || (needs.get-network.outputs.network == 'coredao' ) || (needs.get-network.outputs.network == 'oas' ) || (needs.get-network.outputs.network == 'flr' ) || (needs.get-network.outputs.network == 'sgb' ) }}
environment: mainnet
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -166,6 +174,10 @@ jobs:
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
- name: Update release notes
uses: actions/github-script@v6
with:
Expand Down
88 changes: 50 additions & 38 deletions .github/workflows/deploy_batcher_contract.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,50 @@
name: Deploy Batcher Contract and Update Release
on:
release:
types: [published]
release:
types: [published]
jobs:
lint-and-test:
environment: dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run test
env:
MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT: ${{ secrets.PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT }}
PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP: ${{ secrets.PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP }}
PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT: ${{ secrets.PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT }}
PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT: ${{ secrets.PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT }}
QUICKNODE_ETH_MAINNET_API_KEY: ${{ secrets.QUICKNODE_ETH_MAINNET_API_KEY }}
QUICKNODE_ETH_HOLESKY_API_KEY: ${{ secrets.QUICKNODE_ETH_HOLESKY_API_KEY }}
QUICKNODE_ARBITRUM_SEPOLIA_API_KEY: ${{ secrets.QUICKNODE_ARBITRUM_SEPOLIA_API_KEY }}
QUICKNODE_ARBITRUM_ONE_API_KEY: ${{ secrets.QUICKNODE_ARBITRUM_ONE_API_KEY }}
QUICKNODE_OPTIMISM_SEPOLIA_API_KEY: ${{ secrets.QUICKNODE_OPTIMISM_SEPOLIA_API_KEY }}
QUICKNODE_OPTIMISM_API_KEY: ${{ secrets.QUICKNODE_OPTIMISM_API_KEY }}
QUICKNODE_ZKSYNC_SEPOLIA_API_KEY: ${{ secrets.QUICKNODE_ZKSYNC_SEPOLIA_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ALCHEMY_POLYGON_API_KEY: ${{ secrets.ALCHEMY_POLYGON_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
BSCSCAN_API_KEY: ${{ secrets.BSCSCAN_API_KEY }}
ARBISCAN_API_KEY: ${{ secrets.ARBISCAN_API_KEY }}
OPTIMISTIC_ETHERSCAN_API_KEY: ${{ secrets.OPTIMISTIC_ETHERSCAN_API_KEY }}
ZKSYNC_EXPLORER_API_KEY: ${{ secrets.ZKSYNC_EXPLORER_API_KEY }}
BASESCAN_API_KEY: ${{ secrets.BASESCAN_API_KEY }}
BARTIO_BERA_EXPLORER_API_KEY: ${{ secrets.BARTIO_BERA_EXPLORER_API_KEY }}
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'npm'
- run: npm install
- run: npm run lint
- run: npm run test
env:
MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.MAINNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT: ${{ secrets.TESTNET_PRIVATE_KEY_FOR_CONTRACT_DEPLOYMENT }}
PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT: ${{ secrets.PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT }}
PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP: ${{ secrets.PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT_BACKUP }}
PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT: ${{ secrets.PRIVATE_KEY_FOR_V1_WALLET_CONTRACT_DEPLOYMENT }}
PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT: ${{ secrets.PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT }}
QUICKNODE_ETH_MAINNET_API_KEY: ${{ secrets.QUICKNODE_ETH_MAINNET_API_KEY }}
QUICKNODE_ETH_HOLESKY_API_KEY: ${{ secrets.QUICKNODE_ETH_HOLESKY_API_KEY }}
QUICKNODE_ARBITRUM_SEPOLIA_API_KEY: ${{ secrets.QUICKNODE_ARBITRUM_SEPOLIA_API_KEY }}
QUICKNODE_ARBITRUM_ONE_API_KEY: ${{ secrets.QUICKNODE_ARBITRUM_ONE_API_KEY }}
QUICKNODE_OPTIMISM_SEPOLIA_API_KEY: ${{ secrets.QUICKNODE_OPTIMISM_SEPOLIA_API_KEY }}
QUICKNODE_OPTIMISM_API_KEY: ${{ secrets.QUICKNODE_OPTIMISM_API_KEY }}
QUICKNODE_ZKSYNC_SEPOLIA_API_KEY: ${{ secrets.QUICKNODE_ZKSYNC_SEPOLIA_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
ALCHEMY_POLYGON_API_KEY: ${{ secrets.ALCHEMY_POLYGON_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
BSCSCAN_API_KEY: ${{ secrets.BSCSCAN_API_KEY }}
ARBISCAN_API_KEY: ${{ secrets.ARBISCAN_API_KEY }}
OPTIMISTIC_ETHERSCAN_API_KEY: ${{ secrets.OPTIMISTIC_ETHERSCAN_API_KEY }}
ZKSYNC_EXPLORER_API_KEY: ${{ secrets.ZKSYNC_EXPLORER_API_KEY }}
BASESCAN_API_KEY: ${{ secrets.BASESCAN_API_KEY }}
BARTIO_BERA_EXPLORER_API_KEY: ${{ secrets.BARTIO_BERA_EXPLORER_API_KEY }}
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
get-network:
runs-on: ubuntu-latest
needs: [lint-and-test]
Expand All @@ -65,7 +69,7 @@ jobs:
deploy-batcher-contract-to-test:
runs-on: ubuntu-latest
needs: [lint-and-test, get-network]
if: ${{ (needs.get-network.outputs.network == 'hteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) || (needs.get-network.outputs.network == 'tarbeth' ) || (needs.get-network.outputs.network == 'topeth' ) || (needs.get-network.outputs.network == 'tzketh' ) || (needs.get-network.outputs.network == 'tbaseeth' ) || (needs.get-network.outputs.network == 'tbera' ) || (needs.get-network.outputs.network == 'tavaxc' ) || (needs.get-network.outputs.network == 'tcoredao' ) || (needs.get-network.outputs.network == 'toas' ) }}
if: ${{ (needs.get-network.outputs.network == 'hteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) || (needs.get-network.outputs.network == 'tarbeth' ) || (needs.get-network.outputs.network == 'topeth' ) || (needs.get-network.outputs.network == 'tzketh' ) || (needs.get-network.outputs.network == 'tbaseeth' ) || (needs.get-network.outputs.network == 'tbera' ) || (needs.get-network.outputs.network == 'tavaxc' ) || (needs.get-network.outputs.network == 'tcoredao' ) || (needs.get-network.outputs.network == 'toas' ) }}
environment: testnet
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -99,6 +103,10 @@ jobs:
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
- name: Update release notes
uses: actions/github-script@v7
with:
Expand All @@ -110,7 +118,7 @@ jobs:
deploy-batcher-contract-to-prod:
runs-on: ubuntu-latest
needs: [lint-and-test, get-network]
if: ${{ (needs.get-network.outputs.network == 'eth' ) || (needs.get-network.outputs.network == 'matic' ) || (needs.get-network.outputs.network == 'bsc' ) || (needs.get-network.outputs.network == 'arbeth' ) || (needs.get-network.outputs.network == 'opeth' ) || (needs.get-network.outputs.network == 'zketh' ) || (needs.get-network.outputs.network == 'baseeth' ) || (needs.get-network.outputs.network == 'bera' ) || (needs.get-network.outputs.network == 'avaxc' ) || (needs.get-network.outputs.network == 'coredao' ) || (needs.get-network.outputs.network == 'oas' ) }}
if: ${{ (needs.get-network.outputs.network == 'eth' ) || (needs.get-network.outputs.network == 'matic' ) || (needs.get-network.outputs.network == 'bsc' ) || (needs.get-network.outputs.network == 'arbeth' ) || (needs.get-network.outputs.network == 'opeth' ) || (needs.get-network.outputs.network == 'zketh' ) || (needs.get-network.outputs.network == 'baseeth' ) || (needs.get-network.outputs.network == 'bera' ) || (needs.get-network.outputs.network == 'avaxc' ) || (needs.get-network.outputs.network == 'coredao' ) || (needs.get-network.outputs.network == 'oas' ) }}
environment: mainnet
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -144,6 +152,10 @@ jobs:
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
- name: Update release notes
uses: actions/github-script@v7
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ jobs:
OAS_EXPLORER_API_KEY: ${{ secrets.OAS_EXPLORER_API_KEY }}
CORE_DAO_TESTNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_TESTNET_EXPLORER_API_KEY }}
CORE_DAO_MAINNET_EXPLORER_API_KEY: ${{ secrets.CORE_DAO_MAINNET_EXPLORER_API_KEY }}
FLARE_TESTNET_EXPLORER_API_KEY: ${{ secrets.FLARE_TESTNET_EXPLORER_API_KEY }}
FLARE_MAINNET_EXPLORER_API_KEY: ${{ secrets.FLARE_MAINNET_EXPLORER_API_KEY }}
SONGBIRD_TESTNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_TESTNET_EXPLORER_API_KEY }}
SONGBIRD_MAINNET_EXPLORER_API_KEY: ${{ secrets.SONGBIRD_MAINNET_EXPLORER_API_KEY }}
- run: npm run lint
76 changes: 75 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ const {
BARTIO_BERA_EXPLORER_API_KEY,
OAS_EXPLORER_API_KEY,
CORE_DAO_TESTNET_EXPLORER_API_KEY,
CORE_DAO_MAINNET_EXPLORER_API_KEY
CORE_DAO_MAINNET_EXPLORER_API_KEY,
FLARE_TESTNET_EXPLORER_API_KEY,
FLARE__MAINNET_EXPLORER_API_KEY,
SONGBIRD_TESTNET_EXPLORER_API_KEY,
SONGBIRD_MAINNET_EXPLORER_API_KEY
} = process.env;

const config: HardhatUserConfig = {
Expand Down Expand Up @@ -169,6 +173,38 @@ const config: HardhatUserConfig = {
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
]
},
tflare: {
url: `https://coston2-api.flare.network/ext/C/rpc`,
accounts: [
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
]
},
tsongbird: {
url: `https://coston-api.flare.network/ext/C/rpc`,
accounts: [
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
]
},
flare: {
url: `https://flare-api.flare.network/ext/C/rpc`,
accounts: [
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
]
},
songbird: {
url: `https://songbird-api.flare.network/ext/C/rpc`,
accounts: [
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`,
`${PRIVATE_KEY_FOR_BATCHER_CONTRACT_DEPLOYMENT}`
]
},
tavaxc: {
url: 'https://api.avax-test.network/ext/C/rpc',
accounts: [`${PRIVATE_KEY_FOR_V4_CONTRACT_DEPLOYMENT}`]
Expand Down Expand Up @@ -213,6 +249,12 @@ const config: HardhatUserConfig = {
//Core Dao
coredaoTestnet: `${CORE_DAO_TESTNET_EXPLORER_API_KEY}`,
coredaoMainnet: `${CORE_DAO_MAINNET_EXPLORER_API_KEY}`,
//Flare
flareTestnet: `${FLARE_TESTNET_EXPLORER_API_KEY}`,
flareMainnet: `${FLARE__MAINNET_EXPLORER_API_KEY}`,
//Songbird
songbirdTestnet: `${SONGBIRD_TESTNET_EXPLORER_API_KEY}`,
songbirdMainnet: `${SONGBIRD_MAINNET_EXPLORER_API_KEY}`,
//avaxc
// there is free api key for avaxc, so make use of 2 req/sec
avaxc: 'sampleapikey',
Expand Down Expand Up @@ -341,6 +383,38 @@ const config: HardhatUserConfig = {
'https://api.routescan.io/v2/network/testnet/evm/43113/etherscan/api',
browserURL: 'https://testnet.snowtrace.io/'
}
},
{
network: 'flareTestnet',
chainId: 114,
urls: {
apiURL: 'https://coston2-explorer.flare.network/api',
browserURL: 'https://coston2-explorer.flare.network'
}
},
{
network: 'flareMainnet',
chainId: 14,
urls: {
apiURL: 'https://flare-explorer.flare.network/api',
browserURL: 'https://flare-explorer.flare.network'
}
},
{
network: 'songbirdTestnet',
chainId: 16,
urls: {
apiURL: 'https://coston-explorer.flare.network/api',
browserURL: 'https://coston-explorer.flare.network'
}
},
{
network: 'songbirdMainnet',
chainId: 19,
urls: {
apiURL: 'https://songbird-explorer.flare.network/api ',
browserURL: 'https://songbird.flarescan.com'
}
}
]
},
Expand Down
6 changes: 6 additions & 0 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ async function main() {
forwarderFactoryContractName = 'ForwarderFactory';
contractPath = `contracts/${walletImplementationContractName}.sol:${walletImplementationContractName}`;
break;
//Flare
case 14:
case 114:
//Songbird
case 19:
case 16:
// bera
case 80084:
// coredao
Expand Down

0 comments on commit f5810d3

Please sign in to comment.