-
Notifications
You must be signed in to change notification settings - Fork 619
[Docs] Add Ecosystem Wallet to sidebar and update documentation #7643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
joaquim-verges
merged 1 commit into
main
from
_Connect_Add_Ecosystem_Wallet_to_sidebar_and_update_documentation
Jul 18, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,111 @@ | ||
| import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs"; | ||
| import { TypeScriptIcon, EngineIcon } from "@/icons"; | ||
| import { createMetadata } from "@doc"; | ||
|
|
||
| export const metadata = createMetadata({ | ||
| image: { | ||
| title: "Server Wallets", | ||
| icon: "wallets", | ||
| }, | ||
| title: "Server Wallets", | ||
| description: | ||
| "Server wallets are wallets that are managed by your own application, like a treasury wallet or admin wallet. They are used to send transactions from the server.", | ||
| }); | ||
|
|
||
| # Server Wallets | ||
|
|
||
| Server wallets are wallets that are managed by your own application, like a treasury wallet or admin wallet. They are used to send transactions from the server. | ||
|
|
||
| ### Create a new Server Wallet | ||
|
|
||
| You can create a new server wallet from your project dashboard. | ||
|
|
||
| --- | ||
|
|
||
| <Tabs defaultValue="http"> | ||
| <TabsList> | ||
| <TabsTrigger value="http" className="flex items-center gap-2 [&>p]:mb-0"> | ||
| <EngineIcon className="w-4 h-4 mr-2" /> | ||
| HTTP API | ||
| </TabsTrigger> | ||
| <TabsTrigger value="typescript" className="flex items-center gap-2 [&>p]:mb-0"> | ||
| <TypeScriptIcon className="w-4 h-4 mr-2" /> | ||
| TypeScript | ||
| </TabsTrigger> | ||
| </TabsList> | ||
|
|
||
| <TabsContent value="http"> | ||
|
|
||
| ### Use an existing Server Wallet | ||
|
|
||
| Once created, you can use your server wallet by passing it as the `from` field of the `executionOptions` of the [transactions API](https://engine.thirdweb.com/reference). | ||
|
|
||
| ### Create a new Server Wallet Programmatically | ||
|
|
||
| ```http | ||
| POST /v1/accounts | ||
| Content-Type: application/json | ||
| x-secret-key: <your-project-secret-key> | ||
|
|
||
| { | ||
| "label": "My Server Wallet" | ||
| } | ||
| ``` | ||
|
|
||
| ### List all Server Wallets | ||
|
|
||
| ```http | ||
| GET /v1/accounts | ||
| Content-Type: application/json | ||
| x-secret-key: <your-project-secret-key> | ||
| ``` | ||
|
|
||
| </TabsContent> | ||
|
|
||
| <TabsContent value="typescript"> | ||
|
|
||
| ### Use an existing Server Wallet | ||
|
|
||
| For existing server wallets, you can get a wallet object with the `serverWallet` function. | ||
|
|
||
| ```typescript | ||
| import { Engine, createThirdwebClient } from "thirdweb"; | ||
|
|
||
| const client = createThirdwebClient({ | ||
| secretKey: "...", // your project secret key | ||
| }); | ||
|
|
||
| const wallet = Engine.serverWallet({ | ||
| client, | ||
| address: "0x...", // your server wallet address | ||
| }); | ||
| ``` | ||
|
|
||
| You can then use this wallet to send transactions just like user wallets with the thirdweb SDK. | ||
|
|
||
| ### Create a new Server Wallet Programmatically | ||
|
|
||
| You can also create new server wallets programmatically with a label. | ||
|
|
||
| ```typescript | ||
| import { Engine } from "thirdweb"; | ||
|
|
||
| const wallet = Engine.createServerWallet({ | ||
| client, | ||
| label: "My Server Wallet", | ||
| }); | ||
| ``` | ||
|
|
||
| ### List all Server Wallets | ||
|
|
||
| You can list all server wallets for your project. | ||
|
|
||
| ```typescript | ||
| import { Engine } from "thirdweb"; | ||
|
|
||
| const wallets = await Engine.getServerWallets({ | ||
| client, | ||
| }); | ||
| ``` | ||
| </TabsContent> | ||
| </Tabs> |
This file contains hidden or 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 hidden or 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 hidden or 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 added
BIN
+34.9 KB
apps/portal/src/app/transactions/distribute-tokens/assets/airdrop-nfts-1.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 added
BIN
+193 KB
apps/portal/src/app/transactions/distribute-tokens/assets/airdrop-nfts-2.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 added
BIN
+44.5 KB
apps/portal/src/app/transactions/distribute-tokens/assets/airdrop-nfts-3.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 added
BIN
+59.6 KB
apps/portal/src/app/transactions/distribute-tokens/assets/airdrop-nfts-4.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 added
BIN
+158 KB
apps/portal/src/app/transactions/distribute-tokens/assets/airdrop-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.