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
import{solanaPayMiddleware}from @solana-pay/middlewareasyncfunctioncreateBuyTx(...): Transaction{}// under the hood this should do // on GET: return the Record on the right// on POST: tx.serialize({ requireAllSignatures: false }).toString("base64")exportdefaultsolanaPayMiddleware(createBuyNFT,{label: "my label",icon: "https://solanapay.com/src/img/branding/Solanapay.com/downloads/gradient.svg",});
import { solanaPayMiddleware } from @solana-pay/middleware
async function createBuyTx(...): Transaction {
}
// under the hood this should do
// on GET: return the Record on the right
// on POST: tx.serialize({ requireAllSignatures: false }).toString("base64")
export default solanaPayMiddleware(createBuyNFT, {
label: "my label",
icon: "https://solanapay.com/src/img/branding/Solanapay.com/downloads/gradient.svg",
});print("draco")
It would be awesome if I could do
cc @govarun
The text was updated successfully, but these errors were encountered: