Skip to main content
5 votes
Accepted

Integrating Solana Pay with Rust Code

Can Solana Pay be used to make RPC calls is all I am asking. Yes, if by "make RPC calls" you mean "send any kind of transaction". Solana Pay transaction requests can be used to ...
Jordan's user avatar
  • 643
4 votes

Integrating Solana Pay with Rust Code

You can use any transaction (any sequence of instructions to any programs, including your own) with transaction requests: https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#specification-...
Callum M's user avatar
  • 3,775
4 votes

Is Solana Pay Reference Private?

Nope, the reference will be available on-chain and isn't private. The point of it is that it is an account on the transaction, so that the transaction can be looked up using it. So by design it's ...
Callum M's user avatar
  • 3,775
4 votes

Solana recovery from wrong transfer

The whole point of blockchain is not to provide option that you are asking for. Transaction can not be reverted and nobody (even solana team) can help you about it. The only way to recover your money ...
Void's user avatar
  • 416
3 votes

Is payment description(comment) available on Solana?

This feature will be added in Token 2022, you will be able to configure an asset where a memo is needed on transfer: https://spl.solana.com/token-2022/extensions#required-memo-on-transfer Currently ...
Whiteseal's user avatar
  • 3,622
3 votes
Accepted

Is payment description(comment) available on Solana?

The memo program is probably what you want: https://www.quicknode.com/guides/solana-development/getting-started/how-to-use-the-solana-memo-program
aaronov's user avatar
  • 251
3 votes
Accepted

Solana Pay Point of Sale - How to Display Public Key of Sender on Recent Transactions Page

In the TransactionsProvider you would need to make the necessary changes to retrieve the source public key and then add it to the state with the transaction. Here is where the instruction is parsed ...
Lockpick's user avatar
  • 131
3 votes

Difference between Solana pay transaction request and transfer request?

Not all transactions are transfers. In transaction request, A Transaction is created like for example minting a NFT and any possible tx on solana. This transaction is read by wallet's then they parse ...
Pratik.js's user avatar
  • 1,682
3 votes

How to stop bots from spamming Solana Pay APIs

FWIW I think this is going to be very tricky. Anything wallets added to the request would be trivial for anyone making their own HTTP request to duplicate. And there's no room for security by ...
Callum M's user avatar
  • 3,775
2 votes
Accepted

Phantom iOS cannot simulate Solana Pay QR code

It appears to be an issue with the most recent update to Phantom iOS. According to the Phantom Developer Discord it should be resolved soon. I'm using Solflare to test while I wait for Phantom to fix ...
William's user avatar
  • 81
2 votes
Accepted

Solana Pay Get Signature

You can use findReference from @solana/pay which will make this a bit easier: https://docs.solanapay.com/api/core/function/findReference But fundamentally you're doing the right thing, you need to ...
Callum M's user avatar
  • 3,775
2 votes
Accepted

@solana/pay findReference() fails with a 403 on mainnet-beta

For anyone else dealing with the same issue, I ended up subscribing to Alchemy (referral link) who at the time of writing provide free-tier access to the mainnet. The free-tier offers 300M compute ...
brighter's user avatar
  • 151
2 votes
Accepted

Is it possible to transfer multiple NFTs in a single Solana Pay QR Code?

Update: here is a minimal example of how you can mint nfts using Solana Pay Here is the solana-pay-scaffold repo that you can reference to get started. Specifically, you can reference this file under /...
john's user avatar
  • 7,794
2 votes

minting cNFTs with Solana Pay QR code

You are adding the user as feepayer, which means it needs to sign, but looks like you are not signing with it. So the signature would be empty. So you could probably use the authority key as feepayer ...
Jonas H.'s user avatar
  • 7,219
2 votes

Do 1000s of transactions at once

It's definitely possible, you just need to send many transactions. Check out the solana-tokens for doing large distributions from CSV files: https://github.com/anza-xyz/agave/tree/master/tokens
Jon C's user avatar
  • 19.6k
2 votes

I am prevented from creating a next app by my PC

The problem you are facing isn't related to Solana but is a Windows limitation. Windows doesn't let you create a directory a directory in C:\Windows. If you try creating it on your desktop it will ...
beeman's user avatar
  • 1,062
1 vote
Accepted

Error processing Instruction 4: custom program error: 0x2a"

I'm not sure if this will be the full answer but it could help you to find the reason for the failure. From the error, I would say that you constructed the instructions with the wrong input data or ...
chalda's user avatar
  • 1,657
1 vote
Accepted

Does the Solana Mobile Android phone support fingerprint / face verification for payments like Google Pay / Apple Pay?

Yes it does for fingerprint but not face ID. The Solana Saga handles signing transactions using it's underlying secure enclave, which in turn allows verification using the finger print sensor out of ...
McBain's user avatar
  • 5,384
1 vote
Accepted

solanaWeb3 : with only js Make a transaction , Require js, simple js

At first glace and without knowing the specific error youre encountering it's hard to say but you could try making sure you're passing in PublicKey instances into the transaction and not just strings. ...
spaghetti's user avatar
  • 341
1 vote

Cryptocurrency wallets

Each wallet is a bit different, best way to really see the difference is trying them for yourself. There are many wallets that are popular on solana for different types of users. Check out Solflare, ...
Truitt's user avatar
  • 655
1 vote

solana pay examples required from customer POV

The Solana online store has Solana Pay via Shopify. Check it out here: https://store.solana.com/
hunter's user avatar
  • 141
1 vote

Solana Node syncing issue

This is expected behavior -- solana-test-validator runs a complete independent local cluster, not associated to any other cluster like devnet. If you want to run your own node connected to devnet, you ...
Jon C's user avatar
  • 19.6k
1 vote

Handle error on transaction request

You can catch the error and parse it. example try { // send transaction } catch(e) { if (e.message.contains('insufficient fund')) { toast('insufficient fund') } }
vicyyn's user avatar
  • 4,295
1 vote

Handling Error on transaction request

I don't think Wallets react to any error messages sent as a response to it. The Wallets just sign and send the transaction. A solution to this could be that you can show the error in the UI where the ...
Pratik.js's user avatar
  • 1,682
1 vote
Accepted

How to make a program instruction callable by a qrcode?

You can use solana pay transaction requests for this. With transaction requests, it’s now possible to bring any Solana transaction into the real world through an interactive request. You can return an ...
C.OG's user avatar
  • 2,907
1 vote

What is the meaning of the value Solana Pay / Decaf writes to the Memo?

Solana Pay, the protocol, does not use this field for anything in particular. It is an optional field that allows the user of the protocol to attach a memo to the payment that can be used later. I ...
T.J. Littlejohn's user avatar
1 vote

Fake token for Phantom app on mobile (devnet)

You can create a new token on Solana devnet. As you are creating the token on devnet, it can be used for development purposes. Note:- We can create the new token on mainnet by pointing the network to ...
Concise Labs's user avatar
  • 1,364
1 vote

Fake token for Phantom app on mobile (devnet)

Metaboss is the easiest way to create an SPL token with associated metadata on Solana right now: https://metaboss.rs/create.html#create Once you create this, simply transfer it to your Phantom wallet
ProfLupin's user avatar
  • 143
1 vote

How to stop bots from spamming Solana Pay APIs

You could maybe let the minters sign a message first? I think cli doesnt support that yet but phantom does. With that message you could drop them a token which allows them to mint? Not sure if it ...
Jonas H.'s user avatar
  • 7,219
1 vote

Solana Pay for Python

Hey Solana Pay is a really Simple Library that implements some bare-bone functions for creating QR codes and verifying Transactions. If you check the source code you will find out it's not that big. ...
Pratik.js's user avatar
  • 1,682

Only top scored, non community-wiki answers of a minimum length are eligible