@wagmi/core 0.5.0 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/chains/dist/wagmi-core-chains.cjs.dev.js +4 -2
- package/chains/dist/wagmi-core-chains.cjs.prod.js +4 -2
- package/chains/dist/wagmi-core-chains.esm.js +2 -2
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.dev.js +3 -3
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.prod.js +3 -3
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.esm.js +3 -3
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.dev.js +3 -3
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.prod.js +3 -3
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.esm.js +3 -3
- package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.dev.js +3 -3
- package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.prod.js +3 -3
- package/connectors/mock/dist/wagmi-core-connectors-mock.esm.js +3 -3
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.dev.js +3 -3
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.prod.js +3 -3
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.esm.js +3 -3
- package/dist/{chains-a1aae67e.cjs.dev.js → chains-3916cd7d.cjs.prod.js} +69 -9
- package/dist/{chains-4b1a6cf8.esm.js → chains-505e1070.esm.js} +68 -10
- package/dist/{chains-13baf029.cjs.prod.js → chains-bd8ad853.cjs.dev.js} +69 -9
- package/dist/declarations/src/chains.d.ts +1 -1
- package/dist/declarations/src/constants/chains.d.ts +6 -0
- package/dist/declarations/src/constants/rpcs.d.ts +3 -3
- package/dist/declarations/src/types/index.d.ts +2 -0
- package/dist/{getProvider-5b369460.cjs.prod.js → getProvider-a1ad435d.cjs.prod.js} +2 -1
- package/dist/{getProvider-e4848469.cjs.dev.js → getProvider-e2217cb6.cjs.dev.js} +2 -1
- package/dist/{getProvider-dda5b21b.esm.js → getProvider-e3d84eba.esm.js} +2 -1
- package/dist/{rpcs-3d4e8104.cjs.dev.js → rpcs-3cf5a783.cjs.dev.js} +9 -3
- package/dist/{rpcs-4b3a7778.cjs.prod.js → rpcs-afd1cc09.cjs.prod.js} +9 -3
- package/dist/{rpcs-5dc0ea1f.esm.js → rpcs-e837abf2.esm.js} +9 -3
- package/dist/wagmi-core.cjs.dev.js +3 -3
- package/dist/wagmi-core.cjs.prod.js +3 -3
- package/dist/wagmi-core.esm.js +4 -4
- package/package.json +4 -4
- package/providers/alchemy/dist/wagmi-core-providers-alchemy.cjs.dev.js +1 -1
- package/providers/alchemy/dist/wagmi-core-providers-alchemy.cjs.prod.js +1 -1
- package/providers/alchemy/dist/wagmi-core-providers-alchemy.esm.js +1 -1
- package/providers/infura/dist/wagmi-core-providers-infura.cjs.dev.js +1 -1
- package/providers/infura/dist/wagmi-core-providers-infura.cjs.prod.js +1 -1
- package/providers/infura/dist/wagmi-core-providers-infura.esm.js +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,6 @@ Check out the following places for more wagmi-related content:
|
|
|
25
25
|
|
|
26
26
|
If you find wagmi useful, please consider supporting development. Thank you 🙏
|
|
27
27
|
|
|
28
|
-
- [GitHub Sponsors](https://github.com/sponsors/
|
|
28
|
+
- [GitHub Sponsors](https://github.com/sponsors/wagmi-dev?metadata_campaign=readme_core)
|
|
29
29
|
- [Gitcoin Grant](https://gitcoin.co/grants/4493/wagmi-react-hooks-library-for-ethereum)
|
|
30
30
|
- [wagmi-dev.eth](https://etherscan.io/enslookup-search?search=wagmi-dev.eth)
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var chains = require('../../dist/chains-
|
|
6
|
-
require('../../dist/rpcs-
|
|
5
|
+
var chains = require('../../dist/chains-bd8ad853.cjs.dev.js');
|
|
6
|
+
require('../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.arbitrum = chains.arbitrum;
|
|
11
|
+
exports.arbitrumGoerli = chains.arbitrumGoerli;
|
|
11
12
|
exports.arbitrumRinkeby = chains.arbitrumRinkeby;
|
|
12
13
|
exports.foundry = chains.foundry;
|
|
13
14
|
exports.goerli = chains.goerli;
|
|
@@ -16,6 +17,7 @@ exports.kovan = chains.kovan;
|
|
|
16
17
|
exports.localhost = chains.localhost;
|
|
17
18
|
exports.mainnet = chains.mainnet;
|
|
18
19
|
exports.optimism = chains.optimism;
|
|
20
|
+
exports.optimismGoerli = chains.optimismGoerli;
|
|
19
21
|
exports.optimismKovan = chains.optimismKovan;
|
|
20
22
|
exports.polygon = chains.polygon;
|
|
21
23
|
exports.polygonMumbai = chains.polygonMumbai;
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var chains = require('../../dist/chains-
|
|
6
|
-
require('../../dist/rpcs-
|
|
5
|
+
var chains = require('../../dist/chains-3916cd7d.cjs.prod.js');
|
|
6
|
+
require('../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.arbitrum = chains.arbitrum;
|
|
11
|
+
exports.arbitrumGoerli = chains.arbitrumGoerli;
|
|
11
12
|
exports.arbitrumRinkeby = chains.arbitrumRinkeby;
|
|
12
13
|
exports.foundry = chains.foundry;
|
|
13
14
|
exports.goerli = chains.goerli;
|
|
@@ -16,6 +17,7 @@ exports.kovan = chains.kovan;
|
|
|
16
17
|
exports.localhost = chains.localhost;
|
|
17
18
|
exports.mainnet = chains.mainnet;
|
|
18
19
|
exports.optimism = chains.optimism;
|
|
20
|
+
exports.optimismGoerli = chains.optimismGoerli;
|
|
19
21
|
exports.optimismKovan = chains.optimismKovan;
|
|
20
22
|
exports.polygon = chains.polygon;
|
|
21
23
|
exports.polygonMumbai = chains.polygonMumbai;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { g as arbitrum, h as
|
|
2
|
-
import '../../dist/rpcs-
|
|
1
|
+
export { g as arbitrum, h as arbitrumGoerli, i as arbitrumRinkeby, j as foundry, k as goerli, l as hardhat, m as kovan, n as localhost, o as mainnet, p as optimism, r as optimismGoerli, q as optimismKovan, s as polygon, t as polygonMumbai, u as rinkeby, v as ropsten } from '../../dist/chains-505e1070.esm.js';
|
|
2
|
+
import '../../dist/rpcs-e837abf2.esm.js';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-e2217cb6.cjs.dev.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-bd8ad853.cjs.dev.js');
|
|
12
|
+
require('../../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
15
15
|
if (e && e.__esModule) return e;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-a1ad435d.cjs.prod.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-3916cd7d.cjs.prod.js');
|
|
12
|
+
require('../../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
15
15
|
if (e && e.__esModule) return e;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as Connector, _ as _classPrivateMethodInitSpec, r as _defineProperty, s as _classPrivateFieldInitSpec, n as normalizeChainId, U as UserRejectedRequestError, t as _classPrivateFieldGet, u as _classPrivateFieldSet, k as ChainNotConfiguredError, v as _classPrivateMethodGet, A as AddChainError, o as SwitchChainError } from '../../../dist/getProvider-
|
|
1
|
+
import { j as Connector, _ as _classPrivateMethodInitSpec, r as _defineProperty, s as _classPrivateFieldInitSpec, n as normalizeChainId, U as UserRejectedRequestError, t as _classPrivateFieldGet, u as _classPrivateFieldSet, k as ChainNotConfiguredError, v as _classPrivateMethodGet, A as AddChainError, o as SwitchChainError } from '../../../dist/getProvider-e3d84eba.esm.js';
|
|
2
2
|
import { providers } from 'ethers';
|
|
3
3
|
import { getAddress, hexValue } from 'ethers/lib/utils';
|
|
4
4
|
import 'zustand/middleware';
|
|
5
5
|
import 'zustand/vanilla';
|
|
6
6
|
import 'eventemitter3';
|
|
7
|
-
import '../../../dist/chains-
|
|
8
|
-
import '../../../dist/rpcs-
|
|
7
|
+
import '../../../dist/chains-505e1070.esm.js';
|
|
8
|
+
import '../../../dist/rpcs-e837abf2.esm.js';
|
|
9
9
|
|
|
10
10
|
var _client = /*#__PURE__*/new WeakMap();
|
|
11
11
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-e2217cb6.cjs.dev.js');
|
|
6
6
|
require('zustand/middleware');
|
|
7
7
|
require('zustand/vanilla');
|
|
8
8
|
require('ethers');
|
|
9
9
|
require('ethers/lib/utils');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-bd8ad853.cjs.dev.js');
|
|
12
|
+
require('../../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
var _provider = /*#__PURE__*/new WeakMap();
|
|
15
15
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-a1ad435d.cjs.prod.js');
|
|
6
6
|
require('zustand/middleware');
|
|
7
7
|
require('zustand/vanilla');
|
|
8
8
|
require('ethers');
|
|
9
9
|
require('ethers/lib/utils');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-3916cd7d.cjs.prod.js');
|
|
12
|
+
require('../../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
var _provider = /*#__PURE__*/new WeakMap();
|
|
15
15
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as InjectedConnector, _ as _classPrivateMethodInitSpec, r as _defineProperty, v as _classPrivateMethodGet, s as _classPrivateFieldInitSpec, u as _classPrivateFieldSet, a as ConnectorNotFoundError, t as _classPrivateFieldGet, g as getClient, U as UserRejectedRequestError, R as ResourceUnavailableError } from '../../../dist/getProvider-
|
|
1
|
+
import { I as InjectedConnector, _ as _classPrivateMethodInitSpec, r as _defineProperty, v as _classPrivateMethodGet, s as _classPrivateFieldInitSpec, u as _classPrivateFieldSet, a as ConnectorNotFoundError, t as _classPrivateFieldGet, g as getClient, U as UserRejectedRequestError, R as ResourceUnavailableError } from '../../../dist/getProvider-e3d84eba.esm.js';
|
|
2
2
|
import 'zustand/middleware';
|
|
3
3
|
import 'zustand/vanilla';
|
|
4
4
|
import 'ethers';
|
|
5
5
|
import 'ethers/lib/utils';
|
|
6
6
|
import 'eventemitter3';
|
|
7
|
-
import '../../../dist/chains-
|
|
8
|
-
import '../../../dist/rpcs-
|
|
7
|
+
import '../../../dist/chains-505e1070.esm.js';
|
|
8
|
+
import '../../../dist/rpcs-e837abf2.esm.js';
|
|
9
9
|
|
|
10
10
|
var _provider = /*#__PURE__*/new WeakMap();
|
|
11
11
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-e2217cb6.cjs.dev.js');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var ethers = require('ethers');
|
|
8
8
|
var EventEmitter = require('eventemitter3');
|
|
9
9
|
require('zustand/middleware');
|
|
10
10
|
require('zustand/vanilla');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-bd8ad853.cjs.dev.js');
|
|
12
|
+
require('../../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
15
15
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-a1ad435d.cjs.prod.js');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var ethers = require('ethers');
|
|
8
8
|
var EventEmitter = require('eventemitter3');
|
|
9
9
|
require('zustand/middleware');
|
|
10
10
|
require('zustand/vanilla');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-3916cd7d.cjs.prod.js');
|
|
12
|
+
require('../../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
15
15
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as _defineProperty, s as _classPrivateFieldInitSpec, u as _classPrivateFieldSet, t as _classPrivateFieldGet, U as UserRejectedRequestError, j as Connector, _ as _classPrivateMethodInitSpec, n as normalizeChainId, v as _classPrivateMethodGet } from '../../../dist/getProvider-
|
|
1
|
+
import { r as _defineProperty, s as _classPrivateFieldInitSpec, u as _classPrivateFieldSet, t as _classPrivateFieldGet, U as UserRejectedRequestError, j as Connector, _ as _classPrivateMethodInitSpec, n as normalizeChainId, v as _classPrivateMethodGet } from '../../../dist/getProvider-e3d84eba.esm.js';
|
|
2
2
|
import { getAddress } from 'ethers/lib/utils';
|
|
3
3
|
import { providers } from 'ethers';
|
|
4
4
|
import EventEmitter from 'eventemitter3';
|
|
5
5
|
import 'zustand/middleware';
|
|
6
6
|
import 'zustand/vanilla';
|
|
7
|
-
import '../../../dist/chains-
|
|
8
|
-
import '../../../dist/rpcs-
|
|
7
|
+
import '../../../dist/chains-505e1070.esm.js';
|
|
8
|
+
import '../../../dist/rpcs-e837abf2.esm.js';
|
|
9
9
|
|
|
10
10
|
var _options = /*#__PURE__*/new WeakMap();
|
|
11
11
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-e2217cb6.cjs.dev.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-bd8ad853.cjs.dev.js');
|
|
12
|
+
require('../../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
15
15
|
if (e && e.__esModule) return e;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-a1ad435d.cjs.prod.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
12
|
-
require('../../../dist/rpcs-
|
|
11
|
+
require('../../../dist/chains-3916cd7d.cjs.prod.js');
|
|
12
|
+
require('../../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
15
15
|
if (e && e.__esModule) return e;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as Connector, _ as _classPrivateMethodInitSpec, r as _defineProperty, s as _classPrivateFieldInitSpec, n as normalizeChainId, g as getClient, v as _classPrivateMethodGet, U as UserRejectedRequestError, t as _classPrivateFieldGet, u as _classPrivateFieldSet, o as SwitchChainError } from '../../../dist/getProvider-
|
|
1
|
+
import { j as Connector, _ as _classPrivateMethodInitSpec, r as _defineProperty, s as _classPrivateFieldInitSpec, n as normalizeChainId, g as getClient, v as _classPrivateMethodGet, U as UserRejectedRequestError, t as _classPrivateFieldGet, u as _classPrivateFieldSet, o as SwitchChainError } from '../../../dist/getProvider-e3d84eba.esm.js';
|
|
2
2
|
import { providers } from 'ethers';
|
|
3
3
|
import { getAddress, hexValue } from 'ethers/lib/utils';
|
|
4
4
|
import 'zustand/middleware';
|
|
5
5
|
import 'zustand/vanilla';
|
|
6
6
|
import 'eventemitter3';
|
|
7
|
-
import '../../../dist/chains-
|
|
8
|
-
import '../../../dist/rpcs-
|
|
7
|
+
import '../../../dist/chains-505e1070.esm.js';
|
|
8
|
+
import '../../../dist/rpcs-e837abf2.esm.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Wallets that support chain switching through WalletConnect
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var rpcs = require('./rpcs-
|
|
3
|
+
var rpcs = require('./rpcs-afd1cc09.cjs.prod.js');
|
|
4
4
|
|
|
5
5
|
const etherscanBlockExplorers = {
|
|
6
6
|
mainnet: {
|
|
@@ -57,10 +57,12 @@ const chainId = {
|
|
|
57
57
|
kovan: 42,
|
|
58
58
|
optimism: 10,
|
|
59
59
|
optimismKovan: 69,
|
|
60
|
+
optimismGoerli: 420,
|
|
60
61
|
polygon: 137,
|
|
61
62
|
polygonMumbai: 80001,
|
|
62
63
|
arbitrum: 42161,
|
|
63
64
|
arbitrumRinkeby: 421611,
|
|
65
|
+
arbitrumGoerli: 421613,
|
|
64
66
|
localhost: 1337,
|
|
65
67
|
hardhat: 31337,
|
|
66
68
|
foundry: 31337
|
|
@@ -98,7 +100,7 @@ const ropsten = {
|
|
|
98
100
|
network: 'ropsten',
|
|
99
101
|
nativeCurrency: {
|
|
100
102
|
name: 'Ropsten Ether',
|
|
101
|
-
symbol: '
|
|
103
|
+
symbol: 'ETH',
|
|
102
104
|
decimals: 18
|
|
103
105
|
},
|
|
104
106
|
rpcUrls: {
|
|
@@ -126,7 +128,7 @@ const rinkeby = {
|
|
|
126
128
|
network: 'rinkeby',
|
|
127
129
|
nativeCurrency: {
|
|
128
130
|
name: 'Rinkeby Ether',
|
|
129
|
-
symbol: '
|
|
131
|
+
symbol: 'ETH',
|
|
130
132
|
decimals: 18
|
|
131
133
|
},
|
|
132
134
|
rpcUrls: {
|
|
@@ -154,7 +156,7 @@ const goerli = {
|
|
|
154
156
|
network: 'goerli',
|
|
155
157
|
nativeCurrency: {
|
|
156
158
|
name: 'Goerli Ether',
|
|
157
|
-
symbol: '
|
|
159
|
+
symbol: 'ETH',
|
|
158
160
|
decimals: 18
|
|
159
161
|
},
|
|
160
162
|
rpcUrls: {
|
|
@@ -182,7 +184,7 @@ const kovan = {
|
|
|
182
184
|
network: 'kovan',
|
|
183
185
|
nativeCurrency: {
|
|
184
186
|
name: 'Kovan Ether',
|
|
185
|
-
symbol: '
|
|
187
|
+
symbol: 'ETH',
|
|
186
188
|
decimals: 18
|
|
187
189
|
},
|
|
188
190
|
rpcUrls: {
|
|
@@ -231,7 +233,7 @@ const optimismKovan = {
|
|
|
231
233
|
network: 'optimism-kovan',
|
|
232
234
|
nativeCurrency: {
|
|
233
235
|
name: 'Kovan Ether',
|
|
234
|
-
symbol: '
|
|
236
|
+
symbol: 'ETH',
|
|
235
237
|
decimals: 18
|
|
236
238
|
},
|
|
237
239
|
rpcUrls: {
|
|
@@ -250,6 +252,33 @@ const optimismKovan = {
|
|
|
250
252
|
},
|
|
251
253
|
testnet: true
|
|
252
254
|
};
|
|
255
|
+
const optimismGoerli = {
|
|
256
|
+
id: chainId.optimismGoerli,
|
|
257
|
+
name: 'Optimism Goerli',
|
|
258
|
+
network: 'optimism-goerli',
|
|
259
|
+
nativeCurrency: {
|
|
260
|
+
name: 'Goerli Ether',
|
|
261
|
+
symbol: 'ETH',
|
|
262
|
+
decimals: 18
|
|
263
|
+
},
|
|
264
|
+
rpcUrls: {
|
|
265
|
+
alchemy: rpcs.alchemyRpcUrls.optimismGoerli,
|
|
266
|
+
default: rpcs.publicRpcUrls.optimismGoerli,
|
|
267
|
+
infura: rpcs.infuraRpcUrls.optimismGoerli,
|
|
268
|
+
public: rpcs.publicRpcUrls.optimismGoerli
|
|
269
|
+
},
|
|
270
|
+
blockExplorers: {
|
|
271
|
+
default: {
|
|
272
|
+
name: 'Blockscout',
|
|
273
|
+
url: 'https://blockscout.com/optimism/goerli'
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
multicall: {
|
|
277
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
278
|
+
blockCreated: 49461
|
|
279
|
+
},
|
|
280
|
+
testnet: true
|
|
281
|
+
};
|
|
253
282
|
const polygon = {
|
|
254
283
|
id: chainId.polygon,
|
|
255
284
|
name: 'Polygon',
|
|
@@ -333,7 +362,7 @@ const arbitrumRinkeby = {
|
|
|
333
362
|
network: 'arbitrum-rinkeby',
|
|
334
363
|
nativeCurrency: {
|
|
335
364
|
name: 'Arbitrum Rinkeby Ether',
|
|
336
|
-
symbol: '
|
|
365
|
+
symbol: 'ETH',
|
|
337
366
|
decimals: 18
|
|
338
367
|
},
|
|
339
368
|
rpcUrls: {
|
|
@@ -356,6 +385,33 @@ const arbitrumRinkeby = {
|
|
|
356
385
|
},
|
|
357
386
|
testnet: true
|
|
358
387
|
};
|
|
388
|
+
const arbitrumGoerli = {
|
|
389
|
+
id: chainId.arbitrumGoerli,
|
|
390
|
+
name: 'Arbitrum Goerli',
|
|
391
|
+
network: 'arbitrum-goerli',
|
|
392
|
+
nativeCurrency: {
|
|
393
|
+
name: 'Arbitrum Goerli Ether',
|
|
394
|
+
symbol: 'ETH',
|
|
395
|
+
decimals: 18
|
|
396
|
+
},
|
|
397
|
+
rpcUrls: {
|
|
398
|
+
alchemy: rpcs.alchemyRpcUrls.arbitrumGoerli,
|
|
399
|
+
default: rpcs.publicRpcUrls.arbitrumGoerli,
|
|
400
|
+
infura: rpcs.infuraRpcUrls.arbitrumGoerli,
|
|
401
|
+
public: rpcs.publicRpcUrls.arbitrumGoerli
|
|
402
|
+
},
|
|
403
|
+
blockExplorers: {
|
|
404
|
+
default: {
|
|
405
|
+
name: 'Arbitrum Explorer',
|
|
406
|
+
url: 'https://goerli-rollup-explorer.arbitrum.io'
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
multicall: {
|
|
410
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
411
|
+
blockCreated: 88114
|
|
412
|
+
},
|
|
413
|
+
testnet: true
|
|
414
|
+
};
|
|
359
415
|
const localhost = {
|
|
360
416
|
id: chainId.localhost,
|
|
361
417
|
name: 'Localhost',
|
|
@@ -392,21 +448,24 @@ const chain = {
|
|
|
392
448
|
goerli,
|
|
393
449
|
kovan,
|
|
394
450
|
optimism,
|
|
451
|
+
optimismGoerli,
|
|
395
452
|
optimismKovan,
|
|
396
453
|
polygon,
|
|
397
454
|
polygonMumbai,
|
|
398
455
|
arbitrum,
|
|
456
|
+
arbitrumGoerli,
|
|
399
457
|
arbitrumRinkeby,
|
|
400
458
|
localhost,
|
|
401
459
|
hardhat,
|
|
402
460
|
foundry
|
|
403
461
|
};
|
|
404
|
-
const allChains = [mainnet, ropsten, rinkeby, goerli, kovan, optimism, optimismKovan, polygon, polygonMumbai, arbitrum, arbitrumRinkeby, localhost, hardhat, foundry];
|
|
462
|
+
const allChains = [mainnet, ropsten, rinkeby, goerli, kovan, optimism, optimismKovan, optimismGoerli, polygon, polygonMumbai, arbitrum, arbitrumGoerli, arbitrumRinkeby, localhost, hardhat, foundry];
|
|
405
463
|
const defaultChains = [mainnet, ropsten, rinkeby, goerli, kovan];
|
|
406
|
-
const defaultL2Chains = [arbitrum, arbitrumRinkeby, optimism, optimismKovan];
|
|
464
|
+
const defaultL2Chains = [arbitrum, arbitrumRinkeby, arbitrumGoerli, optimism, optimismKovan, optimismGoerli];
|
|
407
465
|
|
|
408
466
|
exports.allChains = allChains;
|
|
409
467
|
exports.arbitrum = arbitrum;
|
|
468
|
+
exports.arbitrumGoerli = arbitrumGoerli;
|
|
410
469
|
exports.arbitrumRinkeby = arbitrumRinkeby;
|
|
411
470
|
exports.chain = chain;
|
|
412
471
|
exports.chainId = chainId;
|
|
@@ -420,6 +479,7 @@ exports.kovan = kovan;
|
|
|
420
479
|
exports.localhost = localhost;
|
|
421
480
|
exports.mainnet = mainnet;
|
|
422
481
|
exports.optimism = optimism;
|
|
482
|
+
exports.optimismGoerli = optimismGoerli;
|
|
423
483
|
exports.optimismKovan = optimismKovan;
|
|
424
484
|
exports.polygon = polygon;
|
|
425
485
|
exports.polygonMumbai = polygonMumbai;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as alchemyRpcUrls, p as publicRpcUrls, i as infuraRpcUrls } from './rpcs-
|
|
1
|
+
import { a as alchemyRpcUrls, p as publicRpcUrls, i as infuraRpcUrls } from './rpcs-e837abf2.esm.js';
|
|
2
2
|
|
|
3
3
|
const etherscanBlockExplorers = {
|
|
4
4
|
mainnet: {
|
|
@@ -55,10 +55,12 @@ const chainId = {
|
|
|
55
55
|
kovan: 42,
|
|
56
56
|
optimism: 10,
|
|
57
57
|
optimismKovan: 69,
|
|
58
|
+
optimismGoerli: 420,
|
|
58
59
|
polygon: 137,
|
|
59
60
|
polygonMumbai: 80001,
|
|
60
61
|
arbitrum: 42161,
|
|
61
62
|
arbitrumRinkeby: 421611,
|
|
63
|
+
arbitrumGoerli: 421613,
|
|
62
64
|
localhost: 1337,
|
|
63
65
|
hardhat: 31337,
|
|
64
66
|
foundry: 31337
|
|
@@ -96,7 +98,7 @@ const ropsten = {
|
|
|
96
98
|
network: 'ropsten',
|
|
97
99
|
nativeCurrency: {
|
|
98
100
|
name: 'Ropsten Ether',
|
|
99
|
-
symbol: '
|
|
101
|
+
symbol: 'ETH',
|
|
100
102
|
decimals: 18
|
|
101
103
|
},
|
|
102
104
|
rpcUrls: {
|
|
@@ -124,7 +126,7 @@ const rinkeby = {
|
|
|
124
126
|
network: 'rinkeby',
|
|
125
127
|
nativeCurrency: {
|
|
126
128
|
name: 'Rinkeby Ether',
|
|
127
|
-
symbol: '
|
|
129
|
+
symbol: 'ETH',
|
|
128
130
|
decimals: 18
|
|
129
131
|
},
|
|
130
132
|
rpcUrls: {
|
|
@@ -152,7 +154,7 @@ const goerli = {
|
|
|
152
154
|
network: 'goerli',
|
|
153
155
|
nativeCurrency: {
|
|
154
156
|
name: 'Goerli Ether',
|
|
155
|
-
symbol: '
|
|
157
|
+
symbol: 'ETH',
|
|
156
158
|
decimals: 18
|
|
157
159
|
},
|
|
158
160
|
rpcUrls: {
|
|
@@ -180,7 +182,7 @@ const kovan = {
|
|
|
180
182
|
network: 'kovan',
|
|
181
183
|
nativeCurrency: {
|
|
182
184
|
name: 'Kovan Ether',
|
|
183
|
-
symbol: '
|
|
185
|
+
symbol: 'ETH',
|
|
184
186
|
decimals: 18
|
|
185
187
|
},
|
|
186
188
|
rpcUrls: {
|
|
@@ -229,7 +231,7 @@ const optimismKovan = {
|
|
|
229
231
|
network: 'optimism-kovan',
|
|
230
232
|
nativeCurrency: {
|
|
231
233
|
name: 'Kovan Ether',
|
|
232
|
-
symbol: '
|
|
234
|
+
symbol: 'ETH',
|
|
233
235
|
decimals: 18
|
|
234
236
|
},
|
|
235
237
|
rpcUrls: {
|
|
@@ -248,6 +250,33 @@ const optimismKovan = {
|
|
|
248
250
|
},
|
|
249
251
|
testnet: true
|
|
250
252
|
};
|
|
253
|
+
const optimismGoerli = {
|
|
254
|
+
id: chainId.optimismGoerli,
|
|
255
|
+
name: 'Optimism Goerli',
|
|
256
|
+
network: 'optimism-goerli',
|
|
257
|
+
nativeCurrency: {
|
|
258
|
+
name: 'Goerli Ether',
|
|
259
|
+
symbol: 'ETH',
|
|
260
|
+
decimals: 18
|
|
261
|
+
},
|
|
262
|
+
rpcUrls: {
|
|
263
|
+
alchemy: alchemyRpcUrls.optimismGoerli,
|
|
264
|
+
default: publicRpcUrls.optimismGoerli,
|
|
265
|
+
infura: infuraRpcUrls.optimismGoerli,
|
|
266
|
+
public: publicRpcUrls.optimismGoerli
|
|
267
|
+
},
|
|
268
|
+
blockExplorers: {
|
|
269
|
+
default: {
|
|
270
|
+
name: 'Blockscout',
|
|
271
|
+
url: 'https://blockscout.com/optimism/goerli'
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
multicall: {
|
|
275
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
276
|
+
blockCreated: 49461
|
|
277
|
+
},
|
|
278
|
+
testnet: true
|
|
279
|
+
};
|
|
251
280
|
const polygon = {
|
|
252
281
|
id: chainId.polygon,
|
|
253
282
|
name: 'Polygon',
|
|
@@ -331,7 +360,7 @@ const arbitrumRinkeby = {
|
|
|
331
360
|
network: 'arbitrum-rinkeby',
|
|
332
361
|
nativeCurrency: {
|
|
333
362
|
name: 'Arbitrum Rinkeby Ether',
|
|
334
|
-
symbol: '
|
|
363
|
+
symbol: 'ETH',
|
|
335
364
|
decimals: 18
|
|
336
365
|
},
|
|
337
366
|
rpcUrls: {
|
|
@@ -354,6 +383,33 @@ const arbitrumRinkeby = {
|
|
|
354
383
|
},
|
|
355
384
|
testnet: true
|
|
356
385
|
};
|
|
386
|
+
const arbitrumGoerli = {
|
|
387
|
+
id: chainId.arbitrumGoerli,
|
|
388
|
+
name: 'Arbitrum Goerli',
|
|
389
|
+
network: 'arbitrum-goerli',
|
|
390
|
+
nativeCurrency: {
|
|
391
|
+
name: 'Arbitrum Goerli Ether',
|
|
392
|
+
symbol: 'ETH',
|
|
393
|
+
decimals: 18
|
|
394
|
+
},
|
|
395
|
+
rpcUrls: {
|
|
396
|
+
alchemy: alchemyRpcUrls.arbitrumGoerli,
|
|
397
|
+
default: publicRpcUrls.arbitrumGoerli,
|
|
398
|
+
infura: infuraRpcUrls.arbitrumGoerli,
|
|
399
|
+
public: publicRpcUrls.arbitrumGoerli
|
|
400
|
+
},
|
|
401
|
+
blockExplorers: {
|
|
402
|
+
default: {
|
|
403
|
+
name: 'Arbitrum Explorer',
|
|
404
|
+
url: 'https://goerli-rollup-explorer.arbitrum.io'
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
multicall: {
|
|
408
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
409
|
+
blockCreated: 88114
|
|
410
|
+
},
|
|
411
|
+
testnet: true
|
|
412
|
+
};
|
|
357
413
|
const localhost = {
|
|
358
414
|
id: chainId.localhost,
|
|
359
415
|
name: 'Localhost',
|
|
@@ -390,17 +446,19 @@ const chain = {
|
|
|
390
446
|
goerli,
|
|
391
447
|
kovan,
|
|
392
448
|
optimism,
|
|
449
|
+
optimismGoerli,
|
|
393
450
|
optimismKovan,
|
|
394
451
|
polygon,
|
|
395
452
|
polygonMumbai,
|
|
396
453
|
arbitrum,
|
|
454
|
+
arbitrumGoerli,
|
|
397
455
|
arbitrumRinkeby,
|
|
398
456
|
localhost,
|
|
399
457
|
hardhat,
|
|
400
458
|
foundry
|
|
401
459
|
};
|
|
402
|
-
const allChains = [mainnet, ropsten, rinkeby, goerli, kovan, optimism, optimismKovan, polygon, polygonMumbai, arbitrum, arbitrumRinkeby, localhost, hardhat, foundry];
|
|
460
|
+
const allChains = [mainnet, ropsten, rinkeby, goerli, kovan, optimism, optimismKovan, optimismGoerli, polygon, polygonMumbai, arbitrum, arbitrumGoerli, arbitrumRinkeby, localhost, hardhat, foundry];
|
|
403
461
|
const defaultChains = [mainnet, ropsten, rinkeby, goerli, kovan];
|
|
404
|
-
const defaultL2Chains = [arbitrum, arbitrumRinkeby, optimism, optimismKovan];
|
|
462
|
+
const defaultL2Chains = [arbitrum, arbitrumRinkeby, arbitrumGoerli, optimism, optimismKovan, optimismGoerli];
|
|
405
463
|
|
|
406
|
-
export { allChains as a, chainId as b, chain as c, defaultChains as d, defaultL2Chains as e, etherscanBlockExplorers as f, arbitrum as g,
|
|
464
|
+
export { allChains as a, chainId as b, chain as c, defaultChains as d, defaultL2Chains as e, etherscanBlockExplorers as f, arbitrum as g, arbitrumGoerli as h, arbitrumRinkeby as i, foundry as j, goerli as k, hardhat as l, kovan as m, localhost as n, mainnet as o, optimism as p, optimismKovan as q, optimismGoerli as r, polygon as s, polygonMumbai as t, rinkeby as u, ropsten as v };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var rpcs = require('./rpcs-
|
|
3
|
+
var rpcs = require('./rpcs-3cf5a783.cjs.dev.js');
|
|
4
4
|
|
|
5
5
|
const etherscanBlockExplorers = {
|
|
6
6
|
mainnet: {
|
|
@@ -57,10 +57,12 @@ const chainId = {
|
|
|
57
57
|
kovan: 42,
|
|
58
58
|
optimism: 10,
|
|
59
59
|
optimismKovan: 69,
|
|
60
|
+
optimismGoerli: 420,
|
|
60
61
|
polygon: 137,
|
|
61
62
|
polygonMumbai: 80001,
|
|
62
63
|
arbitrum: 42161,
|
|
63
64
|
arbitrumRinkeby: 421611,
|
|
65
|
+
arbitrumGoerli: 421613,
|
|
64
66
|
localhost: 1337,
|
|
65
67
|
hardhat: 31337,
|
|
66
68
|
foundry: 31337
|
|
@@ -98,7 +100,7 @@ const ropsten = {
|
|
|
98
100
|
network: 'ropsten',
|
|
99
101
|
nativeCurrency: {
|
|
100
102
|
name: 'Ropsten Ether',
|
|
101
|
-
symbol: '
|
|
103
|
+
symbol: 'ETH',
|
|
102
104
|
decimals: 18
|
|
103
105
|
},
|
|
104
106
|
rpcUrls: {
|
|
@@ -126,7 +128,7 @@ const rinkeby = {
|
|
|
126
128
|
network: 'rinkeby',
|
|
127
129
|
nativeCurrency: {
|
|
128
130
|
name: 'Rinkeby Ether',
|
|
129
|
-
symbol: '
|
|
131
|
+
symbol: 'ETH',
|
|
130
132
|
decimals: 18
|
|
131
133
|
},
|
|
132
134
|
rpcUrls: {
|
|
@@ -154,7 +156,7 @@ const goerli = {
|
|
|
154
156
|
network: 'goerli',
|
|
155
157
|
nativeCurrency: {
|
|
156
158
|
name: 'Goerli Ether',
|
|
157
|
-
symbol: '
|
|
159
|
+
symbol: 'ETH',
|
|
158
160
|
decimals: 18
|
|
159
161
|
},
|
|
160
162
|
rpcUrls: {
|
|
@@ -182,7 +184,7 @@ const kovan = {
|
|
|
182
184
|
network: 'kovan',
|
|
183
185
|
nativeCurrency: {
|
|
184
186
|
name: 'Kovan Ether',
|
|
185
|
-
symbol: '
|
|
187
|
+
symbol: 'ETH',
|
|
186
188
|
decimals: 18
|
|
187
189
|
},
|
|
188
190
|
rpcUrls: {
|
|
@@ -231,7 +233,7 @@ const optimismKovan = {
|
|
|
231
233
|
network: 'optimism-kovan',
|
|
232
234
|
nativeCurrency: {
|
|
233
235
|
name: 'Kovan Ether',
|
|
234
|
-
symbol: '
|
|
236
|
+
symbol: 'ETH',
|
|
235
237
|
decimals: 18
|
|
236
238
|
},
|
|
237
239
|
rpcUrls: {
|
|
@@ -250,6 +252,33 @@ const optimismKovan = {
|
|
|
250
252
|
},
|
|
251
253
|
testnet: true
|
|
252
254
|
};
|
|
255
|
+
const optimismGoerli = {
|
|
256
|
+
id: chainId.optimismGoerli,
|
|
257
|
+
name: 'Optimism Goerli',
|
|
258
|
+
network: 'optimism-goerli',
|
|
259
|
+
nativeCurrency: {
|
|
260
|
+
name: 'Goerli Ether',
|
|
261
|
+
symbol: 'ETH',
|
|
262
|
+
decimals: 18
|
|
263
|
+
},
|
|
264
|
+
rpcUrls: {
|
|
265
|
+
alchemy: rpcs.alchemyRpcUrls.optimismGoerli,
|
|
266
|
+
default: rpcs.publicRpcUrls.optimismGoerli,
|
|
267
|
+
infura: rpcs.infuraRpcUrls.optimismGoerli,
|
|
268
|
+
public: rpcs.publicRpcUrls.optimismGoerli
|
|
269
|
+
},
|
|
270
|
+
blockExplorers: {
|
|
271
|
+
default: {
|
|
272
|
+
name: 'Blockscout',
|
|
273
|
+
url: 'https://blockscout.com/optimism/goerli'
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
multicall: {
|
|
277
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
278
|
+
blockCreated: 49461
|
|
279
|
+
},
|
|
280
|
+
testnet: true
|
|
281
|
+
};
|
|
253
282
|
const polygon = {
|
|
254
283
|
id: chainId.polygon,
|
|
255
284
|
name: 'Polygon',
|
|
@@ -333,7 +362,7 @@ const arbitrumRinkeby = {
|
|
|
333
362
|
network: 'arbitrum-rinkeby',
|
|
334
363
|
nativeCurrency: {
|
|
335
364
|
name: 'Arbitrum Rinkeby Ether',
|
|
336
|
-
symbol: '
|
|
365
|
+
symbol: 'ETH',
|
|
337
366
|
decimals: 18
|
|
338
367
|
},
|
|
339
368
|
rpcUrls: {
|
|
@@ -356,6 +385,33 @@ const arbitrumRinkeby = {
|
|
|
356
385
|
},
|
|
357
386
|
testnet: true
|
|
358
387
|
};
|
|
388
|
+
const arbitrumGoerli = {
|
|
389
|
+
id: chainId.arbitrumGoerli,
|
|
390
|
+
name: 'Arbitrum Goerli',
|
|
391
|
+
network: 'arbitrum-goerli',
|
|
392
|
+
nativeCurrency: {
|
|
393
|
+
name: 'Arbitrum Goerli Ether',
|
|
394
|
+
symbol: 'ETH',
|
|
395
|
+
decimals: 18
|
|
396
|
+
},
|
|
397
|
+
rpcUrls: {
|
|
398
|
+
alchemy: rpcs.alchemyRpcUrls.arbitrumGoerli,
|
|
399
|
+
default: rpcs.publicRpcUrls.arbitrumGoerli,
|
|
400
|
+
infura: rpcs.infuraRpcUrls.arbitrumGoerli,
|
|
401
|
+
public: rpcs.publicRpcUrls.arbitrumGoerli
|
|
402
|
+
},
|
|
403
|
+
blockExplorers: {
|
|
404
|
+
default: {
|
|
405
|
+
name: 'Arbitrum Explorer',
|
|
406
|
+
url: 'https://goerli-rollup-explorer.arbitrum.io'
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
multicall: {
|
|
410
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
411
|
+
blockCreated: 88114
|
|
412
|
+
},
|
|
413
|
+
testnet: true
|
|
414
|
+
};
|
|
359
415
|
const localhost = {
|
|
360
416
|
id: chainId.localhost,
|
|
361
417
|
name: 'Localhost',
|
|
@@ -392,21 +448,24 @@ const chain = {
|
|
|
392
448
|
goerli,
|
|
393
449
|
kovan,
|
|
394
450
|
optimism,
|
|
451
|
+
optimismGoerli,
|
|
395
452
|
optimismKovan,
|
|
396
453
|
polygon,
|
|
397
454
|
polygonMumbai,
|
|
398
455
|
arbitrum,
|
|
456
|
+
arbitrumGoerli,
|
|
399
457
|
arbitrumRinkeby,
|
|
400
458
|
localhost,
|
|
401
459
|
hardhat,
|
|
402
460
|
foundry
|
|
403
461
|
};
|
|
404
|
-
const allChains = [mainnet, ropsten, rinkeby, goerli, kovan, optimism, optimismKovan, polygon, polygonMumbai, arbitrum, arbitrumRinkeby, localhost, hardhat, foundry];
|
|
462
|
+
const allChains = [mainnet, ropsten, rinkeby, goerli, kovan, optimism, optimismKovan, optimismGoerli, polygon, polygonMumbai, arbitrum, arbitrumGoerli, arbitrumRinkeby, localhost, hardhat, foundry];
|
|
405
463
|
const defaultChains = [mainnet, ropsten, rinkeby, goerli, kovan];
|
|
406
|
-
const defaultL2Chains = [arbitrum, arbitrumRinkeby, optimism, optimismKovan];
|
|
464
|
+
const defaultL2Chains = [arbitrum, arbitrumRinkeby, arbitrumGoerli, optimism, optimismKovan, optimismGoerli];
|
|
407
465
|
|
|
408
466
|
exports.allChains = allChains;
|
|
409
467
|
exports.arbitrum = arbitrum;
|
|
468
|
+
exports.arbitrumGoerli = arbitrumGoerli;
|
|
410
469
|
exports.arbitrumRinkeby = arbitrumRinkeby;
|
|
411
470
|
exports.chain = chain;
|
|
412
471
|
exports.chainId = chainId;
|
|
@@ -420,6 +479,7 @@ exports.kovan = kovan;
|
|
|
420
479
|
exports.localhost = localhost;
|
|
421
480
|
exports.mainnet = mainnet;
|
|
422
481
|
exports.optimism = optimism;
|
|
482
|
+
exports.optimismGoerli = optimismGoerli;
|
|
423
483
|
exports.optimismKovan = optimismKovan;
|
|
424
484
|
exports.polygon = polygon;
|
|
425
485
|
exports.polygonMumbai = polygonMumbai;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { arbitrum, arbitrumRinkeby, foundry, goerli, hardhat, kovan, localhost, mainnet, optimism, optimismKovan, polygon, polygonMumbai, rinkeby, ropsten, } from './constants/chains';
|
|
1
|
+
export { arbitrum, arbitrumGoerli, arbitrumRinkeby, foundry, goerli, hardhat, kovan, localhost, mainnet, optimism, optimismKovan, optimismGoerli, polygon, polygonMumbai, rinkeby, ropsten, } from './constants/chains';
|
|
@@ -7,10 +7,12 @@ export declare const chainId: {
|
|
|
7
7
|
readonly kovan: 42;
|
|
8
8
|
readonly optimism: 10;
|
|
9
9
|
readonly optimismKovan: 69;
|
|
10
|
+
readonly optimismGoerli: 420;
|
|
10
11
|
readonly polygon: 137;
|
|
11
12
|
readonly polygonMumbai: 80001;
|
|
12
13
|
readonly arbitrum: 42161;
|
|
13
14
|
readonly arbitrumRinkeby: 421611;
|
|
15
|
+
readonly arbitrumGoerli: 421613;
|
|
14
16
|
readonly localhost: 1337;
|
|
15
17
|
readonly hardhat: 31337;
|
|
16
18
|
readonly foundry: 31337;
|
|
@@ -23,10 +25,12 @@ export declare const goerli: Chain;
|
|
|
23
25
|
export declare const kovan: Chain;
|
|
24
26
|
export declare const optimism: Chain;
|
|
25
27
|
export declare const optimismKovan: Chain;
|
|
28
|
+
export declare const optimismGoerli: Chain;
|
|
26
29
|
export declare const polygon: Chain;
|
|
27
30
|
export declare const polygonMumbai: Chain;
|
|
28
31
|
export declare const arbitrum: Chain;
|
|
29
32
|
export declare const arbitrumRinkeby: Chain;
|
|
33
|
+
export declare const arbitrumGoerli: Chain;
|
|
30
34
|
export declare const localhost: Chain;
|
|
31
35
|
export declare const hardhat: Chain;
|
|
32
36
|
export declare const foundry: Chain;
|
|
@@ -41,10 +45,12 @@ export declare const chain: {
|
|
|
41
45
|
readonly goerli: Chain;
|
|
42
46
|
readonly kovan: Chain;
|
|
43
47
|
readonly optimism: Chain;
|
|
48
|
+
readonly optimismGoerli: Chain;
|
|
44
49
|
readonly optimismKovan: Chain;
|
|
45
50
|
readonly polygon: Chain;
|
|
46
51
|
readonly polygonMumbai: Chain;
|
|
47
52
|
readonly arbitrum: Chain;
|
|
53
|
+
readonly arbitrumGoerli: Chain;
|
|
48
54
|
readonly arbitrumRinkeby: Chain;
|
|
49
55
|
readonly localhost: Chain;
|
|
50
56
|
readonly hardhat: Chain;
|
|
@@ -2,10 +2,10 @@ import { ChainName } from './chains';
|
|
|
2
2
|
export declare const defaultAlchemyApiKey = "_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";
|
|
3
3
|
export declare const defaultInfuraApiKey = "84842078b09946638c03157f83405213";
|
|
4
4
|
export declare type RpcProviderName = 'alchemy' | 'infura' | 'public';
|
|
5
|
-
declare type AlchemyChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby'>;
|
|
5
|
+
declare type AlchemyChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'optimismGoerli' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby' | 'arbitrumGoerli'>;
|
|
6
6
|
export declare const alchemyRpcUrls: Record<AlchemyChains, string>;
|
|
7
|
-
declare type InfuraChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby'>;
|
|
7
|
+
declare type InfuraChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'optimismGoerli' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby' | 'arbitrumGoerli'>;
|
|
8
8
|
export declare const infuraRpcUrls: Record<InfuraChains, string>;
|
|
9
|
-
declare type PublicChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby'>;
|
|
9
|
+
declare type PublicChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'optimism' | 'optimismKovan' | 'optimismGoerli' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby' | 'arbitrumGoerli'>;
|
|
10
10
|
export declare const publicRpcUrls: Record<PublicChains, string>;
|
|
11
11
|
export {};
|
|
@@ -5,7 +5,7 @@ var create = require('zustand/vanilla');
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var EventEmitter = require('eventemitter3');
|
|
8
|
-
var chains = require('./chains-
|
|
8
|
+
var chains = require('./chains-3916cd7d.cjs.prod.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -324,6 +324,7 @@ function getInjectedName(ethereum) {
|
|
|
324
324
|
if (provider.isTokenPocket) return 'TokenPocket';
|
|
325
325
|
if (provider.isTokenary) return 'Tokenary';
|
|
326
326
|
if (provider.isTrust) return 'Trust Wallet';
|
|
327
|
+
if (provider.isOneInchIOSWallet || provider.isOneInchAndroidWallet) return '1inch Wallet';
|
|
327
328
|
if (provider.isMetaMask) return 'MetaMask';
|
|
328
329
|
}; // Some injected providers detect multiple other providers and create a list at `ethers.providers`
|
|
329
330
|
|
|
@@ -5,7 +5,7 @@ var create = require('zustand/vanilla');
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var EventEmitter = require('eventemitter3');
|
|
8
|
-
var chains = require('./chains-
|
|
8
|
+
var chains = require('./chains-bd8ad853.cjs.dev.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -324,6 +324,7 @@ function getInjectedName(ethereum) {
|
|
|
324
324
|
if (provider.isTokenPocket) return 'TokenPocket';
|
|
325
325
|
if (provider.isTokenary) return 'Tokenary';
|
|
326
326
|
if (provider.isTrust) return 'Trust Wallet';
|
|
327
|
+
if (provider.isOneInchIOSWallet || provider.isOneInchAndroidWallet) return '1inch Wallet';
|
|
327
328
|
if (provider.isMetaMask) return 'MetaMask';
|
|
328
329
|
}; // Some injected providers detect multiple other providers and create a list at `ethers.providers`
|
|
329
330
|
|
|
@@ -3,7 +3,7 @@ import create from 'zustand/vanilla';
|
|
|
3
3
|
import { providers } from 'ethers';
|
|
4
4
|
import { getAddress, hexValue } from 'ethers/lib/utils';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
6
|
-
import { d as defaultChains } from './chains-
|
|
6
|
+
import { d as defaultChains } from './chains-505e1070.esm.js';
|
|
7
7
|
|
|
8
8
|
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
9
9
|
if (privateCollection.has(obj)) {
|
|
@@ -317,6 +317,7 @@ function getInjectedName(ethereum) {
|
|
|
317
317
|
if (provider.isTokenPocket) return 'TokenPocket';
|
|
318
318
|
if (provider.isTokenary) return 'Tokenary';
|
|
319
319
|
if (provider.isTrust) return 'Trust Wallet';
|
|
320
|
+
if (provider.isOneInchIOSWallet || provider.isOneInchAndroidWallet) return '1inch Wallet';
|
|
320
321
|
if (provider.isMetaMask) return 'MetaMask';
|
|
321
322
|
}; // Some injected providers detect multiple other providers and create a list at `ethers.providers`
|
|
322
323
|
|
|
@@ -10,10 +10,12 @@ const alchemyRpcUrls = {
|
|
|
10
10
|
kovan: 'https://eth-kovan.alchemyapi.io/v2',
|
|
11
11
|
optimism: 'https://opt-mainnet.g.alchemy.com/v2',
|
|
12
12
|
optimismKovan: 'https://opt-kovan.g.alchemy.com/v2',
|
|
13
|
+
optimismGoerli: 'https://opt-goerli.g.alchemy.com/v2',
|
|
13
14
|
polygon: 'https://polygon-mainnet.g.alchemy.com/v2',
|
|
14
15
|
polygonMumbai: 'https://polygon-mumbai.g.alchemy.com/v2',
|
|
15
16
|
arbitrum: 'https://arb-mainnet.g.alchemy.com/v2',
|
|
16
|
-
arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2'
|
|
17
|
+
arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2',
|
|
18
|
+
arbitrumGoerli: 'https://arb-goerli.g.alchemy.com/v2'
|
|
17
19
|
};
|
|
18
20
|
const infuraRpcUrls = {
|
|
19
21
|
mainnet: 'https://mainnet.infura.io/v3',
|
|
@@ -23,10 +25,12 @@ const infuraRpcUrls = {
|
|
|
23
25
|
kovan: 'https://kovan.infura.io/v3',
|
|
24
26
|
optimism: 'https://optimism-mainnet.infura.io/v3',
|
|
25
27
|
optimismKovan: 'https://optimism-kovan.infura.io/v3',
|
|
28
|
+
optimismGoerli: 'https://optimism-goerli.infura.io/v3',
|
|
26
29
|
polygon: 'https://polygon-mainnet.infura.io/v3',
|
|
27
30
|
polygonMumbai: 'https://polygon-mumbai.infura.io/v3',
|
|
28
31
|
arbitrum: 'https://arbitrum-mainnet.infura.io/v3',
|
|
29
|
-
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3'
|
|
32
|
+
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3',
|
|
33
|
+
arbitrumGoerli: 'https://arbitrum-goerli.infura.io/v3'
|
|
30
34
|
};
|
|
31
35
|
const publicRpcUrls = {
|
|
32
36
|
mainnet: "".concat(alchemyRpcUrls.mainnet, "/").concat(defaultAlchemyApiKey),
|
|
@@ -36,10 +40,12 @@ const publicRpcUrls = {
|
|
|
36
40
|
kovan: "".concat(alchemyRpcUrls.kovan, "/").concat(defaultAlchemyApiKey),
|
|
37
41
|
optimism: 'https://mainnet.optimism.io',
|
|
38
42
|
optimismKovan: 'https://kovan.optimism.io',
|
|
43
|
+
optimismGoerli: 'https://goerli.optimism.io',
|
|
39
44
|
polygon: 'https://polygon-rpc.com',
|
|
40
45
|
polygonMumbai: 'https://matic-mumbai.chainstacklabs.com',
|
|
41
46
|
arbitrum: 'https://arb1.arbitrum.io/rpc',
|
|
42
|
-
arbitrumRinkeby: 'https://rinkeby.arbitrum.io/rpc'
|
|
47
|
+
arbitrumRinkeby: 'https://rinkeby.arbitrum.io/rpc',
|
|
48
|
+
arbitrumGoerli: 'https://goerli-rollup.arbitrum.io/rpc'
|
|
43
49
|
};
|
|
44
50
|
|
|
45
51
|
exports.alchemyRpcUrls = alchemyRpcUrls;
|
|
@@ -10,10 +10,12 @@ const alchemyRpcUrls = {
|
|
|
10
10
|
kovan: 'https://eth-kovan.alchemyapi.io/v2',
|
|
11
11
|
optimism: 'https://opt-mainnet.g.alchemy.com/v2',
|
|
12
12
|
optimismKovan: 'https://opt-kovan.g.alchemy.com/v2',
|
|
13
|
+
optimismGoerli: 'https://opt-goerli.g.alchemy.com/v2',
|
|
13
14
|
polygon: 'https://polygon-mainnet.g.alchemy.com/v2',
|
|
14
15
|
polygonMumbai: 'https://polygon-mumbai.g.alchemy.com/v2',
|
|
15
16
|
arbitrum: 'https://arb-mainnet.g.alchemy.com/v2',
|
|
16
|
-
arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2'
|
|
17
|
+
arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2',
|
|
18
|
+
arbitrumGoerli: 'https://arb-goerli.g.alchemy.com/v2'
|
|
17
19
|
};
|
|
18
20
|
const infuraRpcUrls = {
|
|
19
21
|
mainnet: 'https://mainnet.infura.io/v3',
|
|
@@ -23,10 +25,12 @@ const infuraRpcUrls = {
|
|
|
23
25
|
kovan: 'https://kovan.infura.io/v3',
|
|
24
26
|
optimism: 'https://optimism-mainnet.infura.io/v3',
|
|
25
27
|
optimismKovan: 'https://optimism-kovan.infura.io/v3',
|
|
28
|
+
optimismGoerli: 'https://optimism-goerli.infura.io/v3',
|
|
26
29
|
polygon: 'https://polygon-mainnet.infura.io/v3',
|
|
27
30
|
polygonMumbai: 'https://polygon-mumbai.infura.io/v3',
|
|
28
31
|
arbitrum: 'https://arbitrum-mainnet.infura.io/v3',
|
|
29
|
-
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3'
|
|
32
|
+
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3',
|
|
33
|
+
arbitrumGoerli: 'https://arbitrum-goerli.infura.io/v3'
|
|
30
34
|
};
|
|
31
35
|
const publicRpcUrls = {
|
|
32
36
|
mainnet: "".concat(alchemyRpcUrls.mainnet, "/").concat(defaultAlchemyApiKey),
|
|
@@ -36,10 +40,12 @@ const publicRpcUrls = {
|
|
|
36
40
|
kovan: "".concat(alchemyRpcUrls.kovan, "/").concat(defaultAlchemyApiKey),
|
|
37
41
|
optimism: 'https://mainnet.optimism.io',
|
|
38
42
|
optimismKovan: 'https://kovan.optimism.io',
|
|
43
|
+
optimismGoerli: 'https://goerli.optimism.io',
|
|
39
44
|
polygon: 'https://polygon-rpc.com',
|
|
40
45
|
polygonMumbai: 'https://matic-mumbai.chainstacklabs.com',
|
|
41
46
|
arbitrum: 'https://arb1.arbitrum.io/rpc',
|
|
42
|
-
arbitrumRinkeby: 'https://rinkeby.arbitrum.io/rpc'
|
|
47
|
+
arbitrumRinkeby: 'https://rinkeby.arbitrum.io/rpc',
|
|
48
|
+
arbitrumGoerli: 'https://goerli-rollup.arbitrum.io/rpc'
|
|
43
49
|
};
|
|
44
50
|
|
|
45
51
|
exports.alchemyRpcUrls = alchemyRpcUrls;
|
|
@@ -8,10 +8,12 @@ const alchemyRpcUrls = {
|
|
|
8
8
|
kovan: 'https://eth-kovan.alchemyapi.io/v2',
|
|
9
9
|
optimism: 'https://opt-mainnet.g.alchemy.com/v2',
|
|
10
10
|
optimismKovan: 'https://opt-kovan.g.alchemy.com/v2',
|
|
11
|
+
optimismGoerli: 'https://opt-goerli.g.alchemy.com/v2',
|
|
11
12
|
polygon: 'https://polygon-mainnet.g.alchemy.com/v2',
|
|
12
13
|
polygonMumbai: 'https://polygon-mumbai.g.alchemy.com/v2',
|
|
13
14
|
arbitrum: 'https://arb-mainnet.g.alchemy.com/v2',
|
|
14
|
-
arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2'
|
|
15
|
+
arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2',
|
|
16
|
+
arbitrumGoerli: 'https://arb-goerli.g.alchemy.com/v2'
|
|
15
17
|
};
|
|
16
18
|
const infuraRpcUrls = {
|
|
17
19
|
mainnet: 'https://mainnet.infura.io/v3',
|
|
@@ -21,10 +23,12 @@ const infuraRpcUrls = {
|
|
|
21
23
|
kovan: 'https://kovan.infura.io/v3',
|
|
22
24
|
optimism: 'https://optimism-mainnet.infura.io/v3',
|
|
23
25
|
optimismKovan: 'https://optimism-kovan.infura.io/v3',
|
|
26
|
+
optimismGoerli: 'https://optimism-goerli.infura.io/v3',
|
|
24
27
|
polygon: 'https://polygon-mainnet.infura.io/v3',
|
|
25
28
|
polygonMumbai: 'https://polygon-mumbai.infura.io/v3',
|
|
26
29
|
arbitrum: 'https://arbitrum-mainnet.infura.io/v3',
|
|
27
|
-
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3'
|
|
30
|
+
arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3',
|
|
31
|
+
arbitrumGoerli: 'https://arbitrum-goerli.infura.io/v3'
|
|
28
32
|
};
|
|
29
33
|
const publicRpcUrls = {
|
|
30
34
|
mainnet: "".concat(alchemyRpcUrls.mainnet, "/").concat(defaultAlchemyApiKey),
|
|
@@ -34,10 +38,12 @@ const publicRpcUrls = {
|
|
|
34
38
|
kovan: "".concat(alchemyRpcUrls.kovan, "/").concat(defaultAlchemyApiKey),
|
|
35
39
|
optimism: 'https://mainnet.optimism.io',
|
|
36
40
|
optimismKovan: 'https://kovan.optimism.io',
|
|
41
|
+
optimismGoerli: 'https://goerli.optimism.io',
|
|
37
42
|
polygon: 'https://polygon-rpc.com',
|
|
38
43
|
polygonMumbai: 'https://matic-mumbai.chainstacklabs.com',
|
|
39
44
|
arbitrum: 'https://arb1.arbitrum.io/rpc',
|
|
40
|
-
arbitrumRinkeby: 'https://rinkeby.arbitrum.io/rpc'
|
|
45
|
+
arbitrumRinkeby: 'https://rinkeby.arbitrum.io/rpc',
|
|
46
|
+
arbitrumGoerli: 'https://goerli-rollup.arbitrum.io/rpc'
|
|
41
47
|
};
|
|
42
48
|
|
|
43
49
|
export { alchemyRpcUrls as a, defaultInfuraApiKey as b, defaultAlchemyApiKey as d, infuraRpcUrls as i, publicRpcUrls as p };
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('./getProvider-
|
|
5
|
+
var getProvider = require('./getProvider-e2217cb6.cjs.dev.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var ethers$1 = require('ethers/lib/ethers');
|
|
8
8
|
var utils = require('ethers/lib/utils');
|
|
9
9
|
var shallow = require('zustand/shallow');
|
|
10
|
-
var rpcs = require('./rpcs-
|
|
11
|
-
var chains = require('./chains-
|
|
10
|
+
var rpcs = require('./rpcs-3cf5a783.cjs.dev.js');
|
|
11
|
+
var chains = require('./chains-bd8ad853.cjs.dev.js');
|
|
12
12
|
require('zustand/middleware');
|
|
13
13
|
require('zustand/vanilla');
|
|
14
14
|
require('eventemitter3');
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('./getProvider-
|
|
5
|
+
var getProvider = require('./getProvider-a1ad435d.cjs.prod.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var ethers$1 = require('ethers/lib/ethers');
|
|
8
8
|
var utils = require('ethers/lib/utils');
|
|
9
9
|
var shallow = require('zustand/shallow');
|
|
10
|
-
var rpcs = require('./rpcs-
|
|
11
|
-
var chains = require('./chains-
|
|
10
|
+
var rpcs = require('./rpcs-afd1cc09.cjs.prod.js');
|
|
11
|
+
var chains = require('./chains-3916cd7d.cjs.prod.js');
|
|
12
12
|
require('zustand/middleware');
|
|
13
13
|
require('zustand/vanilla');
|
|
14
14
|
require('eventemitter3');
|
package/dist/wagmi-core.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { g as getClient, C as ConnectorAlreadyConnectedError, a as ConnectorNotFoundError, b as ChainMismatchError, U as UserRejectedRequestError, c as ContractMethodDoesNotExistError, d as getProvider, P as ProviderChainsNotFound, e as ChainDoesNotSupportMulticallError, f as ContractMethodNoResultError, n as normalizeChainId, S as SwitchChainNotSupportedError } from './getProvider-
|
|
2
|
-
export { A as AddChainError, e as ChainDoesNotSupportMulticallError, b as ChainMismatchError, k as ChainNotConfiguredError, i as Client, j as Connector, C as ConnectorAlreadyConnectedError, a as ConnectorNotFoundError, c as ContractMethodDoesNotExistError, f as ContractMethodNoResultError, I as InjectedConnector, P as ProviderChainsNotFound, l as ProviderRpcError, R as ResourceUnavailableError, m as RpcError, o as SwitchChainError, S as SwitchChainNotSupportedError, U as UserRejectedRequestError, h as createClient, p as createStorage, d as getProvider, q as noopStorage, n as normalizeChainId } from './getProvider-
|
|
1
|
+
import { g as getClient, C as ConnectorAlreadyConnectedError, a as ConnectorNotFoundError, b as ChainMismatchError, U as UserRejectedRequestError, c as ContractMethodDoesNotExistError, d as getProvider, P as ProviderChainsNotFound, e as ChainDoesNotSupportMulticallError, f as ContractMethodNoResultError, n as normalizeChainId, S as SwitchChainNotSupportedError } from './getProvider-e3d84eba.esm.js';
|
|
2
|
+
export { A as AddChainError, e as ChainDoesNotSupportMulticallError, b as ChainMismatchError, k as ChainNotConfiguredError, i as Client, j as Connector, C as ConnectorAlreadyConnectedError, a as ConnectorNotFoundError, c as ContractMethodDoesNotExistError, f as ContractMethodNoResultError, I as InjectedConnector, P as ProviderChainsNotFound, l as ProviderRpcError, R as ResourceUnavailableError, m as RpcError, o as SwitchChainError, S as SwitchChainNotSupportedError, U as UserRejectedRequestError, h as createClient, p as createStorage, d as getProvider, q as noopStorage, n as normalizeChainId } from './getProvider-e3d84eba.esm.js';
|
|
3
3
|
import { providers, Contract as Contract$1 } from 'ethers';
|
|
4
4
|
import { Contract, logger } from 'ethers/lib/ethers';
|
|
5
5
|
import { formatUnits, getAddress, isAddress, Logger } from 'ethers/lib/utils';
|
|
6
6
|
import shallow from 'zustand/shallow';
|
|
7
|
-
export { a as alchemyRpcUrls, i as infuraRpcUrls, p as publicRpcUrls } from './rpcs-
|
|
8
|
-
export { a as allChains, c as chain, b as chainId, d as defaultChains, e as defaultL2Chains, f as etherscanBlockExplorers } from './chains-
|
|
7
|
+
export { a as alchemyRpcUrls, i as infuraRpcUrls, p as publicRpcUrls } from './rpcs-e837abf2.esm.js';
|
|
8
|
+
export { a as allChains, c as chain, b as chainId, d as defaultChains, e as defaultL2Chains, f as etherscanBlockExplorers } from './chains-505e1070.esm.js';
|
|
9
9
|
import 'zustand/middleware';
|
|
10
10
|
import 'zustand/vanilla';
|
|
11
11
|
import 'eventemitter3';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wagmi/core",
|
|
3
3
|
"description": "Vanilla JS library for Ethereum",
|
|
4
4
|
"license": "WAGMIT",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.3",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/wagmi-dev/wagmi.git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"type": "github",
|
|
20
|
-
"url": "https://github.com/sponsors/
|
|
20
|
+
"url": "https://github.com/sponsors/wagmi-dev"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"main": "dist/wagmi-core.cjs.js",
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
104
|
"eventemitter3": "^4.0.7",
|
|
105
|
-
"zustand": "^4.0.0
|
|
105
|
+
"zustand": "^4.0.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@coinbase/wallet-sdk": "^3.
|
|
108
|
+
"@coinbase/wallet-sdk": "^3.4.1",
|
|
109
109
|
"@walletconnect/ethereum-provider": "^1.7.8",
|
|
110
110
|
"ethers": "^5.6.5"
|
|
111
111
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
|
-
var rpcs = require('../../../dist/rpcs-
|
|
6
|
+
var rpcs = require('../../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
7
7
|
|
|
8
8
|
function alchemyProvider() {
|
|
9
9
|
let {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
|
-
var rpcs = require('../../../dist/rpcs-
|
|
6
|
+
var rpcs = require('../../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
7
7
|
|
|
8
8
|
function alchemyProvider() {
|
|
9
9
|
let {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
|
-
var rpcs = require('../../../dist/rpcs-
|
|
6
|
+
var rpcs = require('../../../dist/rpcs-3cf5a783.cjs.dev.js');
|
|
7
7
|
|
|
8
8
|
function infuraProvider() {
|
|
9
9
|
let {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
|
-
var rpcs = require('../../../dist/rpcs-
|
|
6
|
+
var rpcs = require('../../../dist/rpcs-afd1cc09.cjs.prod.js');
|
|
7
7
|
|
|
8
8
|
function infuraProvider() {
|
|
9
9
|
let {
|