You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tryed call validateTransfer(...) and got some error for valid transaction:
ValidateTransferError: invalid memo keys
at validateMemo (D:\dev\ssr\node_modules\@solana\pay\src\validateTransfer.ts:97:40)
at D:\dev\ssr\node_modules\@solana\pay\src\validateTransfer.ts:88:9
at Generator.next (<anonymous>)
at fulfilled (D:\dev\ssr\node_modules\@solana\pay\lib\cjs\validateTransfer.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
I am also facing same issue... this is serious, I am trying to use memo to authenticate Solana Pay payments on server side.
I was going to use reference field but apparently many Solana mobile wallets don't even include the reference in the transfer transaction!
Tryed call
validateTransfer(...)
and got some error for valid transaction:Simple playground: https://codesandbox.io/p/devbox/hardcore-mclaren-qtz7zg?file=%2Findex.js%3A28%2C7
function
validateTransfer(...)
not correct work when pass memo string, I think it's can be bug on: https://github.com/anza-xyz/solana-pay/blame/master/core/src/validateTransfer.ts#L97 because "instruction.keys" must contain single key about SignerThe text was updated successfully, but these errors were encountered: