Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitski-provider

Package Overview
Dependencies
Maintainers
6
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitski-provider - npm Package Compare versions

Comparing version 2.0.0-beta.12 to 2.0.0-beta.13

6

CHANGELOG.md
# bitski-provider
## 2.0.0-beta.13
### Minor Changes
- [#331](https://github.com/BitskiCo/bitski-js/pull/331) [`ce354c8`](https://github.com/BitskiCo/bitski-js/commit/ce354c8ed35d5925cc82510f0143eeacc8b9b3e7) Thanks [@chronicIntrovert](https://github.com/chronicIntrovert)! - Add zkSync Era to list of supported network constants
## 2.0.0-beta.12

@@ -4,0 +10,0 @@

2

dist/bitski-provider.js

@@ -43,3 +43,3 @@ import SafeEventEmitter from '@metamask/safe-event-emitter';

this.activeSubs = new Set();
this.config = Object.assign(Object.assign({}, config), { fetch: (_a = config.fetch) !== null && _a !== void 0 ? _a : fetch, additionalHeaders: Object.assign({ 'X-API-KEY': config.clientId, 'X-CLIENT-ID': config.clientId, 'X-CLIENT-VERSION': "bitski-provider-v2.0.0-beta.12" }, ((_b = config.additionalHeaders) !== null && _b !== void 0 ? _b : {})), apiBaseUrl: (_c = config.apiBaseUrl) !== null && _c !== void 0 ? _c : BITSKI_API_BASE_URL, signerBaseUrl: (_d = config.signerBaseUrl) !== null && _d !== void 0 ? _d : BITSKI_SIGNER_BASE_URL, store: (_e = config.store) !== null && _e !== void 0 ? _e : new LocalStorageStore(), sign: (_f = config.sign) !== null && _f !== void 0 ? _f : createBrowserSigner() });
this.config = Object.assign(Object.assign({}, config), { fetch: (_a = config.fetch) !== null && _a !== void 0 ? _a : fetch, additionalHeaders: Object.assign({ 'X-API-KEY': config.clientId, 'X-CLIENT-ID': config.clientId, 'X-CLIENT-VERSION': "bitski-provider-v2.0.0-beta.13" }, ((_b = config.additionalHeaders) !== null && _b !== void 0 ? _b : {})), apiBaseUrl: (_c = config.apiBaseUrl) !== null && _c !== void 0 ? _c : BITSKI_API_BASE_URL, signerBaseUrl: (_d = config.signerBaseUrl) !== null && _d !== void 0 ? _d : BITSKI_SIGNER_BASE_URL, store: (_e = config.store) !== null && _e !== void 0 ? _e : new LocalStorageStore(), sign: (_f = config.sign) !== null && _f !== void 0 ? _f : createBrowserSigner() });
this.store = new BitskiProviderStateStore(this.config.store);

@@ -46,0 +46,0 @@ // Setup the engine

@@ -50,22 +50,22 @@ import { EthMethod } from 'eth-provider-types';

124, 125, 126, 127, 128, 137, 141, 142, 162, 163, 168, 170, 172, 186, 188, 189, 199, 200, 211,
218, 222, 225, 226, 246, 250, 256, 258, 262, 269, 288, 300, 321, 322, 333, 335, 336, 338, 361,
363, 364, 365, 369, 385, 420, 499, 512, 513, 555, 558, 588, 595, 600, 666, 686, 700, 707, 708,
721, 777, 787, 788, 803, 820, 821, 880, 888, 900, 901, 902, 903, 940, 941, 942, 977, 998, 999,
1001, 1007, 1008, 1010, 1012, 1022, 1023, 1024, 1028, 1030, 1088, 1139, 1140, 1197, 1201, 1202,
1213, 1214, 1280, 1284, 1285, 1286, 1287, 1288, 1337, 1618, 1620, 1657, 1688, 1856, 1898, 1984,
1987, 2001, 2020, 2021, 2022, 2025, 2100, 2101, 2152, 2153, 2213, 2221, 2559, 3000, 3001, 3331,
3333, 3334, 3400, 3500, 3690, 3966, 3967, 4002, 4102, 4689, 4690, 4918, 5197, 5315, 5700, 5777,
5851, 5869, 6626, 7341, 7878, 8000, 8001, 8029, 8080, 8217, 8285, 8723, 8724, 8888, 8995, 9000,
9001, 9100, 9527, 9999, 10000, 10001, 10101, 10823, 11111, 11437, 12051, 12052, 13381, 16000,
16001, 19845, 21337, 21816, 24484, 24734, 31102, 31337, 32659, 39797, 42069, 42161, 42220, 42261,
42262, 43110, 43113, 43114, 44787, 45000, 47805, 49797, 53935, 55555, 55556, 60000, 60001, 60002,
60103, 62320, 63000, 63001, 69420, 70000, 70001, 70002, 70103, 71393, 73799, 78110, 80001, 99998,
99999, 100000, 100001, 100002, 100003, 100004, 100005, 100006, 100007, 100008, 108801, 110000,
110001, 110002, 110003, 110004, 110005, 110006, 110007, 110008, 200101, 200625, 201018, 201030,
210425, 234666, 246529, 246785, 281121, 333888, 333999, 421611, 444900, 666666, 888888, 955305,
1313114, 1313500, 1337702, 2203181, 7762959, 11155111, 13371337, 18289463, 20181205, 28945486,
35855456, 61717561, 99415706, 192837465, 245022926, 245022934, 245022940, 311752642, 356256156,
486217935, 1122334455, 1313161554, 1313161555, 1313161556, 1666600000, 1666600001, 1666600002,
1666600003, 1666700000, 1666700001, 1666700002, 1666700003, 2021121117, 3125659152, 4216137055,
11297108099, 11297108109, 197710212030, 197710212031, 6022140761023, 868455272153094,
218, 222, 225, 226, 246, 250, 256, 258, 262, 269, 280, 288, 300, 321, 322, 324, 333, 335, 336,
338, 361, 363, 364, 365, 369, 385, 420, 499, 512, 513, 555, 558, 588, 595, 600, 666, 686, 700,
707, 708, 721, 777, 787, 788, 803, 820, 821, 880, 888, 900, 901, 902, 903, 940, 941, 942, 977,
998, 999, 1001, 1007, 1008, 1010, 1012, 1022, 1023, 1024, 1028, 1030, 1088, 1139, 1140, 1197,
1201, 1202, 1213, 1214, 1280, 1284, 1285, 1286, 1287, 1288, 1337, 1618, 1620, 1657, 1688, 1856,
1898, 1984, 1987, 2001, 2020, 2021, 2022, 2025, 2100, 2101, 2152, 2153, 2213, 2221, 2559, 3000,
3001, 3331, 3333, 3334, 3400, 3500, 3690, 3966, 3967, 4002, 4102, 4689, 4690, 4918, 5197, 5315,
5700, 5777, 5851, 5869, 6626, 7341, 7878, 8000, 8001, 8029, 8080, 8217, 8285, 8723, 8724, 8888,
8995, 9000, 9001, 9100, 9527, 9999, 10000, 10001, 10101, 10823, 11111, 11437, 12051, 12052, 13381,
16000, 16001, 19845, 21337, 21816, 24484, 24734, 31102, 31337, 32659, 39797, 42069, 42161, 42220,
42261, 42262, 43110, 43113, 43114, 44787, 45000, 47805, 49797, 53935, 55555, 55556, 60000, 60001,
60002, 60103, 62320, 63000, 63001, 69420, 70000, 70001, 70002, 70103, 71393, 73799, 78110, 80001,
99998, 99999, 100000, 100001, 100002, 100003, 100004, 100005, 100006, 100007, 100008, 108801,
110000, 110001, 110002, 110003, 110004, 110005, 110006, 110007, 110008, 200101, 200625, 201018,
201030, 210425, 234666, 246529, 246785, 281121, 333888, 333999, 421611, 444900, 666666, 888888,
955305, 1313114, 1313500, 1337702, 2203181, 7762959, 11155111, 13371337, 18289463, 20181205,
28945486, 35855456, 61717561, 99415706, 192837465, 245022926, 245022934, 245022940, 311752642,
356256156, 486217935, 1122334455, 1313161554, 1313161555, 1313161556, 1666600000, 1666600001,
1666600002, 1666600003, 1666700000, 1666700001, 1666700002, 1666700003, 2021121117, 3125659152,
4216137055, 11297108099, 11297108109, 197710212030, 197710212031, 6022140761023, 868455272153094,
].map(toHex);

