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 ...
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-...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 /...
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 ...
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
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 ...
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 ...
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 ...
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.
...
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, ...
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/
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 ...
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')
}
}
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 ...
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 ...
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 ...
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 ...
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
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 ...
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. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
solana-pay × 48web3.js × 10
solana-program × 8
transactions × 7
solana-wallet-adapter × 7
transaction × 5
phantom-wallet × 5
solana-cli × 4
wallet × 3
phantom × 3
spl-token × 2
solana-test-validator × 2
nft × 2
transfer × 2
mobile × 1
python × 1
anchor × 1
testnet × 1
program × 1
rust × 1
react × 1
metaplex × 1
rpc × 1
typescript × 1
dapp × 1