trustwallet / trust-web3-provider

Web3 javascript wrapper provider for iOS and Android platforms.
https://trustwallet.com
760 stars 423 forks source link

[Solana] Pass serialized message as raw field #519

Closed JaimeToca closed 5 months ago

JaimeToca commented 5 months ago

With the latest changes regarding Solana versioned transaction, raw is not a "serialized message" anymore and can't be signed, therefore it can create a bit of confusion as clients need to: 1) Decode raw transaction 2) Extract message 3) Serialized message 4) Sign message

Screenshot 2024-04-22 at 17 17 20

Ideally, clients should receive serialized messages that can directly be signed, so apps can return signatures.

y3fers0n commented 5 months ago

Implemented with https://github.com/trustwallet/trust-web3-provider/pull/522