@@ -84,2 +84,4 @@ const makeChainDef = (chainId, chainName, blockExplorerUrl) => ({

export const Optimism = makeChainDef(10, 'Optimism', 'https://optimistic.etherscan.io/');
export const ZkSyncEra = makeChainDef(324, 'zkSync Era', 'https://explorer.zksync.io');
export const ZkSyncEraTestnet = makeChainDef(280, 'zkSync Era Testnet', 'https://goerli.explorer.zksync.io');
export const BinanceSmartChain = makeChainDef(56, 'BinanceSmartChain', 'https://bscscan.com/');

@@ -94,4 +96,6 @@ export const BinanceSmartChainTestnet = makeChainDef(97, 'BinanceSmartChainTestnet', 'https://testnet.bscscan.com/');

Optimism,
ZkSyncEra,
ZkSyncEraTestnet,
BinanceSmartChain,
BinanceSmartChainTestnet,
];

@@ -49,3 +49,3 @@ "use strict";

this.activeSubs = new Set();
this.config = Object.assign(Object.assign({}, config), { fetch: (_a = config.fetch) !== null && _a !== void 0 ? _a : fetch, additionalHeaders: Object.assign({ 'X-API-KEY': config.clientId, 'X-CLIENT-ID': config.clientId, 'X-CLIENT-VERSION': "bitski-provider-v2.0.0-beta.12" }, ((_b = config.additionalHeaders) !== null && _b !== void 0 ? _b : {})), apiBaseUrl: (_c = config.apiBaseUrl) !== null && _c !== void 0 ? _c : constants_1.BITSKI_API_BASE_URL, signerBaseUrl: (_d = config.signerBaseUrl) !== null && _d !== void 0 ? _d : constants_1.BITSKI_SIGNER_BASE_URL, store: (_e = config.store) !== null && _e !== void 0 ? _e : new store_1.LocalStorageStore(), sign: (_f = config.sign) !== null && _f !== void 0 ? _f : (0, browser_1.default)() });
this.config = Object.assign(Object.assign({}, config), { fetch: (_a = config.fetch) !== null && _a !== void 0 ? _a : fetch, additionalHeaders: Object.assign({ 'X-API-KEY': config.clientId, 'X-CLIENT-ID': config.clientId, 'X-CLIENT-VERSION': "bitski-provider-v2.0.0-beta.13" }, ((_b = config.additionalHeaders) !== null && _b !== void 0 ? _b : {})), apiBaseUrl: (_c = config.apiBaseUrl) !== null && _c !== void 0 ? _c : constants_1.BITSKI_API_BASE_URL, signerBaseUrl: (_d = config.signerBaseUrl) !== null && _d !== void 0 ? _d : constants_1.BITSKI_SIGNER_BASE_URL, store: (_e = config.store) !== null && _e !== void 0 ? _e : new store_1.LocalStorageStore(), sign: (_f = config.sign) !== null && _f !== void 0 ? _f : (0, browser_1.default)() });
this.store = new store_1.BitskiProviderStateStore(this.config.store);

@@ -52,0 +52,0 @@ // Setup the engine

@@ -17,4 +17,6 @@ import { EthChainDefinitionWithRpcUrl } from './types';

export declare const Optimism: EthChainDefinitionWithRpcUrl;
export declare const ZkSyncEra: EthChainDefinitionWithRpcUrl;
export declare const ZkSyncEraTestnet: EthChainDefinitionWithRpcUrl;
export declare const BinanceSmartChain: EthChainDefinitionWithRpcUrl;
export declare const BinanceSmartChainTestnet: EthChainDefinitionWithRpcUrl;
export declare const DEFAULT_CHAINS: EthChainDefinitionWithRpcUrl[];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_CHAINS = exports.BinanceSmartChainTestnet = exports.BinanceSmartChain = exports.Optimism = exports.ArbitrumOne = exports.Mumbai = exports.Polygon = exports.Goerli = exports.Mainnet = exports.SUPPORTED_CHAIN_IDS = exports.UNAUTHORIZED_ERRORS = exports.RETRIABLE_ERRORS = exports.AUTHENTICATED_METHODS = exports.SIGN_METHODS = exports.IFRAME_MESSAGE_ORIGIN_ENDS_WITH = exports.BITSKI_SIGNER_BASE_URL = exports.BITSKI_RPC_BASE_URL = exports.BITSKI_API_BASE_URL = void 0;
exports.DEFAULT_CHAINS = exports.BinanceSmartChainTestnet = exports.BinanceSmartChain = exports.ZkSyncEraTestnet = exports.ZkSyncEra = exports.Optimism = exports.ArbitrumOne = exports.Mumbai = exports.Polygon = exports.Goerli = exports.Mainnet = exports.SUPPORTED_CHAIN_IDS = exports.UNAUTHORIZED_ERRORS = exports.RETRIABLE_ERRORS = exports.AUTHENTICATED_METHODS = exports.SIGN_METHODS = exports.IFRAME_MESSAGE_ORIGIN_ENDS_WITH = exports.BITSKI_SIGNER_BASE_URL = exports.BITSKI_RPC_BASE_URL = exports.BITSKI_API_BASE_URL = void 0;
const eth_provider_types_1 = require("eth-provider-types");

@@ -53,22 +53,22 @@ const parse_utils_1 = require("./utils/parse-utils");

124, 125, 126, 127, 128, 137, 141, 142, 162, 163, 168, 170, 172, 186, 188, 189, 199, 200, 211,
218, 222, 225, 226, 246, 250, 256, 258, 262, 269, 288, 300, 321, 322, 333, 335, 336, 338, 361,
363, 364, 365, 369, 385, 420, 499, 512, 513, 555, 558, 588, 595, 600, 666, 686, 700, 707, 708,
721, 777, 787, 788, 803, 820, 821, 880, 888, 900, 901, 902, 903, 940, 941, 942, 977, 998, 999,
1001, 1007, 1008, 1010, 1012, 1022, 1023, 1024, 1028, 1030, 1088, 1139, 1140, 1197, 1201, 1202,
1213, 1214, 1280, 1284, 1285, 1286, 1287, 1288, 1337, 1618, 1620, 1657, 1688, 1856, 1898, 1984,
1987, 2001, 2020, 2021, 2022, 2025, 2100, 2101, 2152, 2153, 2213, 2221, 2559, 3000, 3001, 3331,
3333, 3334, 3400, 3500, 3690, 3966, 3967, 4002, 4102, 4689, 4690, 4918, 5197, 5315, 5700, 5777,
5851, 5869, 6626, 7341, 7878, 8000, 8001, 8029, 8080, 8217, 8285, 8723, 8724, 8888, 8995, 9000,
9001, 9100, 9527, 9999, 10000, 10001, 10101, 10823, 11111, 11437, 12051, 12052, 13381, 16000,
16001, 19845, 21337, 21816, 24484, 24734, 31102, 31337, 32659, 39797, 42069, 42161, 42220, 42261,
42262, 43110, 43113, 43114, 44787, 45000, 47805, 49797, 53935, 55555, 55556, 60000, 60001, 60002,
60103, 62320, 63000, 63001, 69420, 70000, 70001, 70002, 70103, 71393, 73799, 78110, 80001, 99998,
99999, 100000, 100001, 100002, 100003, 100004, 100005, 100006, 100007, 100008, 108801, 110000,
110001, 110002, 110003, 110004, 110005, 110006, 110007, 110008, 200101, 200625, 201018, 201030,
210425, 234666, 246529, 246785, 281121, 333888, 333999, 421611, 444900, 666666, 888888, 955305,
1313114, 1313500, 1337702, 2203181, 7762959, 11155111, 13371337, 18289463, 20181205, 28945486,
35855456, 61717561, 99415706, 192837465, 245022926, 245022934, 245022940, 311752642, 356256156,
486217935, 1122334455, 1313161554, 1313161555, 1313161556, 1666600000, 1666600001, 1666600002,
1666600003, 1666700000, 1666700001, 1666700002, 1666700003, 2021121117, 3125659152, 4216137055,
11297108099, 11297108109, 197710212030, 197710212031, 6022140761023, 868455272153094,
218, 222, 225, 226, 246, 250, 256, 258, 262, 269, 280, 288, 300, 321, 322, 324, 333, 335, 336,
338, 361, 363, 364, 365, 369, 385, 420, 499, 512, 513, 555, 558, 588, 595, 600, 666, 686, 700,
707, 708, 721, 777, 787, 788, 803, 820, 821, 880, 888, 900, 901, 902, 903, 940, 941, 942, 977,
998, 999, 1001, 1007, 1008, 1010, 1012, 1022, 1023, 1024, 1028, 1030, 1088, 1139, 1140, 1197,
1201, 1202, 1213, 1214, 1280, 1284, 1285, 1286, 1287, 1288, 1337, 1618, 1620, 1657, 1688, 1856,
1898, 1984, 1987, 2001, 2020, 2021, 2022, 2025, 2100, 2101, 2152, 2153, 2213, 2221, 2559, 3000,
3001, 3331, 3333, 3334, 3400, 3500, 3690, 3966, 3967, 4002, 4102, 4689, 4690, 4918, 5197, 5315,
5700, 5777, 5851, 5869, 6626, 7341, 7878, 8000, 8001, 8029, 8080, 8217, 8285, 8723, 8724, 8888,
8995, 9000, 9001, 9100, 9527, 9999, 10000, 10001, 10101, 10823, 11111, 11437, 12051, 12052, 13381,
16000, 16001, 19845, 21337, 21816, 24484, 24734, 31102, 31337, 32659, 39797, 42069, 42161, 42220,
42261, 42262, 43110, 43113, 43114, 44787, 45000, 47805, 49797, 53935, 55555, 55556, 60000, 60001,
60002, 60103, 62320, 63000, 63001, 69420, 70000, 70001, 70002, 70103, 71393, 73799, 78110, 80001,
99998, 99999, 100000, 100001, 100002, 100003, 100004, 100005, 100006, 100007, 100008, 108801,
110000, 110001, 110002, 110003, 110004, 110005, 110006, 110007, 110008, 200101, 200625, 201018,
201030, 210425, 234666, 246529, 246785, 281121, 333888, 333999, 421611, 444900, 666666, 888888,
955305, 1313114, 1313500, 1337702, 2203181, 7762959, 11155111, 13371337, 18289463, 20181205,
28945486, 35855456, 61717561, 99415706, 192837465, 245022926, 245022934, 245022940, 311752642,
356256156, 486217935, 1122334455, 1313161554, 1313161555, 1313161556, 1666600000, 1666600001,
1666600002, 1666600003, 1666700000, 1666700001, 1666700002, 1666700003, 2021121117, 3125659152,
4216137055, 11297108099, 11297108109, 197710212030, 197710212031, 6022140761023, 868455272153094,
].map(parse_utils_1.toHex);

