Releases: thirdweb-dev/unity
v1.1.0
NEW - Connect Wallet Prefab
Introducing the first prefab of the SDK: a fully functional Connect Wallet button. Lets you choose the wallet providers options for your users, which chain id to connect to and easy to customize to make it your own.
Expect more features and more prefabs coming soon!
Structure change:
The package has been re-organized into Core / Examples.
Core: all the scripts and most barebones demo scene
Example: Prefabs and more fully featured demo scenes
v1.0.1
NEW Magic.link connection support! (alpha)
- Connect the user's magic.link wallet with email or social logins
- Interact with that wallet like a regular wallet using the SDK functions
First, you'll need to pass your Magic.link developer API key in the SDK options like so:
var sdk = new ThirdwebSDK("goerli", new ThirdwebSDK.Options
{
wallet = new ThirdwebSDK.WalletOptions
{
appName = "Thirdweb SDK Demo",
extras = new Dictionary<string, object>
{
{"apiKey", "your_api_key"},
// ... any other magic.link options here
}
}
});Then you can initiate the magic.link login flow like the other wallets:
string address = await sdk.wallet.Connect(new WalletConnection
{
provider = WalletProvider.MagicAuth,
chainId = 1 // ChainId to connect to
});API changes
- SDK options now have separate
options.walletandoptions.storage FundWallet()has been moved fromsdktosdk.wallet
v1.0.0
After extensive Beta testing, the thirdweb Unity SDK v1.0.0 is now officially stable!
Thank you for all of you who gave feedback during the beta phase.
Full documentation, guides and examples available on our portal
Happy building!
v1.0.7-beta
What's Changed
- Initial fund wallet functionality by @joaquim-verges
- Fix return type for ERC20.Claim()
Full Changelog: v1.0.6-beta...v1.0.7-beta
v1.0.6-beta
What's Changed
- Support for connecting via Coinbase wallet (mobile + extension) and WalletConnect (mobile + desktop) by @joaquim-verges
- Allow overriding ipfsGatewayUrl in SDK Options by @joaquim-verges
- ToString overrides on ALL types by @0xFirekeeper
- Remove newline after inner class toString by @0xFirekeeper
- isApproved -> setApprovalForAll string fix ERC721/ERC1155 libs by @0xFirekeeper
- Fix return type of allowance ERC20 calls by @joaquim-verges
- Switch to more robust JS bridge infrastructure by @jnsdls
Full Changelog: v1.0.5-beta...v1.0.6-beta
v1.0.5-beta
What's Changed
- Add Pack contract by @joaquim-verges
- Eth <> Wei + ERC20 Formatting functions for Utils.cs by @0xFirekeeper
- Fixes for SetAllowance and BigInt parsing
Full Changelog: v1.0.4-beta...v1.0.5-beta
v1.0.4-beta
What's Changed
- Cleanup project structure for better package importing by @0xFirekeeper
- Throw exceptions, let unity dev handle them by @0xFirekeeper
- Allow passing transaction overrides to custom write calls by @joaquim-verges
- Add ability to fetch any contract's balance by @joaquim-verges
- Fix underlying network changed error by @joaquim-verges
- Cleanup webgl template by @joaquim-verges
Full Changelog: v1.0.3-beta...v1.0.4-beta
v1.0.3-beta
- Fix using ERC20/721/1155 convenience wrappers for custom ABIs (thank you @0xFirekeeper for the contribution!)
v1.0.2-beta
- make
sdk.wallet.SwitchNetwork()async so you can await until the user has changed networks - add pagination capabilities to
ERC721.GetAll()andERC1155.GetAll()
v1.0.1-beta
- Added support for querying claim conditions for ERC20/721/1155 drop contracts
- Added support for loading a contract from ABI:
sdk.GetContract(address, ABI) - Added documentation
