This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
164 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
slug: /wallet/rabby-wallet | ||
title: Rabby Wallet | ||
--- | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import CodeBlock from "@theme/CodeBlock"; | ||
|
||
Prompt users to connect to their [Rabby wallet](https://rabby.io/). | ||
|
||
## Usage | ||
|
||
```javascript | ||
import { RabbyWallet } from "@thirdweb-dev/wallets"; | ||
|
||
const wallet = new RabbyWallet(); | ||
|
||
wallet.connect(); | ||
``` | ||
|
||
## Configuration | ||
|
||
Optionally, provide a configuration object when instantiating the `RabbyWallet` class. | ||
|
||
<details> | ||
<summary>recommended (optional) </summary> | ||
<div> | ||
|
||
Show this wallet as "recommended" in the [ConnectWallet Modal](/react/react.connectwallet). | ||
|
||
```ts | ||
RabbyWallet({ | ||
// highlight-start | ||
recommended: true, | ||
// highlight-end | ||
}); | ||
``` | ||
|
||
</div> | ||
</details> | ||
|
||
## Methods | ||
|
||
Inherits all the public methods from the [`AbstractClientWallet`](interfaces/abstract-client-wallet) class. |
Binary file modified
BIN
-42.3 KB
(66%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/advanced-configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-22.5 KB
(70%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/choose-network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-22.6 KB
(67%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/contract-metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-228 KB
(63%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/delayed-reveal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-221 KB
(78%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/deploy-now.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-43.8 KB
(65%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/funds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-233 KB
(69%)
docs/onboarding/2 Explore/Contracts/assets/nft-drop/upload-types.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-177 KB
(75%)
docs/onboarding/21 Embedded Wallet/assets/configuration-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-219 KB
(72%)
docs/onboarding/21 Embedded Wallet/assets/custom-json-firebase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-206 KB
(74%)
docs/onboarding/21 Embedded Wallet/assets/ew-configuration-opt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-206 KB
(76%)
docs/onboarding/21 Embedded Wallet/assets/ew-configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-20.2 KB
(88%)
docs/onboarding/21 Embedded Wallet/assets/jwk-creator-tool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
title: rabbyWallet | ||
slug: /react.rabby | ||
displayed_sidebar: react | ||
--- | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import CodeBlock from "@theme/CodeBlock"; | ||
import { CustomizeWalletConfigurator } from "@components/build-wallet/CustomizeWalletConfigurator"; | ||
|
||
A wallet configurator for [Coin98 Wallet](/wallet/rabby-wallet) which allows integrating the wallet with React. | ||
|
||
```tsx | ||
import { rabbyWallet } from "@thirdweb-dev/react"; | ||
|
||
const coin98WalletConfig = rabbyWallet(options); | ||
``` | ||
|
||
## options | ||
|
||
<details> | ||
<summary>recommended (optional) </summary> | ||
<div> | ||
|
||
Show this wallet as "recommended" in the [ConnectWallet Modal](/react/react.connectwallet). | ||
|
||
```ts | ||
rabbyWallet({ | ||
// highlight-start | ||
recommended: true, | ||
// highlight-end | ||
}); | ||
``` | ||
|
||
</div> | ||
</details> | ||
|
||
## Usage with `ConnectWallet` | ||
|
||
To allow users to connect to this wallet using the [ConnectWallet](/react/react.connectwallet) component, you can add it to [ThirdwebProvider's supportedWallets](/react/react.thirdwebprovider#supportedwallets-optional) prop. | ||
|
||
```tsx | ||
<ThirdwebProvider supportedWallets={[rabbyWallet()]} clientId="your-client-id"> | ||
<YourApp /> | ||
</ThirdwebProvider> | ||
``` | ||
|
||
## Usage with `useConnect` | ||
|
||
you can use the `useConnect` hook to programmatically connect to the wallet without using the [ConnectWallet](/react/react.connectwallet) component. | ||
|
||
The wallet also needs to be added in [ThirdwebProvider's supportedWallets](/react/react.thirdwebprovider#supportedwallets-optional) if you want the wallet to auto-connect on next page load. | ||
|
||
```tsx | ||
const coin98WalletConfig = rabbyWallet(); | ||
|
||
function App() { | ||
const connect = useConnect(); | ||
|
||
const handleConnect = async () => { | ||
await connect(coin98WalletConfig, connectOptions); | ||
}; | ||
|
||
return <div> ... </div>; | ||
} | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.