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
{{ message }}
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
### 3. Add @totejs/walletkit as the wallet connection library, or connect with rainbowkit or wamgi.
131
+
### 4. Integrate [@totejs/walletkit](https://github.com/node-real/walletkit) as the wallet connection library, or connect with [rainbowkit](https://github.com/rainbow-me/rainbowkit)
124
132
125
133
```bash
126
134
npm install @totejs/walletkit
127
135
```
128
136
129
-
### 4. Add WagmiConfig, WalletKitProvider and UploadKitProvider to your project.
137
+
### 5. Add WagmiConfig, WalletKitProvider and UploadKitProvider configuration to your project
### 1. Props for Configuring the UploadKitProvider Component.
328
343
329
344
```tsx live=false
345
+
/**
346
+
* Props for Configuring the UploadKitProvider Component.
347
+
*
348
+
* @property{UploadKitOptions}options - Configuration options for the UploadKitProvider.
349
+
* @property{React.ReactNode}children - The children components rendered within the UploadKitProvider.
350
+
* @property{ThemeVariant}[theme] - The theme variant for the UploadKitProvider.
351
+
* @property{ThemeMode}[mode] - The mode for the UploadKitProvider.
352
+
* @property{CustomTheme}[customTheme] - Custom theme settings for the UploadKitProvider.
353
+
*/
330
354
exportinterfaceUploadKitProviderProps {
331
355
options:UploadKitOptions;
332
356
children:React.ReactNode;
333
357
theme?:ThemeVariant;
334
358
mode?:ThemeMode;
335
359
customTheme?:CustomTheme;
336
360
}
337
-
```
338
-
339
-
### 2. UploadKitOptions
340
361
341
-
```tsx live=false
342
362
/**
343
-
* UploadKitOptions is the options of the Greenfield UploadKit.
363
+
* Configuration options for upload.
344
364
*
345
-
* @property{Client}client - THe Greenfield js sdk client, Reference: https://docs.bnbchain.org/greenfield-js-sdk/client/greenfield-client
365
+
* @property{Client}client - The Greenfield js sdk client, Reference: https://docs.bnbchain.org/greenfield-js-sdk/client/greenfield-client
346
366
*
347
367
* @property{string}seedString -seedString is used to authenticate yourself to the provider. If not specified, the provider will generate one.
348
368
* @property{(data: Uint8Array) => Promise<string[]>}[checksumFn] - The function to calculate the checksum of the object. If not specified, the provider will use the default checksum function.
* @property {string} seedString -seedString is used to authenticate yourself to the provider. If not specified, the provider will generate one.
12
12
* @property {(data: Uint8Array) => Promise<string[]>} [checksumFn] - The function to calculate the checksum of the object. If not specified, the provider will use the default checksum function.
0 commit comments