@@ -87,2 +87,4 @@ const makeChainDef = (chainId, chainName, blockExplorerUrl) => ({

exports.Optimism = makeChainDef(10, 'Optimism', 'https://optimistic.etherscan.io/');
exports.ZkSyncEra = makeChainDef(324, 'zkSync Era', 'https://explorer.zksync.io');
exports.ZkSyncEraTestnet = makeChainDef(280, 'zkSync Era Testnet', 'https://goerli.explorer.zksync.io');
exports.BinanceSmartChain = makeChainDef(56, 'BinanceSmartChain', 'https://bscscan.com/');

@@ -97,2 +99,4 @@ exports.BinanceSmartChainTestnet = makeChainDef(97, 'BinanceSmartChainTestnet', 'https://testnet.bscscan.com/');

exports.Optimism,
exports.ZkSyncEra,
exports.ZkSyncEraTestnet,
exports.BinanceSmartChain,

@@ -99,0 +103,0 @@ exports.BinanceSmartChainTestnet,

@@ -12,3 +12,3 @@ {

},
"version": "2.0.0-beta.12",
"version": "2.0.0-beta.13",
"scripts": {

@@ -15,0 +15,0 @@ "test": "jest",

@@ -59,22 +59,22 @@ import { EthMethod } from 'eth-provider-types';

124, 125, 126, 127, 128, 137, 141, 142, 162, 163, 168, 170, 172, 186, 188, 189, 199, 200, 211,
218, 222, 225, 226, 246, 250, 256, 258, 262, 269, 288, 300, 321, 322, 333, 335, 336, 338, 361,
363, 364, 365, 369, 385, 420, 499, 512, 513, 555, 558, 588, 595, 600, 666, 686, 700, 707, 708,
721, 777, 787, 788, 803, 820, 821, 880, 888, 900, 901, 902, 903, 940, 941, 942, 977, 998, 999,
1001, 1007, 1008, 1010, 1012, 1022, 1023, 1024, 1028, 1030, 1088, 1139, 1140, 1197, 1201, 1202,
1213, 1214, 1280, 1284, 1285, 1286, 1287, 1288, 1337, 1618, 1620, 1657, 1688, 1856, 1898, 1984,
1987, 2001, 2020, 2021, 2022, 2025, 2100, 2101, 2152, 2153, 2213, 2221, 2559, 3000, 3001, 3331,
3333, 3334, 3400, 3500, 3690, 3966, 3967, 4002, 4102, 4689, 4690, 4918, 5197, 5315, 5700, 5777,
5851, 5869, 6626, 7341, 7878, 8000, 8001, 8029, 8080, 8217, 8285, 8723, 8724, 8888, 8995, 9000,
9001, 9100, 9527, 9999, 10000, 10001, 10101, 10823, 11111, 11437, 12051, 12052, 13381, 16000,
16001, 19845, 21337, 21816, 24484, 24734, 31102, 31337, 32659, 39797, 42069, 42161, 42220, 42261,
42262, 43110, 43113, 43114, 44787, 45000, 47805, 49797, 53935, 55555, 55556, 60000, 60001, 60002,
60103, 62320, 63000, 63001, 69420, 70000, 70001, 70002, 70103, 71393, 73799, 78110, 80001, 99998,
99999, 100000, 100001, 100002, 100003, 100004, 100005, 100006, 100007, 100008, 108801, 110000,
110001, 110002, 110003, 110004, 110005, 110006, 110007, 110008, 200101, 200625, 201018, 201030,
210425, 234666, 246529, 246785, 281121, 333888, 333999, 421611, 444900, 666666, 888888, 955305,
1313114, 1313500, 1337702, 2203181, 7762959, 11155111, 13371337, 18289463, 20181205, 28945486,
35855456, 61717561, 99415706, 192837465, 245022926, 245022934, 245022940, 311752642, 356256156,
486217935, 1122334455, 1313161554, 1313161555, 1313161556, 1666600000, 1666600001, 1666600002,
1666600003, 1666700000, 1666700001, 1666700002, 1666700003, 2021121117, 3125659152, 4216137055,
11297108099, 11297108109, 197710212030, 197710212031, 6022140761023, 868455272153094,
218, 222, 225, 226, 246, 250, 256, 258, 262, 269, 280, 288, 300, 321, 322, 324, 333, 335, 336,
338, 361, 363, 364, 365, 369, 385, 420, 499, 512, 513, 555, 558, 588, 595, 600, 666, 686, 700,
707, 708, 721, 777, 787, 788, 803, 820, 821, 880, 888, 900, 901, 902, 903, 940, 941, 942, 977,
998, 999, 1001, 1007, 1008, 1010, 1012, 1022, 1023, 1024, 1028, 1030, 1088, 1139, 1140, 1197,
1201, 1202, 1213, 1214, 1280, 1284, 1285, 1286, 1287, 1288, 1337, 1618, 1620, 1657, 1688, 1856,
1898, 1984, 1987, 2001, 2020, 2021, 2022, 2025, 2100, 2101, 2152, 2153, 2213, 2221, 2559, 3000,
3001, 3331, 3333, 3334, 3400, 3500, 3690, 3966, 3967, 4002, 4102, 4689, 4690, 4918, 5197, 5315,
5700, 5777, 5851, 5869, 6626, 7341, 7878, 8000, 8001, 8029, 8080, 8217, 8285, 8723, 8724, 8888,
8995, 9000, 9001, 9100, 9527, 9999, 10000, 10001, 10101, 10823, 11111, 11437, 12051, 12052, 13381,
16000, 16001, 19845, 21337, 21816, 24484, 24734, 31102, 31337, 32659, 39797, 42069, 42161, 42220,
42261, 42262, 43110, 43113, 43114, 44787, 45000, 47805, 49797, 53935, 55555, 55556, 60000, 60001,
60002, 60103, 62320, 63000, 63001, 69420, 70000, 70001, 70002, 70103, 71393, 73799, 78110, 80001,
99998, 99999, 100000, 100001, 100002, 100003, 100004, 100005, 100006, 100007, 100008, 108801,
110000, 110001, 110002, 110003, 110004, 110005, 110006, 110007, 110008, 200101, 200625, 201018,
201030, 210425, 234666, 246529, 246785, 281121, 333888, 333999, 421611, 444900, 666666, 888888,
955305, 1313114, 1313500, 1337702, 2203181, 7762959, 11155111, 13371337, 18289463, 20181205,
28945486, 35855456, 61717561, 99415706, 192837465, 245022926, 245022934, 245022940, 311752642,
356256156, 486217935, 1122334455, 1313161554, 1313161555, 1313161556, 1666600000, 1666600001,
1666600002, 1666600003, 1666700000, 1666700001, 1666700002, 1666700003, 2021121117, 3125659152,
4216137055, 11297108099, 11297108109, 197710212030, 197710212031, 6022140761023, 868455272153094,
].map(toHex);

@@ -99,2 +99,8 @@

export const Optimism = makeChainDef(10, 'Optimism', 'https://optimistic.etherscan.io/');
export const ZkSyncEra = makeChainDef(324, 'zkSync Era', 'https://explorer.zksync.io');
export const ZkSyncEraTestnet = makeChainDef(
280,
'zkSync Era Testnet',
'https://goerli.explorer.zksync.io',
);
export const BinanceSmartChain = makeChainDef(56, 'BinanceSmartChain', 'https://bscscan.com/');

@@ -114,4 +120,6 @@ export const BinanceSmartChainTestnet = makeChainDef(

Optimism,
ZkSyncEra,
ZkSyncEraTestnet,
BinanceSmartChain,
BinanceSmartChainTestnet,
];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc