Changelog
The thirdweb TypeScipt SDK v5.84.0 release adds support for Nebula, our new AI model designed interact with real time blockchain data and execute transactions with natural language.
Installation
Simply install the thirdweb package on your frontend or backend to get started.
Natural Language Blockchain Queries
Nebula enables developers to query real-time blockchain data using simple natural language prompts. From checking contract symbols to analyzing on-chain metrics, Nebula provides human-readable responses to your blockchain queries.
AI-Powered Transaction Execution
Nebula goes beyond just querying data - it can now execute blockchain transactions based on natural language instructions. Simply connect your wallet and describe the transaction you want to perform.
Key Features
- Natural language processing for blockchain queries
- Real-time data access across 2000+ chains
- Transaction execution through simple prompts
- Works with 300+ wallet providers, in-app wallets, smart wallets and engine
- Context-aware responses and actions with multi step sessions
This addition to the SDK marks a significant step forward in making blockchain technology more accessible and user-friendly. Nebula's natural language capabilities greatly reduce the complexity of doing complex actions on the blockchain.
For detailed documentation and examples, please visit our documentation portal or join our Discord community for support and discussions.
Happy Building! 🛠️
Backend Engine Account Support
The thirdweb TypeScript sdk v5.84.0
introduces the new engineAccount()
function, enabling seamless backend integration with your thirdweb Engine instance. This addition allows developers to leverage the full power of the thirdweb SDK and contract extensions functions in backend environments while benefiting from Engine's performance, reliability, and monitoring capabilities.
Key Features
- Create Engine-powered accounts for backend transaction handling with nonce and fund management
- Full access to thirdweb SDK functions and extensions from the backend
- Built-in transaction monitoring and reliability features
Usage Example
This update helps backend development workflows by opening up the large catalog of extensions functions available in the SDK. The engineAccount()
function serves as a bridge between your backend services and the blockchain, handling transaction preparation, submission, and confirmation in a reliable manner.
For more information about this release, please visit our documentation or join our Discord community for support and discussions.
Happy building! 🛠️
We're excited to introduce powerful new batching capabilities in Engine v2.1.25, enabling you to execute multiple operations atomically and efficiently read from multiple contracts in a single call.
New Features
1. Atomic Transaction Batching
New Endpoint: /backend-wallet/{chainId}/send-transaction-batch-atomic
Send multiple transactions that will be executed together in a single atomic operation. Perfect for operations that need to happen in a specific order, like token approvals followed by transfers. Check out the API Reference for more details.
Key Benefits:
- Guaranteed order of execution
- All transactions succeed or fail together
- Single queue ID for tracking the entire batch
- Compatible with all smart account setups:
- Smart backend wallets (no additional headers needed)
- Regular backend wallets using
x-smart-account-address
header
Usage Example:
Difference from Previous Write Endpoint:
- Previous: Each transaction got its own queue ID, executed independently
- New: Single queue ID for entire batch, guaranteed atomic execution
2. Contract Read Batching
New Endpoint: /contract/{chainId}/read-batch
Execute multiple read operations across different contracts in a single call, with guaranteed consistency of data from the same block. Check out the API Reference for more details.
Key Benefits:
- All reads executed in the same block
- Reduced RPC calls using multicall3
- Perfect for getting related data across contracts
- Consistent state snapshot across all reads
Usage Example:
Transaction Status Updates
The transaction status object now includes a batchOperations
field that provides details about all operations in an atomic batch. This field will be null for non-batch transactions:
thirdweb Engine is an open-source server for your app to read, write, and deploy contracts at production scale. Self-host for free or get a cloud-hosted Engine for $99/month.
Contract Analytics on thirdweb dashboard is now powered by thirdweb Insight
You can select a date range and see various analytics for the contract such as
- Unique wallets that have sent transactions
- Total Transactions & Events
- Breakdown of unique Functions calls & emitted Events
View this contract analytics on dashboard
What is insight?
Insight is a powerful tool that lets you retrieve blockchain data from any EVM chain, enrich it with metadata, and transform it using custom logic.
Whether you're building a gaming inventory system, tracking DeFi metrics, or analyzing NFT collections, Insight makes it easy to get the data you need with simple API calls. Learn more about thirdweb insight to use in your projects!
We’re excited to announce a major update to Insight API! The latest changes enhance the API’s functionality by introducing multichain support, enabling seamless data fetching across multiple blockchain networks.
What's New?
Multichain Queries Across All Endpoints
- Parallel Data Fetching: Fetch data from multiple chains simultaneously, improving efficiency.
- Consolidated Responses: Responses now include
chain_ids
in the payload to identify the source chain for each piece of data. - Enhanced Response Schema: Added metadata fields:
chain_ids
: List of queried chain IDs.total_items
: Total count across all chains.limit_per_chain
: Indicates the per-chain limit derived from the request's original limit.
Chain IDs Validation
Only requests with supported chain IDs—validated against Thirdweb Insight’s chain list—are now processed. This ensures consistent and accurate responses.
Updated Endpoints
The following endpoints now support multichain queries:
/tokens/erc20
: Consolidates token balances across chains/events
: Returns events from specified chains, preserving chain identification./transactions
: Provides transactions with proper error handling for invalid chain IDs./query
: Delivers raw query results with metadata for chain information.
Backward Compatibility
Existing single-chain requests remain fully supported, ensuring no disruptions for current users.
Example Requests
Single-Chain Request
Multichain Request
Response Example
Looking Ahead
This update lays the groundwork for future improvements on multichain queries via Insight API. As we continue to expand, our goal is to make working with multichain data as seamless and efficient as possible.
Start leveraging these improvements today to explore multichain insights more effectively!
We're excited to announce that thirdweb Insight has expanded its blockchain data querying capabilities with support for 43 chains, including these 15 new chains:
- Polygon mainnet
- Polygon Amoy testnet
- Optimism mainnet
- OP Sepolia testnet
- Celo mainnet
- Ancient8 mainnet
- Ancient8 testnet
- Plume mainnet
- Plume testnet
- Avalanche Fuji testnet
- Superposition testnet
- Etherlink testnet
- Mantle Sepolia testnet
- XAI testnet
- Lumia testnet
What This Means For Developers
With these additions, you can now use all of Insight's powerful features across these new chains:
- Query on-chain events with the Events Blueprint
- Track transactions with the Transactions Blueprint
- Monitor token balances (ERC-20, ERC-721, ERC-1155) with the Tokens Blueprint
For example, to query latest events on Optimism
View All Supported Chains
For a complete list of supported chains and their respective chain IDs, check the thirdweb chainlist.
We’re excited to share the latest updates to Nebula, bringing powerful new features, enhancements, and bug fixes to improve your development experience. This release focuses on expanding Nebula’s capabilities, making it even easier to deploy contracts, retrieve information, and interact seamlessly with the platform.
Features
- Contract deployment support: Deploy thirdweb ERC-20 (Token), ERC-721 (NFT Collection), ERC-1155 (Edition), and Split contracts using Nebula via the chat interface or the API.
- Prompt Nebula to prepare and execute contract deployments in natural language — example, “Deploy an ERC-20 contract named “Hello World” with description “Hello world token deployed with an AI” and symbol “HELLO”
- More published contracts will be supported in upcoming releases. If you would like for your published contract to be enabled on Nebula, please contact us.
- Multi-message API: Enable multi-message on the
/chat
and/execute
endpoints to allow multi-shot prompts that can be helpful to maintain and clarify context, and refine responses. The/chat
and/execute
endpoints accept:message: string
or
- Comprehensive support for developers: Expanded resources and guidance to help developers effectively build web3 apps and games using thirdweb's extensive tooling and documentation.
- "How do i transfer erc20 tokens in .NET?”
- "How do i setup a session key in unity?”
- Build using Nebula and Eliza, a simple and lightweight framework for creating autonomous AI agents.
- Eliza plugin is current available for testing out on dev and will be available on production soon. Start with https://github.com/elizaOS/eliza/tree/develop/packages/plugin-thirdweb
Nebula is currently in Alpha for a select number of developers. For access to the product, please sign up on the Nebula waitlist.
For any feedback or support inquiries, please visit our support site.
What's Changed
- Additions from Thirdweb's .NET SDK Release 2.14.0
- Additions from Thirdweb's .NET SDK Release 2.15.0
- Added
AuthProvider.Backend
's relatedwalletSecret
to In-App and Ecosystem Wallets' options. You can now create server side wallets! - Split
ThirdwebManager
intoThirdwebManagerBase
,ThirdwebManager
(frontend),ThirdwebManagerServer
(backend)- Adds
ThirdwebManagerServer
prefab, usesSecretKey
instead ofClientId
andBundleId.
- Adds a lot of flexibility and extendability for various use cases.
- Adds
It's time to make blockchain-powered AI allies and opponents that leverage backend wallets and perhaps even Nebula.
Links
Engine v2.1.24 introduces sponsored transaction support for regular backend wallets, enabled on zkSync chains leveraging native account abstraction.
What's New?
Sponsored Transaction Mode
Added x-transaction-mode: sponsored
header that enables sponsored transactions for regular backend wallets. This brings key benefits:
- No need to hold or manage gas tokens
- All gas costs are handled by thirdweb's paymaster
- Receive consolidated gas usage bills from thirdweb
- Compatible with local, AWS KMS, and GCP KMS wallets
Technical Details
To send sponsored transactions:
The header:
- Works with regular backend wallets on supported chains
- Is ignored when used with Smart Backend Wallets (their transactions are already sponsored)
- Returns an error if used on currently unsupported chains
Getting Started
- Update to Engine v2.1.24
- Add the
x-transaction-mode: sponsored
header - Send transactions normally through your regular backend wallet
Smart Backend Wallets handle sponsored transactions by deploying a separate smart account for your wallet. On zkSync, wallets can act as their own smart accounts - meaning your regular wallet address can send sponsored transactions directly without needing a separate smart account address.
Contact support@thirdweb.com for any questions about implementing native AA support in your application.
thirdweb Engine is an open-source server for your app to read, write, and deploy contracts at production scale. Self-host for free or get a cloud-hosted Engine for $99/month.
.NET Updates
- Added
DropER721_Burn
,DropERC1155_BurnBatch
,TokenERC721_Burn
,TokenERC1155_Burn
,TokenERC1155_BurnBatch
contract extensions. - Overriding default RPCs is now allowed through a new
ThirdwebClient
creation parameterrpcOverrides
.
- Removed some leftover unnecessary logging.
Integration in Unity & WalletConnect Updates
- Additions from Thirdweb's .NET SDK Release 2.13.0
- Exposed the ability to override RPC per chain ID in the
ThirdwebManager
. - Exposed the ability to force specific wallet ids into your WalletConnect modal in the
ThirdwebManager
. - Added hover tooltips for all
ThirdwebManager
options.
Autoconnect Feature
Flag under ThirdwebManager > Preferences.
If enabled, Thirdweb will automatically connect to the last connected wallet on initialization (this behavior does not apply to the WalletConnectWallet provider option).
If a wallet was connected as a non smart wallet, then later upgraded, the smart wallet is saved as the last wallet, and the next session will autoconnect to the smart wallet.
Any failure during this entire flow should not throw.
Links
We are thrilled to announce support for backend wallets! This enhancement empowers developers to programmatically access wallets through their backend systems without needing to manage private keys directly. It simplifies wallet management while maintaining security and flexibility for various use cases.
Why Backend Wallets Matter
Traditionally, managing wallets in decentralized applications often required dealing with private keys or relying on client-side solutions. However, there are scenarios where programmatic access to wallets on the backend is essential, such as:
- Server-side automation: Automating blockchain interactions for services like token minting, payments, or data signing.
- Enhanced security: Keeping private keys off the client side while enabling wallet operations.
- Custom integrations: Integrating wallets seamlessly with backend APIs for complex workflows.
With backend wallet support, developers can now securely and conveniently access wallets from their backend infrastructure.
How It Works
The new feature allows you to create a wallet instance on the backend using the backend
, here's how it's done with the typescript SDK:
Get Started Today
Ready to explore backend wallet support? Try it out on all version of the thirdweb
SDK from 5.83.0
onwards.
Features 🚀
EIP-7702 Authorization Lists (Beta)
We've added beta support for EIP-7702 authorization lists. You can now construct and send 7702 authorizations with the following functions:
signAuthorization
: Generate authorization signaturesprepareTransaction
: AddedauthorizationList
parameter
Manual Smart Account Deployment
Added deploySmartAccount
function to explicitly deploy smart account contracts.
Improvements 🔧
Smart Account Signatures
Deployed smart accounts now use the legacy signature behavior (ERC-1271) rather than ERC-6492 pre-deploy signatures.
Features 🚀
Retrieve In-App Wallet Smart Wallet Admin Account
We've added the getAdminAccount
method to inAppWallet interfaces when using Account Abstraction (AA), including gasless ecosystem wallets. This addition allows developers to retrieve the admin account for AA-compatible in-app wallets.
Improvements 🔧
Enhanced Modal Control
We've added a new onClose
callback option to Connect Details modal, providing developers with greater control over modal behavior and user interactions. The callback receives the last active screen name when the user closes the modal, enabling better UX flows and analytics.
Auto-Connect onTimeout Callback
We've also added an onTimeout
callback in useAutoConnect hook to handle connection timeout scenarios gracefully. Timeouts can happen if the user has previously connected a wallet, but we're unable to reconnect to that wallet.
Bug Fixes 🐛
Smart Account Transactions
We fixed an issue where smart accounts could not execute transactions on chains besides the one they were initially created on. AA transactions on chains besides the initial one now deploy the smart account on the new chain before executing the transaction
Removals and Deprecations 🗑️
Wallet Support Changes
We've removed co.lobstr from the available wallets list as it is not EVM-compatible
IThirdwebWallet.UnlinkAccount
Adds the ability to Unlink a LinkedAccount
from your In-App or Ecosystem Wallet.
EIP-7702 Integration (Experimental)
Integrates authorizationList
for any transactions.
This EIP essentially allows you to set code to an EOA, unlocking a world of possibilities to enhance their functionality.
The best way to understand it outside of reading the EIP is looking at the example below; to preface it: we sign an authorization using the wallet we want to set code to. Another wallet sends a transaction with said authorization passed in, essentially activating it. The authority wallet now has code set to it pointing to an (insecure) Delegation contract in this case, which allows any wallet to execute any call through it on behalf of the authority. In this example, we call the wallet executing both the authorization and the claim transaction afterwards, the exectuor.
An authority may execute its own authorization, the only difference is internal whereby the authorization nonce is incremented by 1.
Note that for the time being this only works on 7702-enabled chains such as Odyssey and the feature has only been integrated with PrivateKeyWallet
.
EcosystemWallet.GetUserAuthDetails
Adds the ability to retrieve auth provider specific user information from In-App and Ecosystem Wallets.
Other additions
SwitchNetwork
is now part of the mainIThirdwebWallet
interface. Smart Wallets now attempt to switch the underlying admin network automatically as well.ERC721_TotalSupply
extension now includes burned NFTs when using thirdweb contracts, allowing forERC721_GetAll
andERC721_GetOwned
functions to return said NFTs as well.- Various new utilities for conversions and transaction decoding, including decoding
authorizationList
.
Full Changelog: https://github.com/thirdweb-dev/dotnet/compare/v2.11.1...v2.12.0
Links
Christmas is around the corner and thirdweb wallets have some gifts for you!
Unlinking
If you're using the React UI components, you should now see the options to remove accounts that you might have linked by accident.
For users on typescript, this is also available as a function
This give you more flexibility to manage users account and privacy!
Custom session expiration
Some of you have been asking for custom session tokens beyond the standard 7 days we have today and we hear you.
Starting today, you will be able to set customer session expiration if you're on custom auth endpoints on JWK.
Simply return a field exp
corresponding to the Unix timestamp in seconds that you want to session token to expire.
Custom authentication endpoints
Custom JWK
Sign an exp
field in the JWT payload that is signed by your server.
Wrapping up
All these features are available today fromthirdweb@5.78.0
onwards. We have more things planned and look forward to seeing you again with more updates when the new year rolls around!
Merry Christmas and happy holidays!
We've made Engine even more reliable in v2.1.20. Here's a sample of nonce management improvements we made:
Improved handling of stuck transactions
Transactions can be stuck in mempool for multiple reasons (usually chain-specific). We made improvements to more aggressively retry transactions through including:
- Retries with increasing gas (up to 10x gas).
- Retries after a fixed amount of time, even if the RPC blocks are delayed.
- Configuration to limit the max gas to spend on resends to stay within chain limits.
- Configuration to limit how long to retry a transaction for.
Automatic nonce reset when out of funds
Engine resets the nonce when a wallet runs out of funds to ensure that after the wallet is funded, transactions are sent with correct nonces.
Retry failed transactions, even userOps
The Retry Failed Transactions now allows retrying any failed transactions including user operations.
Want to force a specific transaction to retry with the same nonce? Use the Retry Transaction (Synchronous) endpoint.
Advanced usage to manage wallet nonces
Most users should rely on Engine to manage and correct wallet nonces. If you want more direct control, the following endpoints allow you to directly manage Engine's wallet nonces. These endpoints are safe to run and intended to "fix" wallets that are stuck. Be warned they may cancel any pending transactions with those nonces.
Reset nonce state for one or all wallets
The Reset Nonces endpoint was updated to optionally allow resetting the nonce state for a single wallet (by default it resets all wallets).
Cancel nonces
A new Cancel Nonces endpoint allows you to send null transactions with high gas to effectively "cancel" pending transactions using those nonces.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
We just released a new package that allows you to use thirdweb's in-app and smart wallets within you wagmi app with minimal effort. Few lines of code to add web2 sign in like google, discord, passkey, etc along with ERC-4337 smart accounts that unlock gasless transactions, batched transactions and session keys.
Install the new package
First, install the thirdweb
and @thirdweb-dev/wagmi-adapter
packages in your wagmi app.
Make sure you're running wagmi 2.14.1 or above.
Setup the connector
You probably already have a wagmi config with some connectors, simply add the inAppWalletConnector
to the list, along with the desired options.
Connect users
Now you can connect users with the desired auth strategy. Options include email, phone, passkey, google, discord, x, telegram, github, and more.
And that's it! The example above connects your users with their google account, creates an ERC4337 smart account with sponsored transactions that you can use with the rest of your wagmi app.
Happy building! 🛠️
We previously added unified identities to the thirdweb SDK, allowing users to link multiple profiles as valid authentication options within your app. However, you couldn't tell which provider they had signed in with for the current session. In thirdweb v5.77.0, we've added the getLastAuthProvider
utility to the React module, allowing you to retrieve the most recently used provider from within any web context.
Other Improvements
- Fixed a caching issue in our new headless components
Users can now publish their contracts with contract references in deploy params.
What this means is, if there are address params in your contract's constructor, you can provide a reference to another published contract for those params. These reference contracts will then be deterministically deployed before deploying your contract.
You can specify these references in publish form as shown below:
For e.g., _owner
param is of type address
and allows publisher to specify a contract reference. You can do this by selecting Dynamic Input
and providing details of the published contract. Please note that the contract being set as reference should be a published contract with default values pre-filled.
You can also setup a chain of such references, i.e. a referenced contract has another reference contract in its deploy params, and so on.
In addition to the address
type, you can also provide dynamic inputs for bytes
params. For e.g., if the bytes param is composed of address
, uint256
, and bool
, you can specify these values instead of giving an encoded bytes value. These will be encoded during deployment. The address param within this bytes param can again be a dynamic reference. See below:
This feature works for address[]
and bytes[]
params too.
Engine is used by web2 and web3 companies for production use, powering 10M+ transactions per week. Making sure your Engine is secure and your funds are safe are critical, so here's security improvements we made (v2.1.20) and what's coming up.
Security audit
We've completed our second code and infrastructure assessment from an independent third party auditor and will be sharing the report shortly.
No critical vulnerabilities were identified, and all reported issues were addressed.
Security updates
- Improved CORS response handling. Clearer logs + responses if calls are made from invalid origins.
- Added modern browser security headers to restrict unused permissions (embedding, geolocation, camera, etc.).
- Updated dependencies to address publicly reported vulnerabilities.
Other notable updates
singlePhaseDrop
added to allclaim-to
endpoints allowing users to set claim conditions and claim tokens in a single phase for custom drop contracts.gasPrice
can now be overridden allowing users to explicitly set the gas price for pre-EIP1559 chains.- Post-EIP1559 chains should continue to use
maxFeePerGas
andmaxPriorityFeePerGas
overrides, if needed.
- Post-EIP1559 chains should continue to use
- All
/mint-to
endpoints were updated to thirdweb v5 SDK and should have greatly improved response times. - Idempotency keys up to 200 characters are now supported.
- The codebase is updated with better organization and code standards, and we're enforcing linting rules moving forward.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
A new version of Insight is released, focusing on bringing decoded data to the API and bug fixes to the indexing logic.
Added
Decoding for events and transactions in the API
Implemented functionality to decode event logs (supporting both indexed and non-indexed parameters) and transaction inputs whenever a query is made with. partial ABI.
For example, let's say we want to query all allocated withdrawal function calls on the TheCompact
contract (0x00000000000018DF021Ff2467dF97ff846E09f48
).
The partial ABI of the function is ((bytes,uint256,uint256,uint256,uint256,address))
, however the Insight API allows for named arguments, so we can use allocatedWithdrawal((bytes allocatorSignature,uint256 nonce,uint256 expires,uint256 id,uint256 amount,address recipient) _withdrawal)
We can do the following query to insight
and receive a response
The interesting part is the decodedData
property, which contains the decoded function input arguments
Bug fixes
- Poller gap filling uses configured poll range - Introduced a limit on polling missing blocks, based on `blocksPerPoll` configuration instead of the whole missing range.
- Fixed signature calculation for partial ABI - Fixed a bug where various uint types in the partial ABI resulted in an incorrect signature
- Fixed nullpointer exception when checking if polling limit is reached
- Clickhouse delete performance - Updated to use lightweight deletes instead when handling reorgs, to reduce load on the DB
Learn more about Insight and how to use it.
Insight is open source.
We've been iterating on our next generation smart accounts contracts. They are ERC-7579 compliant modular smart accounts, unlocking the growing catalog of account modules.
This is a BETA release, so expect some changes, but you can already start playing with it on both TypeScript and DotNet SDKs.
We have published 2 contracts to get you started, a modular account factory and a simple validator module.
Stateless Modular Account Factory
A generic, un-opinionated smart account factory that lets you pick a smart account implementation and any default modules you like.
Default Validator Module
A simple validator module, with multi owner and session key support.
Usage in TypeScript SDK
Once you have deployed both of those contracts, you can use them in the SDK to deploy accounts for you users, using the new Config
smart account presets.
You now have a modular smart account wallet instance that you can use with the rest of the SDK as usual.
You can also pass this configuration to the Connect UI components:
Disclaimer
API and contracts are still in BETA - expect breaking changes and frequent updates.
Once stabilized, we will deploy a default factory and validator module on all chains which will be the default in the SDKs.
Looking for feedback
We're releasing this early so we can get some feedback from you, play with it on testnet and let us know what you think!
Happy building! 🛠️
We just added support for ERC-6492 signatures in the TypeScript and DotNet SDKs. This means that you can now sign and verify signatures for smart accounts even if they haven't been deployed yet!
If your app uses smart accounts and sign in with ethereum (SIWE), this massively improves the first time user flow. Users can simply proceed to the app: there's no wait for the account to be deployed.
It also reduces cost for app developers, since the cost of deploying smart accounts is incurred on the first transaction, rather than when signing in.
No code changes for this one, just make sure you use the latest version of the SDK on both the signing and the verifying side, or any 6492 compatible signature verification library.
Happy building! 🛠️
We've added new chains to the platform this week!
Every chain comes out of the box with SDK support RPC, Engine and Account Abstraction capabilities. All you need is the chain id to get going.
For testnets, you'll also find a faucet in each chain page.
Happy building! 🛠️
What's Changed
- Additions from Thirdweb's .NET SDK Release 2.11.0
SmartWallet.PersonalSign
no longer requires the SmartWallet to be deployed, increasing speed. Verification is done through ERC-6492. Validating a signature also works with ERC-6492 signatures now. Useful for apps that want to instantly authenticate (using Thirdweb Auth - SIWE for example) without incurring costs.purchaseData
can now be passed to Thirdweb Pay quote params, making Direct Payment flows fully featured.
InAppWalletOptions
now extendsEcosystemWalletOptions
(no changes to dx).- Slightly improved Playground UI.
Links
Added the ability to pay for gas with ERC20 tokens when using Smart Wallet.
- Currently supports Base USDC, Celo CUSD, and Lisk LSK tokens.
- Simply select a
TokenPaymaster
when creating aSmartWallet
and all transactions will be paid for with the corresponding ERC20 from the user's Smart Wallet. - Useful on L2s where the native token is ETH and you want to enshrine another coin or onramp your users directly to that coin.
- These TokenPaymasters entirely operate onchain, leveraging popular DEXes and decentralized price feeds from Uniswap & Chainlink.
- This product is in beta, and only compatible with EntryPoint v0.7.0, which we auto select for you if not overriden when configurin your wallet.
Example:
The latest update brings unparalleled marketplace integration to your fingertips! All 36 marketplace engine calls are now available in C++, Blueprints, and as async tasks, complete with supporting structs to streamline your workflow. Dive into enhanced examples, fetch IPFS nodes seamlessly, and enjoy compatibility with Unreal Engine 5.2 and 5.5 for even greater flexibility. We've cleaned up runtime settings, optimized dynamic tasks, and resolved key build errors to ensure a smooth development experience. Get ready to unlock the full potential of your marketplace projects with these powerful new tools!
What's Changed
Additions
- Bug Report and Feature Request Templates in Repo
- Missing C++ functions for exising engine calls
- All 36 marketplace engine calls in c++, Blueprints, and as async tasks with supporting structs
- Sign In With Ethereum and Link with SIWE
- Fetch IPFS nodes
- QR Code Generator for future use
Enhancements
- Unbind Route on destroy for Browser
- UE_5.2 compatibility for customer
- UE_5.5 compatibility
- Cleanup Runtime settings
- Cleanup duplicate async tasks for dynamic tasks
- Updated examples
- Updated Rust libs
Fixes
- intrinsic build errors
- OAuthBrowserWidget Error being empty
Removals
- Moved BuildPlugin to its own repo
Since introducing Smart Backend Wallets we introduced some new capabilities to Engine and over a dozen bugfixes.
Troubleshoot your webhook implementation
It is important to verify the signature header for Engine webhook calls to verify they came from your Engine. The dashboard now allows you to send a test payload to determine if your webhook endpoint is unreachable, not handling the webhook signature properly, or returning a unexpected response.
On the Webhooks dashboard page, select ... > Test webhook to send an example webhook payload to your backend and see the status code and response body.
Delete backend wallets
You can now delete backend wallets directly from the dashboard. Keep your backend wallets list tidy by removing unused backend wallets.
Better "insufficient funds" errors
Engine now estimates the required amount of gas when it attempts to send a transaction without sufficient gas funds:
Insufficient funds in 0x4Ff9aa707AE1eAeb40E581DF2cf4e14AffcC553d on Polygon Mainnet. Transaction requires > 0.000682043142837 POL.
Notable bugfixes
Lastly we've been squashing bugs to ensure your Engine handles transactions as reliably as possible.
- Fixed Contract Subscriptions to support all chain IDs (previous large chain IDs like Xai Sepolia were unsupported).
- Updated dependency libraries to address reported vulnerabilities.
- Fixed malformed transactions causing the transactions to not load in the dashboard.
- Fixed an edge case where errors for read contract calls were dropped.
- Fixed an edge case in nonce self-healing.
- Fixed Smart Backend Wallet support for certain extension endpoints.
- Handled a different RPC response that could cause a nonce to be skipped.
- See Engine release notes for more details.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
The Engine dashboard now shows all recent versions with timestamps and allows you to select any version to upgrade or downgrade to.
Find the improved version selector in the upper right corner of the Engine dashboard.
Why does it matter?
While Engine releases follows semantic versioning, non-major updates may add input validation or fix an incorrect response (e.g. a 500 that should have been a 400 response). These fixes correct behavior, but in rare cases this may conflict with how your backend sends or parses requests. In these cases, you can now self-service downgrade to a previous Engine version.
Example: Engine used to rely on an older SDK that did not strictly enforce ABIs. In a newer update, provided ABIs must match the proper spec. This may cause write calls that provided an incomplete ABI to start throwing an error.
What's next?
We're aiming to provide visibility in the dashboard when Engine versions change shortly. We also plan to roll out a predictable schedule when cloud-hosted Engines may receive critical security or reliability updates.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
What's Changed
- Added
AuthProvider.Steam
as a login option for In-App or Ecosystem Wallets.
- Added the ability to pay for gas with ERC20 tokens when using Smart Wallet.
- Currently supports Base USDC, Celo CUSD, and Lisk LSK tokens.
- Simply select a
TokenPaymaster
when creating aSmartWallet
and all transactions will be paid for with the corresponding ERC20 from the user's Smart Wallet. - Useful on L2s where the native token is ETH and you want to enshrine another coin or onramp your users directly to that coin.
- These TokenPaymasters entirely operate onchain, leveraging popular DEXes and decentralized price feeds from Uniswap & Chainlink.
- This product is in beta, and only compatible with EntryPoint v0.7.0, which we auto select for you if not overriden when configurin your wallet.
Links
We supported pregeneration for enclave wallets a while back.
Today, wallet pregeneration is available for in-app wallets too!
What does this mean?
This means that you can now know the in-app wallet address of a user before they register on your platform!
This allows you to perform airdrop, pre-load certain assets, and more!
The API is the same as ecosystem wallets except we don't have to include the ecosystem details:
On top of that, we also now support pregeneration via custom IDs. This means that you can know your user's address ahead of time even if you use a custom authentication methods like JWT or an auth endpoint.
Here's what that would look like:
For more information and background on what pregeneration is all about, check out the newly updated documentation here.
We're excited to announce that thirdweb Insight has expanded its blockchain data querying capabilities with support for six new chains:
- Donatuz
- Avalanche
- Soneium Minato
- Fhenix- Helium
- Ape Chain
What This Means For Developers
With these additions, you can now use all of Insight's powerful features across these new chains:
- Query on-chain events with the Events Blueprint
- Track transactions with the Transactions Blueprint
- Monitor token balances (ERC-20, ERC-721, ERC-1155) with the Tokens Blueprint
For example, to query Avalanche data:
Use Cases
These new chain additions enable various use cases across different sectors:
- DeFi
- Track token movements and trading volume across new DeFi ecosystems
- Monitor liquidity pools and DEX activity
- Analyze cross-chain token economics
- Gaming
- Track in-game assets and NFTs on gaming-focused chains
- Monitor player rewards and achievements
- Analyze gaming economy metrics
- NFTs
- Track NFT collections and transfers across new marketplaces
- Monitor NFT trading activity and ownership
- Analyze collection performance metrics
View All Supported Chains
For a complete list of supported chains and their respective chain IDs, check the thirdweb chainlist.
As of v5.69.0, we've added Steam as an authentication option in our TypeScript SDK for all the games and game enjoyooors out there. You can setup Steam auth just like any other authentication method.
We've added new chains to the platform this week!
Every chain comes out of the box with SDK support RPC, Engine and Account Abstraction capabilities. All you need is the chain id to get going.
For testnets, you'll also find a faucet in each chain page.
Happy building! 🛠️
What's Changed
- Fixed an issue with typed data signing using In-App/Ecosystem Wallets when one of the fields was larger than Uint32.
- Improved NFT Metadata Population & Added Filters
- The
ERC1155_GetOwnedNFTs
extension now returns theQuantityOwned
metadata field correctly for each NFT. - The
ERC721_GetNFT
andERC721_GetAllNFTs
extensions can now take in a newfillOwner
parameter that defaults to true and decides whether to make additional requests to populate theOwner
field of the metadata, otherwise defaulting toConstants.ADDRESS_ZERO
. - The
ERC1155_GetNFT
andERC1155_GetAllNFTs
extensions can now take in a newfillSupply
parameter that defaults to true and decides whether to make additional requests to populate theSupply
field of the metadata, otherwise defaulting toBigInteger.MinusOne
.
- The
Links
With the introduction of modular contracts, we are improving the contract management experience on our dashboard to accompany this new development paradigm.
A modular contract has a core contract and module contracts that compose the entire modular contract. With this development in mind, we want to encourage users to add and remove modules with direct support on dashboard.
The following pre-built modules now have special component support on dashboard to enable users to interact with these modules without depending on the Contract Explorer or SDK.
- Transferable
- Royalty
- OpenEdition
- BatchMetadata
To check out these changes, deploy a modular contract on dashboard or view your existing contracts with the aforementioned modules installed.
More module UIs will be released in the coming weeks for the remaining modules- stay tuned. We'd love to hear your feedback on these new changes!
We've made yet another improvement to our dashboard analytics, adding both a project and team-based analytics overview page. Now, you can browse analytics for:
- Weekly and daily active Users
- All-time users
- New users by week or day
- Returning users by week or day
- Distribution of wallets connected
- Total wallets connected
- Distribution of in-app wallet sign-in methods
- Total in-app wallet logins
- Total gas sponsored for your users over time
- ...and more
But there's a catch! You can't see these analytics until you've connected the thirdweb SDK to your app. So start building and your charts can look as amazing as these. 🫡
We've added new chains to the platform this week!
Every chain comes out of the box with SDK support RPC, Engine and Account Abstraction capabilities. All you need is the chain id to get going.
For testnets, you'll also find a faucet in each chain page.
Happy building! 🛠️
Faster In-App Wallet initialization
We've previously sped up in app wallet authentication.
Today, we've dramatically improved our in-app wallet generation speeds. It's now around 40% faster!
Enclave In App Wallet
In app wallets now get to benefit from the updated security model that ecosystem wallets enjoy.
In particular, we've moved to an enclave model allowing for verifiable code execution. This way, you'll know exactly what the private keys are being used for at all times.
This sets us up to use in app wallets in places where we couldn't before. Think CLIs, backend float wallets, etc.
Migration for existing users on the sharded model happens automatically and requires no work on your end.
We've written a more in depth security overview of the new model here.
To enjoy all the latest goodies, simply update to the latest thirdweb SDK version 5.67.0
!
We are introducing a massive change to thirdweb dashboard with a focus on Teams and Projects
API Keys are now Projects
By default all your API keys are converted to projects under a single team as shown below
New Project Dashboard
You can click on your project to view analytics, configure thirdweb services and manage settings.
Easily switch between Teams and Projects
You can quickly switch between teams and projects directly from dashboard header
Team Settings Dashboard
Manage your team's general settings, team members, billing, gas credits and notification alerts in team settings dashboard
Account Management dashboard
We now have an entire dashboard dedicated to Account management. You can manage your teams, view all your contracts and manage authorized devices.
More features coming soon in Q4
- Create multiple teams
- Invite and manage team members
- Account settings
- Link Engines and Contracts with Projects
- Link Projects to Ecosystems
What's Changed
- Having an incorrect or slightly off system time would produce errors when logging in with In-App Wallets in some cases, we have added a fallback in this scenario that will work around this issue.
IThirdwebWallet.Transfer
now has an optionaltokenAddress
override to transfer ERC20 tokens using said function; this is an alternative toThirdwebContract.ERC20_Transfer
.- ERC1155 transfer-related functions'
data
bytes parameter has now been made optional. - The inability to fetch
NFTMetadata
when calling an NFT-related method no longer throws, and instead returnsNFTMetadata
with a description containing the error message. - Enables custom implementation for OTP Verification Modal by @Vingator in https://github.com/thirdweb-dev/unity-sdk/pull/218
- Introduces abstract OTP verification modal so you can customize it more easily.
- Shared by In-App and Ecosystem Wallets.
Links
Exciting new tools and refinements are here with the latest release! Track transactions effortlessly with new nodes for status and receipts, and take advantage of the Blueprint Screenshot Debug feature added directly to your Editor Toolbar. We’ve enhanced security by masking sensitive logs and streamlined configuration with a global PartnerID setting. Plus, enjoy smoother Android authentication and cleaner session key creation. These updates make for a more secure and streamlined experience, so dive in and explore what's new!
What's Changed
Additions
- Get Transaction Status node
- Get Transaction Receipt nodes
- Add Blueprint Screenshot Debug Functionality to Editor Toolbar as Button
Enhancements
- Mask sensitive strings in logging
- Migrate
PartnerID
to global configuration, removing from all nodes
Fixes
- Use JSI-bound custom tabs to fix android external auth
- Formatting string on Read Contract
Removals
- Reduce inputs on
CreateSessionKey
- Per node
PartnerID
What's Changed
- In-App Wallets now use the same infrastructure as Ecosystem Wallets.
- Up to 90% performance increase, specially on lower end devices or web platforms.
- Much less cryptography done client side, using secure enclaves over shamir's secret sharing.
- If you were using In-App Wallets previously, they will be automatically migrated to the new infrastructure upon first login.
- If you were using custom auth with In-App Wallets before this release, you may pass your legacy encryption key during the creation of your wallet - it will be used to migrate your wallets to the new infrastructure upon first login.
- Encryption keys are no longer required for In-App Wallets when logging in with JWT (OIDC Compatible Custom Auth) or AuthEndpoint (Generic Custom Auth).
- Added
GetUserDetails
method to In-App/Ecosystem Wallets that returns more information about your logged in user.GetEmail
andGetPhoneNumber
have been deprecated in favor ofGetUserDetails
- Added
GetEcosystemDetails
method to return general information about your Ecosystem Wallet, can be used for dynamic branding, etc. - Fixes
TokenERC721_MintTo
functions failing with invalid signature; the token id parameter has also been removed.
Links
Engine v2.1.0 introduces Smart Backend Wallets, powered by account abstraction. Key benefits include:
- No more gas management
- No need to hold crypto
- Fewer stuck transactions
- Backward-compatible interface
- One-step setup
Why does it matter?
No more gas management
Smart backend wallets send all transactions as user operations from a smart wallet using thirdweb's paymaster. Your wallets no longer need to hold or top-up gas funds, and thirdweb sends you a bill for your gas used.
No need to hold crypto
No more top-ups also means your business no longer needs to hold crypto. This is great news for any business that must avoid holding cryptocurrency tokens for regulatory or financial reasons.
Use a smart backend wallet with an AWS KMS or GCP KMS wallet for enterprise-grade security for the signer.
Fewer stuck transactions
While Engine v2 processes transactions very fast, some chains or nodes may throttle transactions submitted from a single backend wallet. Smart backend wallets circumvent this limitation because transactions (or "user operations") are sent from a large fleet of bundler wallet addresses.
Backward-compatible interface
Smart backend wallets behave like existing (EOA) backend wallets. Simply update your app's x-backend-wallet-address
header with the smart backend wallet address. All of Engine's endpoints are supported.
One-step setup
Engine creates an EOA signer wallet and deploys a smart account using thirdweb's battle-tested account factory, or your own.
The EOA signer wallet may be a local wallet, AWS KMS, or GCP KMS. You don't need to keep track of this wallet, Engine manages it behind the scenes.
The thirdweb account that deployed Engine (cloud-hosted) or tied to the thirdweb secret key (self-hosted) will be billed for gas usage. A valid payment method must be on file to send transactions on mainnet chains.
What does it cost?
Smart backend wallets are enabled on all Engine tiers (Standard, Premium, Enterprise, and self-hosted) for no added cost.
User operations on testnet are free, and thirdweb charges a 10% fee for gas used on mainnet chains. See Pricing for more details.
Which chains are supported?
See the list of chains that support account abstraction on thirdweb. Don't see your chain? Reach out to us!
How do I create a smart backend wallet?
The existing Create Backend Wallet endpoint now supports new types: smart:local
, smart:aws-kms
, and smart:gcp-kms
:
(Dashboard support coming soon.)
Now provide the backend wallet address to any Engine API that accepts a backend wallet to start using it. We can't wait to see what you build with these new capabilities!
Background: Why we built this in Engine
This update represents a major step forward in making web3 infrastructure more accessible and manageable for teams. Whether you're building a game, marketplace, or DeFi app, smart backend wallets provide the foundation for scalable, secure, and efficient blockchain operations.
The benefits mentioned above address the top pain points we heard from customers, and we believe account abstraction-based wallets are the ideal solution.
Account abstraction is complex, but thirdweb (Engine, SDK, infrastructure, contracts) handles the full stack:
- Manage smart accounts
- Deploy and manage smart account factory contracts
- Initialize EntryPoint contract connections
- Handle complex account deployment logic
- Manage deterministic address computation
- Send user operations
- Build UserOperation
- Calculate gas parameters (verification gas, pre-verification gas)
- Handle signature schemes and validation
- Manage nonces across operations
- Bundler infrastructure
- Run or connect to ERC-4337 bundlers
- Handle bundler connections and failovers
- Monitor bundle status and handle failures
- Manage complex retry mechanisms
- Gas management
- Maintain gas balance
- Alert and top-up wallets
- Handle gas price fluctuations
- Manage paymaster integrations
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
We are excited to announce the release of Insight v0.0.6-beta! This version brings significant improvements to enhance your blockchain data analysis experience.
🚀 New Features
Enable Aggregates and GROUP BY
You can now perform aggregate functions and use GROUP BY
clauses in your queries. This enhancement allows for more sophisticated data analysis, enabling you to summarise and categorise blockchain data effectively.
Transactions Lookup by Signatures
We've added the ability to look up transactions based on their function signatures. This feature simplifies filtering and analysing transactions that invoke specific smart contract functions.
🐛 Bug Fixes
- Fixed an issue where bytes were incorrectly truncated from non-address topics and ensured proper handling of empty topics.
🛠 Other Improvements
- Strip and normalise Solidity function and event signatures for consistent querying.
- Added options for Clickhouse TLS and API basic authentication to enhance security.
- Implemented a whitelist for allowed Clickhouse functions to control query executions.
- Updated Docker image tagging in the release workflow for streamlined deployments.
🔄 Also in v0.0.5-beta
Minor Insight v0.0.5-beta has been released previously without receiving its own changelog, and here are the main takes from it:
- Added Clickhouse and poller settings for better configuration management.
- Implemented skipping of unmerged blocks in the reorg handler to enhance stability.
- Skipped duplicate blocks in the committer to prevent redundant data processing.
- Introduced missing block polling in the gap handler and committer to ensure data completeness.
If you encounter any issues or have suggestions, please feel free to open an issue in our GitHub repository.
Your project's dashboard just became more useful with a new set of metrics to track the growth of your apps!
Login to your account, select your project and head over to the Connect tab to see an overview of your aggregated metrics for connections, in-app wallets, account abstraction and pay. You can also dive deeper into each individual section for more detailed metrics.
This is just scratching the surface of all the insights Connect can give you about how your app is performing. Keep an eye out on your dashboards for more stats and metrics.
Happy Building! 🛠️
Our latest release introduces even more control and functionality to your workflow! With new raw contract read/write capabilities, enhanced mobile URL redirects, and automated deeplink registration on Android, you’re set up for seamless integration. Improved organization and logging, situationally-enforced external OAuth for added compatibility, and optimized async task handling all work together to keep your development smooth and efficient. Dive in to experience these enhancements and fine-tune your projects like never before!
What's Changed
Additions
- Generic Raw Read/Write Contract via Engine
- Mobile AppURL redirect override
- Engine Base URL + Access Token added to settings
- Automatic Deeplink registration on android devices
Enhancements
- GetLinkedAccounts automatically converted to data struct
- Rust Core updated
- Async Tasks grouped into folder structure
- Imports cleaned up
- Logging cleaned up to Verbose/VeryVerbose
- Enforced external auth for some OAuth providers
- .h/.cpp split out for some files
- Async Tasks now check for game thread and use weakThis refs
We just released a new version of the thirdweb Connect SDK which comes with a refreshed prebuilt UI components for executing transactions, onramping, bridging and swapping any token.
The new UI brings a simpler onramping flow showing you all your available balances up front, easy way to pay with another wallet and with a credit card.
We also upgraded the transaction flow to make it clearer for when your users don't hold enough funds in their wallets to complete a transaction.
Try it out live on the playground: https://playground.thirdweb.com/connect/pay
Happy building! 🛠️
What's Changed
- Upgraded base project/examples to Unity 6 and Playground from In-App to Ecosystem Wallet.
- Much faster on platforms like WebGL and lower end devices.
- Ecosystem Wallets are shareable with third parties.
- Added a
link.xml
to cover Thirdweb's .NET Core assemblies. Minimal stripping is no longer a hard requirement unless using WalletConnect as one of your wallet provider options. - Updated base project Android settings to target Min API 34 to match latest store policies.
- Upgraded EDM4U (External Dependency Manager) - contains various improvements.
Links
We've added new chains to the platform this week!
Every chain comes out of the box with SDK support RPC, Engine and Account Abstraction capabilities. All you need is the chain id to get going.
For testnets, you'll also find a faucet in each chain page.
Happy building! 🛠️
What's Changed
- Added
AuthProvider.Twitch
as a new auth provider option for logging in with In-App or Ecosystem Wallets. - Upgrading an
EcosystemWallet
to aSmartWallet
without passing optional parameters will now attempt to use defaults from your dashboard Account Abstraction settings if any.- Create a
SmartWallet
with anEcosystemWallet
as a signer and no additional conflicting overrides to make use of this feature. - Explicitly passed SDK overrides will always take priority over dashboard options.
- If dashboard options are unavailable/unset, we revert to previous default values for gas sponsorship and account factories.
- Create a
This comes after a couple patches worth noting:
- Added
AuthProvider.Github
as a new auth provider option for logging in with In-App or Ecosystem Wallets. MetaMaskWallet
: GetAddress now enforces returning correctly checksummed address.WalletConnectWallet
: Closing the modal now throws and interrupts the connection process properly.- WalletConnect and MetaMask wallet providers now hexify messages passed to
IThirdwebWallet.PersonalSign
before signing.- If you were signing a hash or a string starting with 0x before, nothing changes.
- If you were signing a raw message like "Hello World" UTF8 String, we'd hexify it before sending it over to the wallet.
- This fixes display issues on the latest version of MetaMask (specially mobile) which no longer supports plain text parameters for personal_sign.
- Removes
latest
parameter frometh_estimateGas
being used in ThirdwebTransaction.EstimateGasLimit on non-zk chains and methods that use it by extension, fixing issues on chains that do not support that parameter such as Binance Testnet. - When using WalletConnect, attempts to fetch current active chain if applicable by corresponding wallet and avoid the additional requests to ensure correct network upon connection if unnecessary.
Links
We just released an update for ecosystem owners. You can now setup custom authentication, and enable smart account options right from the dashboard.
When enabling account abstraction options, ecosystem wallets will automatically be converted to smart accounts without any code change, allowing for sponsored transactions, session keys, batched transactions and more. Make sure to use the latest version of the SDK.
Custom authentication allows to specify your own endpoint to handle auth verification yourself, opening up for any authentication you can think of.
Let us know what you think!
We've added new chains to the platform this week!
Every chain comes out of the box with SDK support RPC, Engine and Account Abstraction capabilities. All you need is the chain id to get going.
For testnets, you'll also find a faucet in each chain page.
Happy building! 🛠️
Added
- Introduced a
fromBlock
configuration option for the committer, allowing users to specify a custom starting block. This enhancement provides flexibility in data processing by starting committing from a specific block height. - Added support for
eth_getBlockReceipts
RPC method, enhancing transaction data storage and providing additional transaction fields likecontract_address
,gas_used
, andstatus
. The configuration now supports enabling block receipts, improving data collection efficiency.
Improved
- Improved poller initialization with enhanced handling of
ForceFromBlock
configuration. - Updated storage interfaces to include a range start parameter for precise block range handling, with adjustments made to ClickHouse, memory storage, and mock storage implementations.
- Optimized ClickHouse table schemas for better query performance. Changes include ordering by block number and introducing a
function_selector
column in the transactions table, along with indexing every log topic to facilitate query-based filtering. - Removed the
FINAL
keyword from ClickHouse queries where it was deemed unnecessary.
Learn more about Insight at https://github.com/thirdweb-dev/insight
We've added Twitch as an authentication strategy for all in-app and ecosystem wallets with thirdweb SDK v5.63.0.
Include Twitch in the <ConnectButton />
like any other strategy.
Other Improvements
- Treasure Topaz has been added to the support ZK chains
- Storage improvements for PWA reliability
Say hello to seamless wallet linking and streamlined development with our latest release! We've consolidated key functionality for wallet creation, sign-ins, and message signing, making it easier than ever to build with dynamic K2Nodes. With enhanced asynchronous task handling and updated examples to match the new blueprint nodes, you’ll experience a smoother, more efficient workflow. Plus, we’ve cleaned up unused code, ensuring a leaner and more optimized system for your projects. Dive in and explore the new possibilities!
What's Changed
Additions
- Ecosystem Wallet Linking
- Dynamic K2Nodes to consolidate functionality for Creating Wallets, Signing in, and signing messages
AsyncTaskThirdweb{Purpose}Base
files to standardize codeK2Node_ThirdwebBase
to standardize K2Node creation- Static CountryCode convenience definitions for Phone OTP
- ThirdwebUncookedOnly module to house all K2Node related code
Enhancements
- Examples updated to match changed blueprint nodes
- All networked C++ Functions migrated to UE::Tasks threads with delegate return types
- All Blueprint functions mapped to now-delegate C++ functions converted to AsyncTasks
Removals
EThirdwebAuthenticationMethod
dangling unused enum
We're excited to announce a significant performance upgrade to thirdweb Engine's AWS and GCP Key Management Service (KMS) support. Engine v2.0.22 dramatically improves transaction processing speed and simplifies KMS workflow.
What's New?
🚀 Blazing Fast KMS Integration
- Massive performance boost: transaction sending time reduced from 5+ minutes (for very high volumes) to sub-seconds
- Internally we removed an ethers dependency, in favour of a native integration with the v5 thirdweb SDK for improved efficiency
🔑 Multi-Wallet Type Support
- Use multiple wallet types simultaneously within the same Engine instance
- Create different wallet types using the new
type
parameter in the create backend wallet endpoint
🔐 Streamlined AWS KMS Setup
- Simplified
import
endpoint for AWS KMS - Only ARN (Amazon Resource Name) required;
keyId
no longer necessary
🔧 Fine-Grained Credential Control
- Override global KMS credentials on a per-key basis
- Optionally specify credentials when importing wallets for granular security management
Why This Matters
- Lightning-Fast Transactions: Send KMS transactions in seconds instead of minutes regardless of volume, allowing for more responsive dApps.
- Simplified Workflow: Easier setup and management of KMS wallets within Engine.
- Enhanced Flexibility: Multi-wallet support and fine-grained credential control offer more options for managing your blockchain operations.
- Improved Scalability: Handle higher transaction volumes with ease, perfect for high-traffic dApps.
thirdweb Engine is an open-source server for your app to read, write, and deploy contracts at production scale. Self-host for free or get a cloud-hosted Engine for $99/month.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
Engine has been updated to v2.0.25 which brings a handful of improvements.
Account salt: make AA calls before deploying the contract
First what is an account salt? The account salt is a unique ID that deterministically predicts a wallet address for a given admin + smart account factory.
This means your backend can provide a unique ID (like your dApp's user ID) as an account salt to Engine, and Engine will consistently reference and/or deploy the same smart account address each time (for the same admin + factory).
Here's an example:
My game has user IDsuid1
,uid2
, anduid3
.
When a user signs up, the user's smart account calls my game contract.
Steps without account salt
1. User signs up.
2. Backend calls Engine to create a smart account.
3. Backend waits for the transaction to be mined.
4. Backend calls Engine with x-account-address: <address from step 2>
to call the contract on behalf of the account.
Steps with account salt
1. User signs up.
2. Backend calls Engine with x-account-salt: uid1
to call the contract on behalf of the account.
💡 Bonus: The account is not deployed until a write transaction, deferring gas fees until the account is actually used!
The following endpoints now accept the x-account-salt
header (more to come!):
/contract/:chain/:contractAddress/write
/contract/:chain/:contractAddress/erc20/claim-to
/contract/:chain/:contractAddress/erc721/claim-to
To deploy a smart account from the account salt, call Create Smart Account and set the extraData
arg to the salt.
To predict a smart account address from the account salt without deploying it, call Predict Address and set the extraData
arg to the salt.
Improved API reference
Our API reference page has moved! 👉 engine-api.thirdweb.com
This new API reference docs make it easier to search for endpoints (try CTRL/⌘+K), see path/query/body params, and view sample code.
You can even test requests right in the API docs page! Select Test Request and provide the following details:
Improved retry endpoint
The Send Retry (Synchronous) endpoint now allows retrying any transaction that was sent (either still waiting to be mined or "timed out"). This commonly occurs when a transaction is stuck because of gas spikes or other network congestion.
If a transaction appears stuck, try to resend with aggressive (3-10x) gas fees:
Plenty of bugfixes + improvements
- Fixed issue signing messages with Google Cloud KMS and AWS KMS wallets.
- Fixed import of Google Cloud KMS wallets. (Thanks @yukia3e !)
- Fixed 500 response when using an unrecognized backend wallet.
- Updated userOp code to the latest thirdweb SDK -> simpler code and performance optimizations.
- Fix nonce resync worker exiting early when there are multiple wallets sending transactions concurrently.
- Handle errors of different types better to avoid "empty" error messages.
- Fallback if the contract write call is provided an incomplete ABI (missing
inputs
oroutputs
fields). - Updated log lines to be single-line for improved debuggability.
- Added lots of new route tests around signMessage, contract write, and userOps.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
Version v0.0.3-beta focuses on data accuracy by introducing handling for reorgs. Other changes include refactoring the RPC component for easier reuse, creating a test setup with initial tests and improving the setup for running Insight locally.
Features and Enhancements
- Reorganization Handling and Storage Enhancements
- Introduced a new `ReorgHandler` component to detect and handle blockchain reorganizations, with updated metrics to track performance.
- Added storage support for chain reorganization
- Configurable reorg handler settings to manage detection intervals and block scans.
- Refactored RPC Client and Modularity Improvements
- Created an `IRPCClient` interface for better abstraction and testability of the RPC client.
- Refactored RPC-related functionality into a dedicated `rpc` package to improve code structure and performance.
- Updated orchestrator components to utilize the enhanced RPC client setup.
- Simplified RPC interactions with utility functions for data serialization.
- Data Insertion Refactoring
- Overhauled data insertion logic in the storage layer for configurable batching strategy, enhancing transaction handling across different storage systems.
- Introduced `InsertDataForBlocks` method in storage interfaces, streamlining data insertion processes.
API Changes
- API Configuration and Documentation
- Made the API host configurable, enhancing deployment flexibility across environments.
- Updated Swagger documentation handling to dynamically generate API docs at the `/openapi.json` endpoint.
- CORS Support
- Added CORS middleware to API routes, improving cross-origin request handling and enhancing API accessibility.
Infrastructure and Tooling
- Continuous Integration and Testing Setup
- Established a testing framework using Testify and Mockery, and integrated CI workflows.
- Local Development Enhancements
- Added an option to disable TLS for ClickHouse and included a Docker Compose setup for easier local development and testing.
Learn more about Insight at https://github.com/thirdweb-dev/insight
It's been a long time coming, but now we're finally here. With the completion of the audit of the refactor of Modular Contracts and the Token Paymaster Gateway, Modular Contracts have officially been released under version v1.0.0
The audit was completed by 0xMacro under the git commit tagged macro-audit-9
.
You can read about the full report here and you can read about all the changes introduced from the refactor here
As always, with security being top of mind and with the completion of the audit, modular contracts are now finally in a state ready for production.
So stay tuned for our official release of modular contracts!
We shipped an update to the Connect UI in react native that allows users to select any of the 300+ mobile wallets to connect to.
This is enabled by default when you use the ConnectButton
and ConnectEmbed
in React Native. You can turn off this behavior by passing showAllWallets: false
As always, you can also connect to any of these wallets headlessly using the react hooks and TypeScript core functions.
Happy building! 🛠️
What's Changed
- Adds MarketplaceV3 extensions.
- Supports
IDirectListings
,IEnglishAuctions
andIOffers
- Easier to use than direct
ThirdwebContract.Write
calls as the extensions are type safe and able to automatically handle approvals and more (opt-in). - Full reference here - accessible using
contract.Marketplace
extensions.
- Supports
- New Utilities
- Adds standalone
Utils.FetchGasPrice
(legacy tx) andUtils.FetchGasFees
(eip-1559) functions to retrieve chain gas info if needed. - Adds
Utils.HexToBigInt
converting hex strings toBigInteger
directly.
- Adds standalone
Links
We are introducing a massive change to thirdweb dashboard with a focus on Teams and Projects - currently in Beta and available for preview on thirdweb.com/team - Try it out!
The new dashboard adds the following features:
- Organize projects within teams to keep your initiatives organized and secure.
- Invite and Manage team members
- Assign permissions to team members
This new team dashboard will replace the current dashboard by October 21st, 2024.
We shipped an update to make it easier to link multiple identities to the same in-app or ecosystem account on React web and native.
You can now use the useLinkProfiles()
to easily link a new identity to the connected account. A great use case for this is to onboard users with strategy: "guest"
to reduce friction, then when they've engaged with your app, prompt them to link an email or social account.
Once a user has linked an identity, they can use that identity to login back to the same account later. So in the example above, the user can now login with google next time they need to login to your app.
Another great feature is linking web3 wallets to the account:
This will require a signature, ensuring the user owns that wallet. A great use case is doing read only operations on the linked wallets, like checking social profiles, ownership of an NFT or onchain history.
You can fetch all the linked profiles using the useProfiles()
hook.
We also update the playground site, see it in action here: https://playground.thirdweb.com/connect/in-app-wallet
You can also view more detailed documentation on our developer portal.
Happy building! 🛠️
The latest updates to Insight API lay the foundation for a scalable API. This release introduces a switch to a more mature web framework, along with significant improvements to API documentation. Here’s a summary of what’s new in this version:
Switch from Chi to Gin Web Framework
To enhance performance and streamline our development, Insight has transitioned from the Chi web framework to Gin. This change sets the foundation for better scalability and more responsive APIs.
Swagger Documentation Integration
Insight now features full Swagger integration! We’ve added Swagger documentation to help developers better understand and interact with Insight’s APIs. Swagger provides an intuitive and interactive user interface for exploring API endpoints, which streamlines the development process. Navigate to /swagger/index.html#
to start exploring the swagger documentation and interacting with the API.
New Swagger JSON Endpoint
To further improve Swagger’s functionality, we’ve introduced a dedicated Swagger JSON endpoint. This allows developers to directly fetch the OpenAPI specification in JSON format, making it easier to integrate and generate client code. Navigate to /openapi.json
to fetch the openAPI json spec.
learn more about insight at https://github.com/thirdweb-dev/insight
We're continuing to ship further improvements across the board with a focus on enhancing contract metadata retrieval and verification. Before diving into this release’s updates, here’s a quick reminder of this part of the thirdweb platform:
Our contract service is a crucial backend tool for managing smart contracts and contracts-related off-chain interactions within the thirdweb platform and beyond. It streamlines key tasks such as fetching and aggregating comprehensive contract metadata (including ABIs and compilation details) and automates the publishing and verification of contracts on popular blockchain explorers.
By removing the often complex, manual steps involved in contract verification, the service makes it far easier for developers to interact with and deploy smart contracts. We'll be unveiling more information about this service in the future, as we consider making this logic a public good, if you know what we mean ;)
But back to our updates:
- Fix parsing issues with dynamic contracts: Resolved issues with parsing complex dynamic contracts, particularly those utilising the Diamond pattern, improving ABI resolution accuracy.
- Correct propagation of internal 4XX errors: Improved inter-service communication and correct handling of errors caused by , ensuring proper communication of errors to clients.
- Fix logging error messages: Corrected logging issues to enhance observability, ensuring more accurate error tracking and monitoring.
- XrpLedger explorers update: Addressed verification issues on the XrpLedger chain by updating the explorer configurations.
- Clean up tests: Improved the test suite for better reliability and maintainability of the codebase.
- Introduce versioning: Implemented versioning to enhance transparency and accountability, paving the way for future open-source contributions.
As for the remarkable highlight, due to the changes made in recent weeks, this service has witnessed drastic improvements in Service Level Objectives (SLOs):
- Error rate when resolving metadata improved from 62.4% to 97.9%.
- Latency improved from 70.2% to 93.2%.
Stay tuned as we continue refining and expanding features for contract metadata retrievals and verifications.
Version v0.0.2-beta brings with it many reliability improvements to make it more robust and fault-tolerant.
Added
- Added the `poller_last_triggered_block` metric to enhance visibility into poller activity and ensure better progress tracking.
- Enhanced poller logging to report the number of blocks being polled and improved robustness with dynamic slice allocation in serialization.
Changed
- Changed the `logs` table engine to `ReplacingMergeTree` for broader compatibility.
- Refined gap detection and handling by introducing a new `handleGap` function, enhancing logging for better gap visibility, and ensuring block failures are recorded for missing blocks.
Fixed
- Fixed an issue with incorrect poll gaps when `pollUntilBlock` is configured.
- Fixed block number handling to improve metric precision, eliminating the need for temporary division workarounds.
Removed
- Removed database prefixes from table creation scripts to allow flexible database organization.
What's next?
Next release will introduce reorg handling which will ensure data reliability for Insight.
Engine v2.0.19 improves handling of maximum gas fee overrides and introduces timeouts.
- Smarter max gas fees: When the gas prices are high and your backend specifies a maximum gas fee, Engine delays the transaction until prices fall below your override.
- Timeouts: Engine will drop your transaction if it isn't sent within your specified timeout.
Use cases
- Save gas when sending periodic updates to your onchain database that can tolerate higher latency.
- Set a timeout on your DeFi trades to avoid large changes in token prices.
Example
To specify a transfer transaction that spends up to 30 gwei of gas and tries up to 48 hours, add the following fields:
💡 Tip: It is highly recommended to set a timeout when setting a maxFeePerGas. Otherwise if gas prices don't fall, transactions may be in your queue indefinitely.
For details, see Overriding Gas Settings.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
What's Changed
Account Abstraction Improvements
We've sped up SmartWallet
transactions and optimized various internal flows, resulting in up to 50% speed increases from transaction creation to estimation to a receipt being returned. This applies for all flows
Furthermore, we've added an internal feature to automatically detect if a chain is built on the zkSync stack and unlock zkSync specific functionality such as zkSync specific transaction input or Native Account Abstraction automatically.
New Features
Added Utils.GetSocialProfiles
- fetch ENS, Farcaster and Lens profiles given a wallet address or ENS as well as their metadata and more.
A single line of code to fetch metadata about a wallet address and display it in game as you please!
Example returned object
Unified Identity - Account Linking DX Improvements
- Exposes Account Linking functionality (LinkAccount & GetLinkedAccounts) at the
IThirdwebWallet
level. - You may now link accounts directly to a
SmartWallet
signer i.e. personal wallet without needing to fetch the signer withSmartWallet.GetPersonalWallet
or deal with casting to the right types. - External wallets or external wallets being used as SmartWallet signers do not support this feature.
Links
Unlock a world of new possibilities with the latest enhancements to our plugin! From a streamlined settings toolbar and external OAuth browser to expanded support for popular platforms like Discord, Telegram, and Coinbase, this release brings powerful tools right to your fingertips. With ecosystem wallet integration, guest login options, and enhanced mobile OAuth support, you're equipped to create dynamic, secure experiences with ease. Plus, enjoy a cleaner setup with updated examples and safer client enforcement!
What's Changed
Enhancements
- Plugin Icon
- Editor Toolbar Button for Settings Quick Access
- ThirdwebEditor Module for editor-only functionality
- External OAuth Browser
- Per-provider OAuth settings config
- Ecosystem Wallets
- Phone Option to OTP auth methods
- JWT, Auth Endpoint, and Guest Sign In methods
- Discord, Farcaster, Telegram, Line, X, and Coinbase OAuth methods
- External OAuth Complete screen
- Static accessors to all Runtime settings
Modifications
- Google Auth on mobile via external OAuth
- Updated rust core libs
- InApp / Ecosystem Wallets to child structs
- Examples to match changed structs / functions
Removals
- Private Key functionality (Superseded by guest login)
- Secret Key runtime setting - Safer to enforce client + bundle
Engine has been updated to v2.0.18. Here are some notable changes in the past few versions:
Version updates are now instant!
For cloud-hosted Engine customers, the primary account* for an Engine can trigger an version update from the dashboard UI.
⚠️ We recommend pausing critical traffic during this time as there may be up to a minute of downtime.
*The account that owns the subscription. We're working on better Engine management for teams in the near future!
Improved API input validation
All endpoints that accept an EVM address or transaction hash now enforce the type on input, returning a clearer message before the request fails further with a less obvious error (like "Contract not found" when provided a malformed address).
Faster Docker builds
Docker build times have been reduced ~85% down to 7 minutes! This mostly impacts developers building Engine from source.
A bunch of bugfixes + stability improvements
- Gas withdrawals from a backend wallet are more reliable by calculating the max amount of funds that can be withdrawn with the current gas settings.
- Reduced Redis usage when many jobs that fail to mine.
- More reliable "stuck nonce" health checks that alert our on-call. (Cloud-hosted only)
What's next?
The team's focus is on internal alerting and deeper observability into all the dependencies of Engine.
Upcoming product improvements include smart accounts capabilities, more granular options to handle gas spikes, API performance improvements with the v5 SDK, improvements to Alert Notifications, and more. Stay tuned for more changelog updates!
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
We are excited to announce the initial release of thirdweb Insight - an open source indexer and API for any EVM.
Key features
Indexer
Provide an RPC URL and index the whole blockchain (or choose a range), including all blocks, transactions, logs and traces. It will keep up with the chain in real time and keep indexing as the chain progresses.
During our internal testing we achieved a indexing speed of up to 65k blocks per minute. However, this speed depends on the performance of the RPC and heaviness of the chain.
Data correctness
The service is built with the requirement of only serving complete and correct data. Once the block range is indexed, you can be sure that it contains all the transactions and logs that there are without missing any gaps. This is especially important for querying data aggregations like token balances.
Failure recovery
The indexer is designed to recover itself in case of any failures or an unreachable RPC. It will not serve incomplete data and will continue from where the error occurred, once the error has been solved.
API
The service exposes an HTTP API to query transactions and logs complete with aggregations. Here are just a few examples of what you can query using the API:
- Current and historic token balances
- Historic transactions of a specific wallet
- Transactions to a specific contract
- and much more
This initial release of thirdweb Insight lays the groundwork for a performant indexing service and API. We look forward to your feedback and contributions as we continue to enhance and expand the functionality of it. Thank you for your support!
https://github.com/thirdweb-dev/insight
We just released a new version of the thirdweb
package which unlocks ecosystem wallet support for React Native applications.
You can now connect to any ecosystem wallet from native mobile apps with the same API as the web:
This means you can now build up a network of web AND mobile apps that all share the same user identity, all while staying within your ecosystem.
Happy building!
In this release, we’ve introduced key enhancements to ABI resolution for composite contracts, improved functionality for managing contract metadata, and made updates to our persistence layer to ensure more robust performance.
Improved ABI Resolution for Composite Contracts
We've refactored the ABI resolution process, focusing on better handling of composite contracts like plugin-pattern, base router, and diamond pattern contracts. This included ensuring extra stability by introducing checks to prevent recursive calls and other redundant resources-heavy mechanics.
Additional Improvements
- Improved the schema for better handling of proxy contracts.
- Added functionality to refresh contract metadata across all persistence layers, simplifying data management.
- Updated persistence-related functions for better error handling and performance, especially in scenarios involving proxies and non-proxy contracts.
- Improved build times and dependency management (could this hint at something bigger, perhaps even... open-sourcing the project s00n? 👀)
With these updates rolling out we get faster ABI resolutions and even more reliable contract data persistence!
What's Changed
- ThirdwebManager inspector is a little more interactive now.
- Improved default redirect page visuals when logging in with OAuth from desktop platforms.
- Added option to override said html with your own.
- Option to bypass WalletConnect context checks by @BoysheO in https://github.com/thirdweb-dev/unity-sdk/pull/216
- You now have the option to bypass WalletConnect Unity default synchronization context check as needed by setting
- You now have the option to bypass WalletConnect Unity default synchronization context check as needed by setting
ThirdwebClient.Create
no longer takes in raw headers, now only takes in general sdk information optionally. This should not affect most users.- Improved http client cloning when needed in external modules.
- Added
CrossPlatformUnityHttpClient
class which encompasses default .NET and WebGL ones.
Releases
Support
We have made some improvements with respect to prebuilt contract deployments on ZkSync chains.
While it doesn't change the deployment process and experience for most users, there are some key changes as described below:
- All thirdweb contracts can now be deployed on any ZkSync chain without any intervention from us, for existing and new ZkSync chains in the future
- All contracts deployed that way are auto verified using standard solc metadata, which means you can view source and interact with them on the dashboard even if they're not verified on block explorers
We've added a new endpoint to Engine that retrieves and parses transaction logs.
What's new?
- Get Transaction Logs Endpoint: Retrieve logs for mined transactions using a queue ID or transaction hash.
- Automatic Log Parsing: Raw logs are parsed into structured event data by default.
- ABI Inference: The endpoint infers the ABI for verified contracts or those with similar available sources.
Why is this important?
- Instant Insights: Get quick information like token transfer amounts or minted NFT IDs without manual log parsing.
- Less Boilerplate: Say goodbye to writing repetitive ABI handling and log parsing code.
How to use it
Make a GET
request to the new endpoint with the following parameters:
chain
: The chain ID or name (required)queueId
ortransactionHash
: Identifier for the mined transactionparseLogs
: Set totrue
to receive parsed event data (default: true)
For more information, you can check our API Reference.
Technical details
- Works with verified contracts or those with inferable ABIs, can be overridden back to user provided ABI.
- Parsing is attempted for all logs, providing structured data when possible.
- Falls back to raw log data when parsing is not feasible.
Use cases
- Easily retrieve information like how many ERC20 tokens were transferred in a transaction.
- Quickly find out the tokenId of an NFT you just minted using Engine.
- Anywhere else you've wanted to quickly access transaction logs without 100 lines of boilerplate code!
thirdweb Engine is an open-source server for your app to read, write, and deploy contracts at production scale. Self-host for free or get a cloud-hosted Engine for $99/month.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
All cloud-hosted Engine instances (running v2.0.10 or later) can now configure alert notifications to be notified when an issue is detected on your Engine instance.
Add an alert
- Navigate to the new Alerts tab on the Engine dashboard.
- Select Create Alert.
- If the button is disabled, see below.
- Select the type of alert and how to be notified. Currently the following are supported:
- Alert types: Elevated 5xx rate, stuck nonce
- Notification types: Webhook, Slack, Email
- Select Add Alert.
Why is my Create Alert button is disabled?
At this time only the original admin (the account which deployed the cloud-hosted Engine) can view and manage alerts. This is usually the first admin address listed on the Admins tab. We plan to expand alert management to all admins in the near future.
View alert history
You can also view recently fired/resolved alerts on the Alerts tab.
What's next?
This feature lays the groundwork for advanced notifications for any type of error or event that Engine can emit.
For instance, in the future Engine can monitor the balance of a wallet and alert when it drops below a specified threshold. Or alert when it detects unusual transfer activity from a backend wallet.
thirdweb is hiring!
The small team at thirdweb is on a mission to build the most intuitive and complete web3 platform. Our products empower over 70,000 developers each month including Shopify, AWS, Coinbase, Rarible, Animoca Brands, and InfiniGods.
See our open roles. We’d love to work with you!
TypeScript SDK
Enclaves for Ecosystem Wallets
All Ecosystem Wallets are now stored and accessed within AWS Nitro Enclaves. This evolution of wallets provides improved security, speed, and capabilities. The migration to enclaves happens behind the scenes and without any changes necessary.
Upgrade to the latest version of the thirdweb SDK and each ecosystem wallet will be upgraded on next login. In the coming days and weeks we'll be adding additional capabilities that are unlocked by enclaves, the first of which is pregeneration.
Account Pregeneration
You can now pregenerate user accounts via the in-app wallet backend APIs. This allows for interacting with accounts before their owner has logged in. For example, you might send some funds to a user's email, and pregenerate their account if they don't have one yet.
Response format:
Learn more about pregenerating user accounts here.
Login with Coinbase
Coinbase is now supported as an in-app and ecosystem wallet authentication method.
Ecosystem Wallet Unified Identity
With v5.45, we introduced linking multiple authentication methods to an in-app wallet to create a unified identity. Ecosystem wallets now support this same functionality across all platforms.
Bug Fixes and Other Improvements
isGetNFTSupported
checks forgetNFT
support on an ERC-1155 contract- Ecosystem wallets now support guest mode
React SDK
Bug Fixes and Other Improvements
- The details modal now displays the currently logged in auth provider
- The details modal now shows user info such as email when logged into an ecosystem wallet
- The social icon arrangement in the Connect UI now overflows to a new line when using more than 5 auth methods
- Guest accounts are now hidden from the details modal linked profiles screen
Get ready for an upgraded experience with our latest release! We’ve exposed key functions for smoother OAuth workflows, enhanced analytics, and provided custom UI examples to supercharge your development process. Plus, with helpful new tools and fixes, creating seamless OAuth flows and managing your game data has never been easier. Dive in and explore the possibilities!
What's Changed
Enhancements
- Expose SecretKey->ClientID function from rust and update rust libs
- Create and send analytics for connect, with opt-out in settings
- OAuthBrowserUserWidget events for custom OAuth UI Scenarios
- Custom OAuth Browser Overlay example with Circular Throbber and Back button
- Set world override on Level_Thirdweb for GameMode to help new devs
- Set EditiorCustomVirtualPath on plugin to help data segregation
- Various helper functions
Modifications
- Expose FWalletHandle to external access in C++
- Fix White-screen OAuth Scenario in Examples
Removals
- Hide OAuthBrowserWidget from editor
What's Changed
- Ecosystem Wallets implementation in .NET is now compatible with our previous JS implementation of Ecosystem Wallets.
- If you had created accounts or had a user base from web sharded Ecosystem Wallets, they will automatically be migrated to the new performant enclave system upon first login.
- No breaking API changes here, this change detects if an authenticated user requires migration and performs it.
- ERC721 and ERC1155 NFT Contract Extensions such as _GetAll and _GetOwned now have default pagination (100 first token ids).
- This is to avoid fetching an entire collection at once by mistake.
- If the contract is ERC721A,
tokensOfOwnerIn
will be used before falling back to other extensions. - If the contract is ERC721Enumerable,
tokensOfOwnerByIndex
will be used before falling back to single fetching. - Improved batching of such calls.
- Implemented ConcurrentQueue for RPC and improved batching/caching logic
- If you do end up making large calls, such as fetching an entire collection, it should be handled gracefully
- Avoid a lot more 429s
- Speed up Smart Wallet user operations
- No longer estimates the entire user operation gas and simulates prior to sending it.
- This does not affect errors being caught.
- This means if you are estimating gas using ThirdwebTransaction, you will only be returned the internal call gas limit rather than the entire op.
- Less API calls at runtime, 30% faster execution.
- If you still want to estimate the actual user operation gas costs, you can use SmartWallet.EstimateUserOperationGas
- Fixed issue with
_MintWithSignature
extensions where the expected signature bytes would be passed as hex. - [Unity Only] Added
ToQRTexture
helper extension for converting any text to aTexture2D
and potentially display it in a UI Image.
Links
An exciting update is rolling out to improve how contract data is handled on our platform, bringing greater efficiency and scalability!
Faster contract-related SDK calls and dashboards
First and foremost, we enhanced the retrieval process for contract bytecodes, proxy implementations, and metadata by introducing an additional persistence layer. This improvement allows us to serve previously processed data much faster without querying external sources.
This leads to reduced routing and quicker response times. Meaning... 👀 better performance when calling your favourite SDK v5 functions like resolveContractAbi()
and getBytecode()
or when loading a contract's dashboard (e.g. USDC contract) to see ABI, sources and etc.!
Additional Improvements
- Overall stability enhancements through better error logging and improved dependency management.
- Performance boosts through more efficient caching and database query optimizations.
- Codebase refactoring to meet modern standards, enhancing maintainability and scalability.
We are starting to roll out this update incrementally, continuing to prioritise data accuracy while significantly boosting speed!
postscriptum - what is this service about?
Our contract service is a crucial backend tool for managing smart contracts and contracts-related off-chain interactions within the thirdweb platform and beyond. It streamlines key tasks such as fetching and aggregating comprehensive contract metadata (including ABIs and compilation details) and automates the publishing and verification of contracts on popular blockchain explorers.
By removing the often complex, manual steps involved in contract verification, the service makes it far easier for developers to interact with and deploy smart contracts. We'll be unveiling more information about this service in the future, as we consider making this logic a public good, iykwim ;)
As active development is underway with the Modular Contracts framework, safety and security of the code that we officially release into production is always top of mind at thirdweb.
Which is why today we release macro-audit-8
, which covers the following repositories: modular contracts, contracts and contracts pay gateway.
You can find the full release of the audit here.
As Modular Contracts have undergone a significant refactor, we are now going through a second round of auditing in order to cover for those changes, so stay tuned!
TypeScript
Guest Accounts
Sometimes users want to get started using your app without logging in. You can now give users an in-memory "guest account" that can then be converted into a standard account by linking another auth method.
When your user is ready, link any other auth method so they can access their account in the future.
Your user can now access this same wallet with their Google account. Until the user links another profile to the wallet, it will be stored in memory and last until they clear their browser cookies or connect a different wallet.
React
Guest Accounts in the Connect UI
Guest accounts are available in the Connect UI just like any other authentication method.
Bug Fixes and Other Improvements
- Fixed custom ID handling in custom contracts
- Expand getNFTs ERC1155 support
More and more protocols and chains have been releasing functionality around cross-chain messaging and token transfers. With Modular Contracts being released in beta, we saw this as an opportunity to partner up and create modules around these functionalities.
However, as we explored deeper into each protocol's cross-chain mechanisms, we noticed a significant amount of overlap across all functionalities, including:
- A function to handle sending cross-chain payloads and tokens
- A function to handle receiving cross-chain payloads and tokens
- Setter and getter functions for their version of a router
With that in mind, we decided to create CrossChain.sol, an abstract contract that provides a unified interface to implement cross-chain functionality across any protocol.
Breakdown of CrossChain.sol
Inside the contract CrossChain.sol, there are three main functions:
sendCrossChainTransaction
As the name suggests, this is the primary function responsible for sending cross-chain transactions from the protocol.
onCrossChainTransactionSent
This callback function is used within the context of the sendCrossChainTransaction
function.
onCrossChainTransactionReceived
This callback function is used within the context of the receive function for the specified cross-chain protocol.
With these two callback functions, the user’s application logic can be separated from the cross-chain functionality logic, making it easier to differentiate between the two.
And there you have it—an abstract contract to create a unified interface for cross-chain functionality.
If you want to find out more, check out the code here:
https://github.com/thirdweb-dev/modular-contracts
React
Get the Current Smart Account's Admin Wallet
You can now get the admin wallet for a currently connected smart account with useAdminWallet
.
TypeScript
Marketplace Extensions
The Marketplace contract is one of our most used contract templates, and to make it even easier to build on-chain marketplace experiences we're constantly adding SDK extensions to interact with the Marketplace contract.
To better understand what your specific Marketplace supports, we've added a number of specific functions to check for supported features on a contract prior to attempting to use them.
isGetListingSupported
isBuyFromListingSupported
isCreateAuctionSupported
isGetAuctionSupported
isGetWinningBidSupported
isBidInAuctionSupported
isCancelAuctionSupported
isCreateAuctionSupported
isCancelListingSupported
Determine Modular Contract Module Compatibility
With the release of Modular Contracts, you now might need to check if a given module is compatible with your core contract prior to installing it. You can now do this using the checkModulesCompatiblity
function.
Publish Contracts
Published contracts are more discoverable, more easily indexed, and more usable across thirdweb's tools than unknown contracts. It allows anyone to pull the contract's ABI and metadata to interact with your contract permissionlessly. You can now programmatically publish any contract to thirdweb's contract registry with publishContract
.
Bug Fixes and Other Improvements
- Function signatures and contract ABIs are now properly handled in
resolveMethod
- Pay now allows topping up from a different wallet with the same currency
- Our internal ABI types are now publicly exported under
thirdweb/utils
- Balances are now properly invalidated on Pay transaction success
PayEmbed
metadata can now be customized
We've completed revamped the API Key settings page with a more polished UI and following UX improvements
- Combined "Edit" and "View" pages to a single simpler page
- Added "Save" button next to all the form groups instead of having a single "Save" button all the way at the bottom of page
- No more hidden fields - Bundle ID restrictions and Domain restrictions are visible directly on page load
- Improved helper text for form fields
Enhancements
- Failover Algorithm Optimization: Enhanced the failover algorithm to improve resource efficiency.
- Error Handling Improvements: Refined error handling for JSON-RPC errors, providing more robust responses.
- RPC Edge Error Logging: Improved logging for RPC Edge, now handling multiple metadata objects and error stacks more effectively.
- Correlation ID for Error Responses: Added correlation IDs to error responses, uniquely tagging each RPC request for easier troubleshooting.
- Lit Protocol Resources: Expanded available resources for the Lit protocol.
- Database Connection Handling: Enhanced management of database connections for better performance.
- Internal Block Staleness Monitoring: Strengthened internal monitoring to detect and address block staleness more proactively.
- Test Coverage: Increased service test coverage to over 90%, ensuring higher reliability.
Bug Fixes
- RPC Edge Routing Error Rate: Reduced error rates in RPC Edge routing by optimizing node discovery strategy.
- Node-Specific Failovers: Fixed an issue where node-specific errors triggered unnecessary failovers, improving overall system stability.
What's Changed
- Adds
AuthProvider.X
as a login option. Linking supported.
- Fixes edge case when sending two
SmartWallet
transactions at once from an undeployed account and using EntryPoint 0.7.0 where deployment code would be duplicated causing an error.
Links
Unreal Engine SDK 1.2.0 is here, bringing game development to the next level with expanded platform support! Now with Android, iOS, and VisionOS integration, plus streamlined workflows and enhanced core functionality, it's never been easier to bring your games to life across multiple devices.
What's Changed
Enhancements
- Added Android Support
- Added IOS Support
- Added IOS Simulator Support
- Added VisionOS Support
- Added LinuxArm64 Support
- Automatically parse full path of savedir for storage directory imports
- Exposed
GetPrivateKey
from rust in C++ and added the associated blueprint wrapper
Modifications
- Updated rust core libs to sync with upstream
- Renamed
thirdweb.lib
tolibthirdweb.lib
to uniformly align file naming - Migrated remaining subsystem functions to their appropriate destinations
- Cleaned up remaining StringCast references
- Updated readme with new platform support coverage
- Update content examples to reference migrated functions
Removals
- ThirdwebSubsystem
You can now login to an in-app wallet using X/Twitter.
This also works for linking accounts to an existing wallet.
Parse NFT URIs
We've added a parseNFTUri
utility function to parse NFT image URIs of all formats to an IPFS hash. We've also added a parseAvatarRecord
function to specifically parse ENS avatars to a usable HTTPS URL.
Hide Specific Wallets in the Wallet Switcher
You can now hide specific wallet types in the React wallet switcher UI. This can be helpful if you'd like to use smart wallets without exposing the wallet address to the user, or in the opposite case to hide the underlying admin wallet from the user.
Bug Fixes and Other Improvements
- Specify your preferred provider on the
buyWithFiat
function usingpreferredProvider
LINE Authentication
LINE is now supported as an authentication method across the SDK.
This includes linking an account to form a unified identity.
Fetch Users on the Server with getUser
You can now retrieve users by email, phone number, wallet address, or user ID from the server in a single line of code.
Salts for Deterministic Contract Deploys
You can now use a salt to deterministically deploy published contracts.
This also works with unpublished contracts deployed via deployContract
.
deployPublishedContract
Constructor Parameters Format
Constructor parameters passed to deployPublishedContract
are now passed as an object rather than an array.
Bug Fixes and Other Improvements
- Added support for React Native 0.75
- Fixed ERC721 delayed reveal detection
- Multiple smart wallet transactions can now be sent in parallel
- Added the
toFunctionSelector
utility - Social profiles now display in the linked accounts list
- Polygon MATIC is now POL
Over the years, we've seen smart contracts struggle to keep up with developers' evolving needs. Innovation opens new possibilities for asset distribution and compliance, yet deployed contracts remain rigid.
To solve this, we've built Modular Smart Contracts—a framework that allows for highly customizable contracts. Think of these as building blocks: start with a base and add different pieces to create a contract fit to your needs.
Modular Contracts is officially launched with limited deployments, available on testnets only from September 12 - September 26. Post this period, mainnet deployments will be available.
What can you use right now?
- Popular Pre-built Contracts - We've redesigned our top seven contracts using the modular contract framework. These are now available for deployment through the dashboard. Visit Explore to view the available contracts.
- Deploy custom modules - Write and add custom created modules to any ERC20, ERC721, or ERC1155 core contract.
- Connect SDK Support - Once your contract is deployed, use the Connect SDK to build an application. View SDK Integration documentation.
Improvements since alpha
- Creator Token Standard - We worked with Limit Break to create a module that enforces on-chain programmable royalties through transfer security policies. This module is now a default in all thirdweb pre-built contracts utilizing royalties.
- Changes to Claim Conditions - Based on user feedback, we added a start and end timestamp and simplified the module to only allowlist or public phases.
- Simplified modules - Improved composability patterns and simplified modules across the board. View the full changelog.
What’s coming up in the next few weeks?
- Modules UI - Be able to interact with thirdweb enabled modules (upload NFTs, set claim conditions, and more) through the dashboard rather than through the SDK or Explorer.
- Modular Contract Wizard v1- A UI building tool to create contracts combining compatible core and modules.
- Cores & Modules listed on Explore - Discover more modules from other protocols and be able to list modules and core contracts on Explore for your audiences.
Beta Feedback Program
We're excited to invite you to try Modular Smart Contracts and provide our team with direct feedback during a 20-minute call. As a thank you, you'll receive $50 in credit to utilize towards any usage, growth plan, or upgraded instances of Engine. To participate, please sign up to be a tester. We'll then send you more information via email.
Resources
- Pre-built Modular Contracts on Explore
- Modular Contracts Documentation
- Modular Contracts SDK Reference
Feedback
As always, for any support or feedback please visit our support site and feedback board. Thank you to our community for making this possible- stay shippin’ 🚀
Connect Analytics Charts
Connect Analytics is now available for everyone - including free plan with improved Charts. Try it out!
Deployed Contracts table and Import Contract Modal
In-App wallet pages
Sidebar UI
The sidebar is moved inside the page container - closer to the content so its easier to navigate on wide screens
Scroll indicators on various tables
This is no exaggeration, our Ecosystem Wallets are now so feature rich there is no use case in all of gaming that it does not support.
Thirdweb now provides you with a cross-platform, cross-sdk, cross-device, cross-language blockchain-powered, secure, non-custodial account system that you can not only reuse across your own games and apps, but also your ecosystem partners' games and apps.
It doesn't stop there, you can use this EcosystemWallet to create a Guest mode (AuthProvider.Guest
) first and upgrade later through Account Linking, which we feature here alongside other additions like Line authentication. All of this without losing the EcosystemWallet address.
The Account Linking feature, once understood, unlocks infinite possibilities as it ties into all our auth methods, which now include:
- Email (OTP)
- Phone (OTP)
- Apple
- Discord
- Farcaster
- Telegram
- Line
- Siwe (Sign in with Ethereum - yep you can link external wallets and even login to your EcosystemWallet with them next time)
- Guest (does not require any inputs, simply choose it as your auth provider to create a guest mode)
It doesn't stop there, we also offer custom authentication:
- JWT (you want to create a wallet out of an OIDC-compatible authentication system, entirely possible)
- AuthEndpoint (you want to go even further, having us verify a generic payload against your backend, for things like TG Mini-Apps)
There is not a single use case we don't support. You just have to integrate, and we're here to help.
If you don't want to commit to a performant, scalable, entirely secure and shareable with third-parties and fast EcosystemWallet, don't worry, all of the above is available for InAppWallet too.
Now for how-to's
Do note that once again, it's the same API for InAppWallet, but without ecosystemId
and the optional ecosystemPartnerId
.
Below are the different ways you can use some of the functionality introduced in this version.
You can turn any of these wallets into a Smart Wallet easily, using SmartWallet.Create
or by passing SmartWalletOptions
to Unity's ThirdwebManager.ConnectWallet
function on top of your base options / using the ThirdwebManager.UpgradeToSmartWallet
helper if you want to do it later.
Login With Guest (.NET SDK)
Login With Guest (Unity)
Get Linked Accounts
Link a new Account
All Auth Methods Supported! Just pass the related params to that auth method that you typically would
A Full Unity Example, ThirdwebManager is there as a helper after all and APIs are simpler
Additional changes
- Improved speed of NFT-related extensions.
- Fixed an issue with SIWE as an
AuthProvider
when usingThirdwebManager
to connect. - Added contract extensions
ERC721A_TokensOfOwner
&ERC721A_TokensOfOwnerIn
. - Added optional pagination to all
_GetAllNFTs
&_GetOwnedNFTs
extensions. - Improved ERC721A NFT-fetching speed.
Links
Unity v5 Portal Docs | .NET Portal Docs | .NET Full Reference
.NET Nuget Release | Unity Release
Note from Firekeeper
Our goal at thirdweb has always been to work for game developers - with such systems, you're able to offload all the account system, auth, database, item management, currency management, and analytics work to the blockchain. This is what we do, and we want to help you and listen to feed back - make sure you reach out, we have many programs to get you going!
We have the recipe to make blockchain games unbeatable, cheap, fast, invisible. Persistent In-App & Ecosystem Wallets paired with Account Abstraction, Session Keys and some easy to deploy contracts is what we do. It's all open-source, it's all yours to manage.
It's time to ditch external wallets.
Blockchain games can finally focus on being fun and on distribution across different runtime platforms and companion apps.
We integrated the newly available Social SDK in the thirdweb Dashboard, making it available anywhere wallet addresses are rendered. Simply hover any wallet address or ENS name to see linked social profiles.
React Native now supports Coinbase Smart Wallet with v5.53.0 of the thirdweb SDK. Create a Coinbase Smart Wallet connection using the same createWallet
function you know and love:
Create and Sign a UserOp in One Step
We've added a createAndSignUserOp
function to handle everything involved with turning a set of transactions into a single AA UserOp. Gasless and/or sponsored transactions couldn't be easier:
Bug Fixes and Other Improvements
- Improved common icons in React Native SDK
- Increased storage slots for proxy resolution
Fixed ERC20 balance reading when showing the Pay modal
We made a number of improvements on testing on thirdweb Pay.
- Added a
testMode
property to thebuyWithCrypto
PayUIOptions. This will allow you to filter for all supported testnets and try out a crypto-to-crypto purchase experience without using mainnet funds. - Enabled Pay with Fiat on testnet purchases. No funds are delivered in this flow, but the credit card testnet experience will allow you to simulate an end-to-end user journey without requiring an actual credit card purchase.
A few more updates on how the team makes our RPC Edge solution more resilient and flexible!
Initial Node Prioritisation with Default Scoring
While dynamic routing and scoring optimise node selection over time, it's crucial that the system starts off in a reasonable state when the server spins up. To address this, we've now implemented a robust approach for default node prioritisation. The priorities are now designed to be easily adjustable, enabling the team to efficiently re-order or disable certain nodes in case of emergencies or other ad-hoc situations. This step ensures more flexibility and efficiency in managing the initial order of nodes, creating a smoother path for ongoing improvements.
Changes made recently in this regard:
- Node Default Prioritisation: we are now configuring RPC Edge to utilise explicitly set default priorities, supporting granular configurations options (e.g. methods and regions) to ensure that specific node preferences can be applied where needed for the enhanced performance.
- Configuration Schema and Structure: the new schema accommodates the team in efficient management of relevant configuration options, ensuring a clean and scalable system.
- Prioritisation Logic Improvements: sorting and filtering algorithms have been improved and generalised to handle various configurations
- Caching for Performance: in-memory caching for configurations is in place, reducing the load & latency on the system when serving requests for high-load chains.
These changes are being released incrementally as we continue to prioritise the stability and quality of our RPC Edge solution.
You can now query any address's on-chain social profiles using the new social
extension in the thirdweb SDK.
The query will return an array of SocialProfile
objects for each profile the address is associated with. This type has a standardized top-level interface of type
(farcaster
, lens
, and ens
are currently supported), name
, bio
, and avatar
. You can access protocol-specific user information such as the Farcaster FID under the metadata
field.
You can access the same query via the prebuilt React Query hook useSocialProfiles
.
The Connect Button
Our ConnectButton
component in both React and React Native uses the social SDK to display a users profile rather than their wallet address when available.
Bug Fixes and Other Improvements
- Modular Contract Support - Learn more
- Added test mode to Pay options on
ConnectButton
- Learn more - Added
getOwnedTokenIds
to ERC1155 extension - Learn more - Added options to hide Buy, Send, and Receive buttons in
useWalletDetailsModal
- Learn more - Fixed base URI extraction logic in contract extensions
- Fixed function ID retrieval for contract extensions
- Improved React Query caching performance