Closed mcintyre94 closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
solana-pay | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 15, 2023 11:41am |
solana-pay-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 15, 2023 11:41am |
I've only updated the docs here, ie the content at https://docs.solanapay.com/core/transaction-request/merchant-integration. We should update this repo to new web3js at some point, but I don't think it's worth rewriting any code for VersionedTransaction
I'm doing
Buffer.from(serializedTransaction).toString('base64')
to convert the uint8array serialized transaction to a base64 string. This is pretty rubbish but goes away with the new web3js that has proper codecs for things like this. Not worth complicating the docs to do anything smarter here though.