Skip to content

Commit

Permalink
Update network aliases in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenligiray committed Apr 14, 2023
1 parent 9062ea3 commit 0c1e9e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/airnode-examples/src/scripts/choose-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ const defaultProviderUrl = (network: string): string => {
case 'localhost':
// Hardhat network default
return 'http://127.0.0.1:8545/';
case 'goerli':
case 'ethereum-goerli-testnet':
return getExamplePocketNetwork(network);
case 'polygon-testnet':
return `https://polygon-mumbai.g.alchemy.com/v2/`;
case 'sepolia':
case 'ethereum-sepolia-testnet':
return 'https://sepolia.infura.io/v3/<INFURA_ID>';
default:
return getExamplePocketNetwork(network);
Expand Down
2 changes: 1 addition & 1 deletion packages/airnode-examples/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import prompts, { PromptObject } from 'prompts';
import isWsl from 'is-wsl';
import references from '@api3/airnode-protocol/deployments/references.json';

export const supportedNetworks = ['sepolia', 'polygon-testnet', 'goerli'] as const;
export const supportedNetworks = ['ethereum-sepolia-testnet', 'polygon-testnet', 'ethereum-goerli-testnet'] as const;

export interface IntegrationInfo {
integration: string;
Expand Down

0 comments on commit 0c1e9e2

Please sign in to comment.