Questions tagged [validation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Stuck in the process validate/attest, adding to strict list SPL v2 SOL token

Mint address: 8Vi8Rc3cWzKwcNnC2LkG8DPPrYoMETu1WNGHCfLaudwd Sorry new ... I am not completely understanding were to submit these questions and how to get on strict list. https://github.com/jup-ag/token-...
Alien's user avatar
  • 1
0 votes
2 answers
69 views

Trying to understand how safe it is to use "processed" , "commited" or "confirmed"

Hey guys anchor noob back at it with another noob question! Alright so I have a program that accepts deposits to a user pda (tx1), based on certain events the user might instantly get a payout from ...
anchor noob's user avatar
2 votes
1 answer
55 views

Session persistence on blockchain

I'm quite new to blockchain and was wondering if someone can help me regarding the session persistence on Web3 applications. I come from a Web2 background with experience in developing websites in ...
BlockchainSolanaDev101's user avatar
1 vote
2 answers
75 views

How to validate that partially signed transactions aren't malicious?

Taken from https://solanacookbook.com/references/offline-transactions.html#partial-sign-transaction If Alice is the fee payer and has to sign the transaction, how does she know that Bob hasn't ...
DevelopingJoku's user avatar
3 votes
4 answers
579 views

How to setup local validator rpc on solscan?

I want to check transactions and programs details on my local validator, how can I setup it on https://solscan.io/ ? I am trying to do it by typing "http://localhost:8899" in "Custom ...
Panicum's user avatar
  • 133
2 votes
2 answers
169 views

How to sign with PDAs

I have a this function pub fn sign_up(ctx: Context<SignUp> , user_name: String , phone_number: String , email: String) -> Result<()> {// logic is here} And in SignUp i have : #[derive(...
Reza Aslejeddian's user avatar
2 votes
2 answers
51 views

NFT Ticket Validation

I am developing an app that needs Venue Ticket validation. So when our user goes to an event the vendor can check the owner of that NFT or NFTs. What methods can we use? Right now I see signature ...
Bryson's user avatar
  • 63
1 vote
2 answers
107 views

Validation check on inputs

I have a sign_up function : pub fn sign_up(ctx: Context<SignUp> , user_name: String , phone: String , email: String) -> Result<()> {// Code is here } and one of the arguments is ...
Reza Aslejeddian's user avatar
1 vote
1 answer
45 views

How is censorship resistance maintained while RPC nodes are separate from validators?

I understand how Solana validators maintain censorship resistance. However, client's transactions are being received by RPC nodes, which (at least in some/many cases) separate from the validators. The ...
AllBlooming's user avatar
  • 2,249
1 vote
2 answers
629 views

How to check if signature string is valid?

I'm trying to write a conditional to see if a string is valid according to Solana standards. In documentation it says: Each digital signature is in the ed25519 binary format and consumes 64 bytes. ...
curiosity's user avatar
  • 499
3 votes
0 answers
120 views

Is it possible to use conditional seed for PDA creation?

So, the two endpoints I am using are almost identical, the only difference being the seed used in the creation of PDA for each of the accounts. I will start with the abstract of my program: First of ...
0xShuk's user avatar
  • 1,919
1 vote
1 answer
177 views

How can I determine whether a transaction completed successfully?

How can I determine whether a transaction completed successfully? Basically I'm going to have a Cron task that will perform an instruction from my Smart Contract. This instruction, once performed, ...
Swifty's user avatar
  • 428