diff --git a/.github/workflows/deploy_and_release.yml b/.github/workflows/deploy_and_release.yml index 24f94a0..9a54230 100644 --- a/.github/workflows/deploy_and_release.yml +++ b/.github/workflows/deploy_and_release.yml @@ -36,13 +36,13 @@ jobs: result-encoding: string script: | const tag = process.env.GITHUB_REF_NAME; - const regex = /v.*\-(eth|gteth|matic|tmatic|bsc|tbsc)$/; + const regex = /v.*\-(eth|hteth|matic|tmatic|bsc|tbsc)$/; const network = tag.match(regex); - return network ? network[1] : "gteth"; + return network ? network[1] : "hteth"; deploy-to-test: runs-on: ubuntu-latest needs: [lint-and-test, get-network] - if: ${{ (needs.get-network.outputs.network == 'gteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) }} + if: ${{ (needs.get-network.outputs.network == 'hteth' ) || (needs.get-network.outputs.network == 'tmatic' ) || (needs.get-network.outputs.network == 'tbsc' ) }} environment: testnet steps: - uses: actions/checkout@v2 diff --git a/hardhat.config.ts b/hardhat.config.ts index 42fa479..bbd49d2 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -11,7 +11,8 @@ import 'solidity-coverage'; const { PRIVATE_KEY, - ALCHEMY_ETHER_API_KEY, + QUICKNODE_ETH_MAINNET_API_KEY, + QUICKNODE_ETH_HOLESKY_API_KEY, ETHERSCAN_API_KEY, ALCHEMY_POLYGON_API_KEY, POLYGONSCAN_API_KEY, @@ -41,11 +42,11 @@ const config: HardhatUserConfig = { loggingEnabled: false }, eth: { - url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ETHER_API_KEY}`, + url: `https://ultra-empty-sanctuary.quiknode.pro/${QUICKNODE_ETH_MAINNET_API_KEY}`, accounts: [`${PRIVATE_KEY}`] }, - gteth: { - url: `https://eth-goerli.alchemyapi.io/v2/${ALCHEMY_ETHER_API_KEY}`, + hteth: { + url: `https://boldest-cosmological-mountain.ethereum-holesky.quiknode.pro/${QUICKNODE_ETH_HOLESKY_API_KEY}`, accounts: [`${PRIVATE_KEY}`] }, matic: { diff --git a/scripts/deploy.ts b/scripts/deploy.ts index 3352856..db7e660 100644 --- a/scripts/deploy.ts +++ b/scripts/deploy.ts @@ -19,7 +19,7 @@ async function main() { // https://chainlist.org/ //eth case 1: - //gteth + //hteth case 5: walletImplementationContractName = 'WalletSimple'; break;