Skip to main content

Questions tagged [signature]

The tag has no usage guidance.

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

How are you doing this morning and you still want

My name and address was the one who had a few questions for you to get in touch about the job market for the
Amir Amani's user avatar
0 votes
1 answer
51 views

Solana transactions not being sent solana web3.js

I am using solana web3.js to send transactions from my console and out of nowhere the code has stopped working even though it did the job previously. async function sendTransaction(secretKey: string, ...
Zero's user avatar
  • 123
0 votes
1 answer
80 views

How to Efficiently Retrieve the Oldest Transaction Signature for a Solana Address with Billions of Transactions

I'm working on a project where I need to retrieve the oldest transaction signature for a given Solana address. However, I'm facing a challenge when dealing with addresses that have billions of ...
Syntax Surge's user avatar
1 vote
0 answers
14 views

Simple Powershell script stopped working, looking for assistance

I will start by saying I am not a programmer, I have been dabbling with chatgpt for a while and I am hoping someone could help me understand why my script no longer works. I use a script to pull some ...
user11072's user avatar
1 vote
1 answer
58 views

Is the order of account keys in a transaction signature always the same?

For extra security I want to validate a transaction signature before further processing. I'm getting the TransactionSignature from get_transaction and the json looks similar to this.. { slot: 327,...
ZeroNine's user avatar
  • 473
1 vote
1 answer
27 views

Wallet balance management after signing only once (logging into dapp)

How to make a transfer from a user's wallet without confirming the signature of the transaction itself? The user creates only a free signature when the dapp is first launched. A game is being ...
SmartDEFI's user avatar
0 votes
1 answer
55 views

How to verify secp256k1 signature inside app/business instruction?

I only find one document: secp256k1_instruction. It create two instructions, first one is to call secp256k1_program to verify, second one check the result of first instruction. But this way isn't what ...
breeze wang's user avatar
0 votes
1 answer
44 views

Issue Verifying Off-chain Signatures with ed25519_dalek and salty Libraries in Solana Program

I'm facing an issue when trying to verify off-chain signatures in my Solana program using the ed25519_dalek library. The same problem occurs with the salty library when attempting to convert a ...
Quoc Le's user avatar
  • 31
1 vote
1 answer
251 views

how to get transaction status? [duplicate]

I didn't find the answer in old posts. so I decided to ask again. So. how to get transaction status. having her signature? I tried this. but I always got null or error // not working const ...
slntrx's user avatar
  • 107
1 vote
1 answer
56 views

Solana Rust: Signature verification failed

I'm getting Solana transaction signature verification error. I tried many methods but my result is always same, which is "false" Below is my code: let node_client = RpcClient::new("...
deadlium's user avatar
2 votes
2 answers
58 views

Can Transactions in the System Program Accommodate Arbitrary Signers Beyond Required Accounts?

I'm seeking clarity regarding the signers involved in transactions with the system program. Can transactions accommodate additional signers beyond the required ones mandated by the program? For ...
Lautaro Jayat's user avatar
0 votes
1 answer
42 views

Error: Signature verification failed (ThawAccount)

I'm trying to add ThawAccountInstruction to my main transaction but but I'm getting an error Signature verification failed. I'm trying to unfreeze the frozen accounts (NFT) in my wallet and send them ...
Adrew Token's user avatar
3 votes
1 answer
122 views

Confirming a transaction solana playground

I am new to solana development working through the playground hello world tutorial. What is the right hash needed for "solana confirm -v <Transaction_hash>"? I have built and deployed ...
user8001's user avatar
1 vote
1 answer
54 views

How PDAs prevent unauthorized accounts from signing it?

As far as I can understand, PDAs are a way for programmatically signing for an address without actually having a private key. The process of generating a new PDA is calculating sha256 hash of ...
Amir reza Riahi's user avatar
1 vote
1 answer
749 views

Transaction Error: Signature Verification Failed: Missing Signature For PublicKey

I'm building a transaction on devnet that previously worked when I tested my program. I don't think it's the program itself, but how I am passing down the signatures which is slightly different from ...
Brian M.'s user avatar
  • 111
2 votes
1 answer
146 views

how to verify a signature message on a solana contract

Are there any examples available? I would like to verify the signature on a contract. I hope to achieve something similar to the following: fn verify(message: &[u8; 32], sig_bytes: &[u8; 64], ...
zhxx zh's user avatar
  • 81
2 votes
1 answer
99 views

How are solana transactions indexed?

Transactions are indexed by their signature. However, some transactions can have multiple signers. How is this handled to form one constant length "signature"? Are the different signatures ...
Ahri's user avatar
  • 3,325
0 votes
2 answers
73 views

Whirlpools SDK: generating transaction and signing it separately

At this moment whirlpools SDK have building/signing/sending tx steps meshed together. Trying to separate transaction signing into separate secure environment. generate transaction without private key,...
thousandsofthem's user avatar
1 vote
1 answer
397 views

How to send versioned transaction from bytes

I am using Magic Eden's API to generate a buy transaction, and it returns the bytes of the transaction. I'm using Python, solanapy and solders to send the transaction. However I don't know how to ...
RiadZX's user avatar
  • 21
0 votes
0 answers
34 views

[SOLVED]Offline signing a multisig transaction with a wallet adapter, invalid signatures

I've been working on a React Multisig UI for offline creation and signing of transactions. I'm wondering how to create a signature identical to that of nacl.sign.detached() or web3js.partialSign() ...
Phil's user avatar
  • 1
0 votes
1 answer
49 views

How to store signatures in a pda and invoke an instruction with signatures

I want to create a program influenced by multisig structure. There will be multiple types of instructions that require two parties to sign each transaction. Here's what I have in my mind: There will ...
brknarsy's user avatar
1 vote
1 answer
69 views

Error: Signature verification failed while initialising PDA

I've been working on Solana program that should hold two different tokens for me in a Vault in an ATA. The first token should be deposited during Vault initialisation, the second will be deposited by ...
Kamil Słuszniak's user avatar
1 vote
1 answer
159 views

How to sign a TX offline by Solana SDK? And then send it afterwards

I need to prepare in advance, for a month, a 100 of TXs signed in offline, for SOL and USDT, USDC. In the documentation - offline transactions - it's described how to sign them via the cli utilities ...
nicholas.fowler's user avatar
1 vote
1 answer
121 views

Is it possible to remove signatures from a Transaction

I have a Transaction object which has three signatures. I want to remove one of them. Is that possible? Since it's an array, I've tried using pop but that isn't updating it. Any ideas on how I could ...
Jimii's user avatar
  • 1,478
1 vote
1 answer
139 views

How to verify an ETH signature on Solana?

I am hoping to write a very simple program that accepts an ETH signature, ETH public key, and message --> determines if the signature is valid. I found the following repo that looks to do what I ...
larry 8's user avatar
  • 23
0 votes
1 answer
78 views

What is the compute cost for calling the native Ed25519 signature verification program?

I'm trying to measure the compute unit cost for my transaction which has 2 instructions: { ix0: native ed25519 sig verify (Ed25519SigVerify111111111111111111111111111) ix1: myprogram.foobar } but ...
Nick G's user avatar
  • 3
0 votes
1 answer
77 views

Getting different Buffers in Solana transactions. The front-end and back-end transactions are different

I have a Solana dApp that requests tokens from a wallet that I own. When the user try to claim the Tokens, one transaction is created on the frontend and signed by the user; the signature is coded and ...
ZuckOFB's user avatar
1 vote
0 answers
67 views

Can we verify BLS signature in Solana Program.?

Is it feasible to verify the BLS signature in the Solana program. I am exploring the "blst" crate of rust as of now but it would be better if I am aware of the feasibility beforehand and ...
Harsh Mashru's user avatar
1 vote
1 answer
338 views

"Signature verification failed" error after signing transaction on the client using Phantom

I'm building a transaction on the server using Solnet: var newTransaction = new Transaction(); newTransaction.RecentBlockHash = blockHash.Result.Value.Blockhash; newTransaction.FeePayer = vaultAccount;...
Keith Walton's user avatar
0 votes
2 answers
791 views

Offline Transaction: Transaction signature verification failure?

we are recently been having some issues with our transactions on Solana. We serialize the transaction, send it to the user, deserialize it, make the user sign, extract the signature, send back the ...
Jinspe's user avatar
  • 3
1 vote
1 answer
142 views

Can I verify RSA signatures inside of solana program?

I want to check RSA signature inside of a program, is it possible?
Nik's user avatar
  • 41
2 votes
1 answer
139 views

Solana approve via signature

I wonder if there's a mechanism of transferring assets with receiver fee payment. Something like permit functions in solidity language? Is it possible to copy this approach with PDAs? Share some ...
Ruarin's user avatar
  • 23
2 votes
1 answer
139 views

Using getSignatureStatuses to confirm transaction

I'm using a niche language that doesn't have an existing solana library, thus needing to write my own transaction confirmation logic. This github issue documents what the new approach for both the ts/...
tepefew's user avatar
  • 97
5 votes
1 answer
3k views

How to properly "wait" for a transaction to confirm?

What I have tried I've previously used the @web3/solana npm package, but ended up having to create my own (private) library due to using a niche language. Here is what I'm trying to do: Serialize and ...
tepefew's user avatar
  • 97
2 votes
2 answers
252 views

Error: Signature verification failed while mint NFT

I created a candymachine v3 with sugar and I am trying to mit using the following code: const { nft } = await metaplex.candyMachines().mint({ candyMachine, collectionUpdateAuthority: candyMachine....
Angelo's user avatar
  • 21
3 votes
1 answer
993 views

Signature verification failed

I am trying to create a sign in transaction using the following code (using react wallet adapter): const tx = new Transaction().add( // create nonce account SystemProgram....
Swag Stevey's user avatar
4 votes
2 answers
1k views

Is there a way to estimate the transaction size?

Currently to get the size of a transaction I have to do the following const tx = new Transaction().add(...) const { blockhash } = await connection.getLatestBlockhash(); tx.recentBlockhash = blockhash; ...
lameren's user avatar
  • 153
2 votes
4 answers
447 views

Verify signature on smart contract

I want to make sure that my function in contract can only be called from just my client. So how can I generate signature and verify it in smart contract?
marethyu's user avatar
  • 353
2 votes
1 answer
344 views

Where are the addresses of the sender and receiver in TX info?

In the data returned by https://docs.solana.com/developing/clients/jsonrpc-api#gettransaction where are the addresses of the sender and receiver?
Kristi's user avatar
  • 23
2 votes
1 answer
523 views

Sign multiple transactions at once by initializing an AccountLoader account in the first transaction and using this initialized account in the 2nd tx

I need to sign two transactions at once. The first one initialize an AccountLoader, and the second one uses this initialized AccountLoader, therefore the AccountLoader must be initialized once is ...
cris.sol's user avatar
  • 272
2 votes
1 answer
194 views

How to initialize a PDA before the CPI call? other wise its giving me AccountOwnedByWrongProgram

I'm trying to do a CPI call to my main program, which is #[derive(Accounts)] pub struct RegisterClient<'info> { #[account(mut)] pub owner: Signer<'info>, #[account(init, payer=...
Abhishek Faliya's user avatar
3 votes
1 answer
167 views

how to get signer for the CPI?

Here's my solana program, use my-rust-crate::do_cpi; pub fn do_something(ctx:Context<DoSomething>) => Result<()>{ do_cpi(ctx); } so this my rust crate is where the CPI happens, ...
Abhishek Faliya's user avatar
3 votes
1 answer
123 views

how can i do a CPI in a rust crate with signer from solana program?

What I want to do is use a rust crate in solana program. and a function of the rust crate will do a CPI to another program. how can I sign that CPI with the signer from the main program. Can i pass ...
Abhishek Faliya's user avatar
1 vote
0 answers
346 views

how can I do versioned transaction with python_?

https://github.com/michaelhly/solana-py I'm using this place, but I can't find how to do a versioned transaction. :(
user3188's user avatar
0 votes
0 answers
644 views

missing signature for supplied pubkey

Hi Guys I need help when I am trying to check Solana balance or address getting error missing signature for supplied Pubkey:...... I tried doing Solana Config set -k getting same error
Ibrahim Ali's user avatar
4 votes
1 answer
587 views

Does a PDA have to be owned by its signer?

Typically, when one creates a PDA, both the signing program and the owning program are the same. You have an account owned by Program A, such that: Only Program A can sign for this PDA, and Only ...
HelmetFace's user avatar
  • 1,697
4 votes
1 answer
271 views

Metaplex Create NFT Error: Transfer: `from` must not carry data

I'm trying to combine the instructions from the metaplex create nft builder with a sol transfer instruction. I got this far: let useNewMint = Keypair.generate(); let localMeta = Metaplex.make(...
Helix Development's user avatar
1 vote
0 answers
104 views

Metaplex Create NFT Signature Verification Error

This is the code I have: const { Metaplex, keypairIdentity, bundlrStorage } = require("@metaplex-foundation/js"); const { Connection, clusterApiUrl, Keypair } = require("@solana/web3.js&...
Helix Development's user avatar
1 vote
2 answers
867 views

How to Sign a Transaction with Multiple Signers

I have a transaction that uses 2 signers(the user and the Keypair from the backend). It signs from the Backend and returns a serialized transaction for the user to sign. However, I am getting this ...
chinepun.sol's user avatar
1 vote
1 answer
460 views

Generate signature in the backend

I am building an app where I need to generate a message signed on the backend with NodeJS, something like window.solana.signMessage('hello'). I have the user's private key, I just need a signature to ...
Kevin Fiorentino's user avatar