Skip to main content

Questions tagged [signature]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

metaplex umi updateAuthority Error: Update Authority given does not match

BACKEND: const wallet_pubkey = new PublicKey(wallet_pubkey_string); const wallet2 = Keypair.fromSecretKey(bs58.decode(wallet2_key)); const amount = 0.5; const signer_wallet = ...
Leo Loki's user avatar
  • 434
1 vote
1 answer
43 views

metaplex umi: Failed to send transaction Error: Simulation failed. Message: Transaction signature verification failure

BACKEND: const wallet_pubkey = new PublicKey(wallet_pubkey_string); const wallet2 = Keypair.fromSecretKey(bs58.decode(wallet2_key)); const amount = 0.5; const signer_wallet = ...
Leo Loki's user avatar
  • 434
0 votes
0 answers
18 views

Can I use anchor address constraint with dynamic value from state

Here is the example of how address constraint is implemented, but the address is CONSTANT https://beta.solpg.io/66b37272cffcf4b13384d2aa I want to be able to change the authority who signs the ...
Nazar Havryliuk's user avatar
3 votes
1 answer
80 views

Solana signature verification for approval

I am developing a Bridge from EVM to Solana and backwards. The EVM flow is following: User wants to make a deposit, the back-end signer builds transaction parameters and signs them offchain. After ...
Nazar Havryliuk's user avatar
0 votes
1 answer
18 views

How to get how much sol was added to lp

Need to get how much sol and the token was added to lp with a signature when the token was created. Please provide a link to a project that has a solution, I am sure there are plenty. Using js would ...
Matěj Pátek's user avatar
0 votes
1 answer
190 views

Solana Airdrop Devnet issue

I am brand new and am having issues. I have created a file system wallet via CLI, my config is set to devnet and the wallet shows up, my balance is 0. I have requested an airdrop of 1 with the ...
Bellwether Marketing's user avatar
1 vote
1 answer
80 views

How to get 'instruction details'

how to get instruction details as in solscan, particularly how much liquidity was added to raydium, with signature. I am looking for a server side, ideally javascript solution
Matěj Pátek's user avatar
1 vote
0 answers
78 views

Trouble Confirming Solana Transactions on Mainnet: Timeout and Blockheight Exceeded Errors

I'm developing a Solana application and encountering issues when trying to confirm transactions on the Mainnet. While everything worked as expected on Devnet, transitioning to Mainnet has led to ...
AlienDecoy's user avatar
1 vote
0 answers
35 views

How to verify the signature in anchor that i created using nacl in js

use anchor_lang::prelude::*; use ed25519_dalek::{ Signature, PublicKey, Verifier }; declare_id!("bHPU6ehyAy6ywvVkmVwV1XUx4DQzymwL4DoqYcgYnuK"); #[program] pub mod demo { use super::*; ...
Nishant Shah's user avatar
1 vote
0 answers
34 views

Sign in With Solana - On an SSL protected website. Nonce is not necessary, right?

I created an example repository on how to build a website that features sign-in-with-solana. I want to be extra sure that I am getting this right: Because we transmit the signed auth message over SSL, ...
spirobel's user avatar
0 votes
1 answer
28 views

in tweetnacl-rust Is there a way to Verify(detached_verify) signature on contract side in rust?

i saw TweetNacl-js library in Solana-Coookbook and if i want to sign signature in client side and sign the transaction and send it to solana smart contract. Is there a way? if i consider to use ...
Tushar Sharma's user avatar
1 vote
1 answer
40 views

Signatures in Solana tx

Is it possible to send Solana transaction signed with the account, that is not in the account list? At least Anchor forbids me to insert signature not correspondent to any account list, is it Solana ...
Белое Безмолвие's user avatar
0 votes
0 answers
9 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
114 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
278 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
25 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
222 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
  • 496
1 vote
1 answer
30 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
238 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
94 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
  • 41
1 vote
1 answer
521 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
  • 121
1 vote
1 answer
81 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
60 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
1 vote
1 answer
68 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
244 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
58 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
2 answers
2k 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
  • 131
2 votes
1 answer
377 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
155 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 ...
Jon C Fan's user avatar
  • 5,219
0 votes
2 answers
112 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
682 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
  • 31
0 votes
0 answers
57 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
77 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
  • 107
1 vote
1 answer
80 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
226 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
173 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
  • 5,327
1 vote
1 answer
238 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
  • 43
0 votes
1 answer
126 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
185 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
88 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
476 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
1k 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
190 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
192 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
264 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
  • 107
5 votes
1 answer
4k 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
  • 107
2 votes
2 answers
288 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
1k 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
2k 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
  • 163
2 votes
4 answers
638 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
  • 363