Skip to content

Commit

Permalink
feat: add new networks
Browse files Browse the repository at this point in the history
  • Loading branch information
dzimiks committed Dec 25, 2023
1 parent 5c17576 commit 3e9c8f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/Tenderly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { InvalidArgumentsError } from '../errors';
* accountName: 'my-account',
* projectName: 'my-project',
* accessKey: 'my-access-key',
* network: Network.Mainnet,
* network: Network.MAINNET,
* })
*/
export class Tenderly {
Expand Down Expand Up @@ -47,7 +47,7 @@ export class Tenderly {
* accountName: 'my-account',
* projectName: 'my-project',
* accessKey: 'my-access-key',
* network: Network.Mainnet,
* network: Network.MAINNET,
* })
*/
constructor(configuration: TenderlyConfiguration) {
Expand Down
11 changes: 11 additions & 0 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,35 @@ export enum Network {
BOBA_ETHEREUM = 288,
CRONOS_TESTNET = 338,
OPTIMISTIC_GOERLI = 420,
ZORA_GOERLI = 999,
MOONBEAM = 1284,
MOONRIVER = 1285,
BOBA_MOONBEAM = 1294,
BOBA_MOONBASE = 1297,
HOLESKY = 17000,
BOBA_GOERLI = 2888,
FANTOM_TESTNET = 4002,
BOBA_AVALANCHE_FUJI = 4328,
MANTLE = 5000,
BASE = 8453,
BOBA_BINANCE_RIALTO = 9728,
ARBITRUM_ONE = 42161,
ARBITRUM_NOVA = 42170,
AVALANCHE_FUJI = 43113,
AVALANCHE = 43114,
BOBA_AVALANCHE = 43288,
BOBA_BINANCE = 56288,
LINEA_GOERLI = 59140,
LINEA = 59144,
POLYGON_MUMBAI = 80001,
BASE_GOERLI = 84531,
BASE_SEPOLIA = 84532,
ARBITRUM_GOERLI = 421613,
ARBITRUM_SEPOLIA = 421614,
ZORA = 7777777,
SEPOLIA = 11155111,
OPTIMISTIC_SEPOLIA = 11155420,
ZORA_SEPOLIA = 999999999,
}

export type TenderlyConfiguration = {
Expand Down

0 comments on commit 3e9c8f7

Please sign in to comment.