issues
search
magicblock-labs
/
Solana.Unity-SDK
Open-Source Unity-Solana SDK with Full RPC coverage, NFT support and more
https://solana.unity-sdk.gg
MIT License
153
stars
85
forks
source link
:sparkles: Implement Versioned Transactions
#177
Closed
GabrielePicco
closed
1 year ago
GabrielePicco
commented
1 year ago
Implement Versioned Transactions
Status
Type
⚠️ Core Change
Issue
Ready
Feature
Yes
https://github.com/magicblock-labs/Solana.Unity-Core/issues/43
Problem
Versioned Transactions
were not supported, see issue #43
Jupiter Dex Versioned Transactions were not supported
Solution
Implemented Versioned Transactions in
https://github.com/magicblock-labs/Solana.Unity-Core/pull/44
Added a VersionedTransaction class which can serialize/deserialize
Versioned Transactions
, implemented following web3.js
implementation
VersionedTransaction contains the
AddressTableLookups
Transaction.Deserialize
use the prefix byte to auto-detected if the transaction is legacy or versioned and uses the correct implementation
Jupiter Dex lib now uses versioned transactions
Implement Versioned Transactions
Problem
Solution
AddressTableLookups
Transaction.Deserialize
use the prefix byte to auto-detected if the transaction is legacy or versioned and uses the correct implementation