Skip to content

Commit 281759f

Browse files
Add base account sdk (#8634)
Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com>
1 parent 2d98fe2 commit 281759f

172 files changed

Lines changed: 6011 additions & 3094 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/add-base-account-sdk.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"thirdweb": minor
3+
---
4+
5+
Add Base Account SDK integration with `@base-org/account`
6+
7+
- Add @base-org/account 2.5.0 dependency
8+
- Introduce Base Account SDK wallet connector
9+
- Add base-account-web.ts with EIP-1193 provider implementation
10+
- Add base-account-wallet.ts with core wallet logic
11+
- Add types and helper function exports

packages/thirdweb/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"url": "https://github.com/thirdweb-dev/js/issues"
1212
},
1313
"dependencies": {
14+
"@base-org/account": "2.5.0",
1415
"@coinbase/wallet-sdk": "4.3.0",
1516
"@emotion/react": "11.14.0",
1617
"@emotion/styled": "11.14.1",
Lines changed: 11 additions & 0 deletions
Loading

packages/thirdweb/scripts/wallets/extra-wallets.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,33 @@
175175
"native": null,
176176
"universal": null
177177
}
178+
},
179+
{
180+
"id": "org.base.account",
181+
"name": "Base Account",
182+
"homepage": "https://base.org/",
183+
"image_id": "base.svg",
184+
"app": {
185+
"browser": null,
186+
"ios": null,
187+
"android": null,
188+
"mac": null,
189+
"windows": null,
190+
"linux": null,
191+
"chrome": null,
192+
"firefox": null,
193+
"safari": null,
194+
"edge": null,
195+
"opera": null
196+
},
197+
"rdns": "org.base.account",
198+
"mobile": {
199+
"native": null,
200+
"universal": null
201+
},
202+
"desktop": {
203+
"native": null,
204+
"universal": null
205+
}
178206
}
179207
]

packages/thirdweb/src/exports/wallets.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ export type {
1111
InjectedSupportedWalletIds,
1212
WCSupportedWalletIds,
1313
} from "../wallets/__generated__/wallet-ids.js";
14+
export type {
15+
BaseAccountSDKWalletConnectionOptions,
16+
BaseAccountWalletCreationOptions,
17+
} from "../wallets/base-account/base-account-web.js";
18+
export { isBaseAccountSDKWallet } from "../wallets/base-account/base-account-web.js";
1419
export type {
1520
CoinbaseSDKWalletConnectionOptions,
1621
CoinbaseWalletCreationOptions,

0 commit comments

Comments
 (0)