anza-xyz / wallet-standard

Solana extensions to the Wallet Standard.
Apache License 2.0
79 stars 42 forks source link

Loosen input requirements for byte arrays; they can now implement just the read interface #64

Closed steveluscher closed 2 months ago

steveluscher commented 2 months ago

Though unintuitive, this PR actually makes the input type of Wallet Standard methods less restrictive. They will now take not only Uint8Arrays, but things shaped like Uint8Arrays that behave more read-only like.

The motivation here is to make Wallet Standard more compatible with libraries like @solana/web3.js that deal in ReadonlyUint8Array.

steveluscher commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @steveluscher and the rest of your teammates on Graphite Graphite

steveluscher commented 2 months ago

Merge activity