-
Notifications
You must be signed in to change notification settings - Fork 327
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
86 changed files
with
2,615 additions
and
1,191 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
"@thirdweb-dev/react": minor | ||
"@thirdweb-dev/react-core": patch | ||
--- | ||
|
||
## New smartWallet() API (Breaking Change) | ||
|
||
### Before | ||
|
||
In the previous API, adding a smart wallet created it's own new entry called "Smart wallet" in the ConnectWallet Modal and you had to pass in the personal wallets which was shown to the user when they clicked on the "Smart wallet". | ||
|
||
```tsx | ||
<ThirdwebProvider | ||
supportedWallets={[ | ||
smartWalet({ | ||
personalWallets: [metamaskWallet(), coinbaseWallet()], | ||
factoryAddress: "....", | ||
gassless: true, | ||
}), | ||
]} | ||
/> | ||
``` | ||
|
||
### After | ||
|
||
Since most users don't know what a smart wallet is, this was confusing. So with the new API, you can just use smart wallet under the hood for any wallet you want and it will just show up as that wallet and not a "smart wallet" in ConnectWallet Modal to improve the user experience. | ||
|
||
Once the user is connected, the ConnectWallet Details button shows to the user that they are infact connected to a smart wallet. | ||
|
||
```tsx | ||
const config = { | ||
factoryAddress: "....", | ||
gassless: true, | ||
} | ||
|
||
<ThirdwebProvider | ||
supportedWallets={[ | ||
smartWalet(metamaskWallet(), config), | ||
smartWalet(coinbaseWallet(), config), | ||
]} | ||
/> | ||
``` | ||
|
||
## New Features added to `ConnectWallet` component | ||
|
||
- ENS Name + Avatar support added | ||
- New 'Send funds' button added to ConnectWallet which users can use to send various tokens. | ||
- New "Receive funds" button added to ConnectWallet which users scan the QR code from their wallet app on phone to send funds to their other wallet on desktop | ||
- Added `supportedTokens` prop to customize the list of tokens for each network in for the "Send Funds" screen. | ||
- "Transaction history" button added to ConnectWallet which opens the block explorer | ||
- New wallet `embededWallet()` to sign in with Google / Email | ||
- Ability to show balance of any token instead of just native token in the ConnectWallet details button using the `displayBalanceToken` prop |
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,5 @@ | ||
--- | ||
"@thirdweb-dev/service-utils": patch | ||
--- | ||
|
||
Adds platform metrics to usage tracker payload |
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,6 @@ | ||
--- | ||
"@thirdweb-dev/unity-js-bridge": patch | ||
"@thirdweb-dev/wallets": patch | ||
--- | ||
|
||
pass explorerRecommendedWalletIds from unity client + add special uninitialized paper case to avoid throwing |
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,7 @@ | ||
--- | ||
"@thirdweb-dev/wallets": patch | ||
--- | ||
|
||
- Fix PaperWallet Google Sign in | ||
- Fix EmbededWallet AutoConnect when using Google sign in | ||
- Update EmbededWallet connect API |
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,5 @@ | ||
--- | ||
"@thirdweb-dev/sdk": patch | ||
--- | ||
|
||
fromSigner should respect network if possible |
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,5 @@ | ||
--- | ||
"@thirdweb-dev/service-utils": patch | ||
--- | ||
|
||
add embedded wallets to service definitions |
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,5 @@ | ||
--- | ||
"@thirdweb-dev/react-native": patch | ||
--- | ||
|
||
Update ipfs json upload to new endpoint |
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,5 @@ | ||
--- | ||
"@thirdweb-dev/react-native": patch | ||
--- | ||
|
||
Coinbase url listener should only listen for the Coinbase callbackURL |
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,5 @@ | ||
--- | ||
"@thirdweb-dev/react-native": patch | ||
--- | ||
|
||
Correctly return json uploads results |
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,36 @@ | ||
import type { Chain } from "../src/types"; | ||
export default { | ||
"name": "VEX EVM TESTNET", | ||
"chain": "vex", | ||
"icon": { | ||
"url": "ipfs://QmcZiEAGFYEEax1uxYnDUh8X5YBvZqMi9K92yZoq4o2zeM", | ||
"width": 451, | ||
"height": 446, | ||
"format": "png" | ||
}, | ||
"rpc": [ | ||
"https://vex-evm-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}", | ||
"https://testnet.vexascan.com/evmapi" | ||
], | ||
"faucets": [ | ||
"https://t.me/vexfaucetbot" | ||
], | ||
"nativeCurrency": { | ||
"name": "VEX EVM TESTNET", | ||
"symbol": "VEX", | ||
"decimals": 18 | ||
}, | ||
"infoURL": "https://vexanium.com", | ||
"shortName": "VEX", | ||
"chainId": 5522, | ||
"networkId": 5522, | ||
"explorers": [ | ||
{ | ||
"name": "Vexascan-EVM-TestNet", | ||
"url": "https://testnet.vexascan.com/evmexplorer", | ||
"standard": "EIP3091" | ||
} | ||
], | ||
"testnet": true, | ||
"slug": "vex-evm-testnet" | ||
} as const satisfies Chain; |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.