You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<buttonon:click="{()" ="">$web3Modal.openModal()}> Connect to Ethereum</button>
116
+
<buttonon:click="{()" ="">$web3Modal.open()}> Connect to Ethereum</button>
117
117
{:else}
118
118
119
119
<p>Web3Modal not yet available</p>
@@ -126,15 +126,9 @@ The `defaultConfig` function is used to configure the `@wagmi/core` library and
126
126
127
127
-`autoConnect` (boolean, default: `true`): Specifies whether the Ethereum client should automatically connect to a provider upon initialization. If set to `true`, the client will attempt to connect automatically.
128
128
-`appName` (string, default: `'Erc.Kit'`): Specifies the name of the application using the Ethereum client.
129
-
-`appIcon` (string): Specifies the URL or path to an icon representing the application.
130
-
-`appDescription` (string): Specifies the description of the application.
131
-
-`appUrl` (string): Specifies the URL of the application.
132
129
-`chains` (array, default: `defaultChains`): An array of chain configurations to connect with. If not provided, the function will use default chain configurations.
133
-
-`alchemyId` (string): The API key for the Alchemy provider, used for connecting to the Alchemy service.
134
-
-`infuraId` (string): The API key for the Infura provider, used for connecting to the Infura service.
130
+
-`alchemyId` (optional) (string): The API key for the Alchemy provider, used for connecting to the Alchemy service.
135
131
-`connectors` (object): An object containing customized connector configurations for the Ethereum client.
136
-
-`publicClient` (object): Specifies a pre-configured public client object.
137
-
-`stallTimeout` (number): Specifies the stall timeout value for the Ethereum client.
138
132
-`walletConnectProjectId` (string): The project ID used for the WalletConnect integration.
The `configureWagmi` function is used to configure the `@wagmi/core` library and initialize the Svelte stores. It takes an optional options object that can be used to configure the behavior of the function.
168
-
169
-
- `walletconnect` (optional): A boolean that indicates whether to enable WalletConnect support. If this is set to true, the
170
-
walletconnectProjectID option must also be provided.
171
-
- `walletconnectProjectID` (optional): A string that contains the Project ID for the WalletConnect service. This is required if walletconnect is set to true.
172
-
- `alchemyKey` (optional): A string that contains the API key for the Alchemy service. This is required if you want to use the Alchemy provider.
173
-
- `autoConnect` (optional): A boolean that indicates whether to automatically connect to the Ethereum provider on page load.
0 commit comments