Questions tagged [signature]
The signature tag has no usage guidance.
98 questions
0
votes
0
answers
9
views
My wallet is compromised and it rejects my signature
My wallet is compromised although I still have full access on it. I have my seed phrase and private key also but the hacker seemed to have done something to my wallet address for it seems to reject my ...
0
votes
0
answers
18
views
Lost signature control for my wallet
Im not a dev on SOL but I had my wallet compromised:
I saw Fabiano.sol thread on X and checked my wallet
Wallet was drained and now I dont have control to that wallet. I can't sign transactions and ...
1
vote
1
answer
21
views
Passing PDA seeds and bump to sol_invoke_signed_c syscall in solana_nostd_entrypoint environment: missing required signature for instruction
Before: There seemed to be a lack of solana nostd entrypoint documentation, I couldn't find any good resources.
I made solana program using solana_nostd_entrypoint.
I want to create PDA account using ...
0
votes
0
answers
17
views
Signature verification failed. Missing signature for public key(s) [key1, key2] in jest test using anchor
test :
import * as anchor from "@coral-xyz/anchor";
import { Program } from "@coral-xyz/anchor";
import { RoyaltyNft } from "../target/types/royalty_nft";
import { ...
0
votes
1
answer
22
views
Signer question
everyone, I have a question about signers.
In https://www.rareskills.io/post/anchor-signer(No need to view),
The Signerof the contract and the.signers([newKeypair])of ts are in one-to-one ...
0
votes
1
answer
34
views
How to get tx signature(s) when using send_and_confirm_transactions_in_parallel()
I am using tpu_client to send tx with fn send_and_confirm_transactions_in_parallel(), basically it worked smoothly, but I don't know where to get the tx signature(s). Can anyone help me? Thanks a lot. ...
0
votes
1
answer
65
views
How to verify offchain signed message inside onchain program
I want to implement verfying signature same as ethereum in solana
ethereum guide (https://solidity-by-example.org/signature/)
0
votes
1
answer
61
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 = ...
1
vote
1
answer
110
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 = ...
0
votes
0
answers
41
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 ...
3
votes
1
answer
224
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 ...
0
votes
1
answer
30
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 ...
0
votes
1
answer
587
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 ...
1
vote
1
answer
258
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
1
vote
0
answers
123
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 ...
1
vote
0
answers
52
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::*;
...
1
vote
0
answers
44
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, ...
0
votes
1
answer
107
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 ...
1
vote
1
answer
53
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 ...
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
0
votes
1
answer
146
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, ...
0
votes
1
answer
429
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 ...
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 ...
1
vote
1
answer
364
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,...
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 ...
0
votes
1
answer
333
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 ...
0
votes
1
answer
149
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 ...
1
vote
1
answer
629
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 ...
1
vote
1
answer
98
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("...
2
votes
2
answers
64
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 ...
1
vote
1
answer
73
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 ...
3
votes
1
answer
293
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 ...
1
vote
1
answer
60
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 ...
2
votes
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 ...
2
votes
1
answer
602
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], ...
2
votes
1
answer
186
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 ...
0
votes
2
answers
128
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,...
1
vote
1
answer
954
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 ...
0
votes
1
answer
92
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 ...
1
vote
1
answer
94
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 ...
1
vote
1
answer
298
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 ...
1
vote
1
answer
224
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 ...
1
vote
1
answer
291
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 ...
0
votes
1
answer
155
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 ...
0
votes
1
answer
257
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 ...
1
vote
0
answers
110
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 ...
1
vote
1
answer
570
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;...
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 ...
1
vote
1
answer
226
views
Can I verify RSA signatures inside of solana program?
I want to check RSA signature inside of a program, is it possible?
2
votes
1
answer
216
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 ...