Questions tagged [transfer]

The tag has no usage guidance.

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

Withdrawal sol to the wrong address, please help to recover lost fund

I send some sol to a wrong address that is missing one letter. I still can see the sol stay this address(GDTXXE91yZ5k8k2FsbLNDuijZymRQy2psJHgqm1CBor) and it is owned System Program in solscan.io which ...
hawk's user avatar
  • 1
0 votes
1 answer
31 views

Why choose Solana exchange instead of others?

I just log into this exchange and I need to understand why use this exchange
Christian Maraschin's user avatar
0 votes
1 answer
52 views

SPL token transactions check

I figured out how to make my token and check incoming applications in the solana network with the usual transfer of solana. But how do I track an incoming transfer with a certain amount of my token to ...
Atr118's user avatar
  • 21
0 votes
1 answer
29 views

having issues with the token programme ID when trying to send SPL tokens from my game to the connected users wallet

I'm trying to perform a token transfer using postman with the script I have, I want the script to be my backend server for token transfers in my unity game. I have tried multiple debug logs attached ...
Solana_dean's user avatar
2 votes
3 answers
207 views

Ethereum vs Solana

What are the differences in the token transfer process between Ethereum and Solana? In Ethereum-based tokens, it's possible to transfer tokens without the user's signature. However, is it not possible ...
Solextra's user avatar
1 vote
1 answer
67 views

failed: exceeded CUs meter at BPF instruction #3831

I have an instruction which transfers tokens, pnft and closes the account. I get the above error when I call the instruction from the frontend. Here's the instruction code pub fn handler(ctx: Context&...
Denim Basumatary's user avatar
4 votes
2 answers
130 views

Anchor Realloc PDA

I am trying to write a program that: a) Creates an account (state) if one does not already exist b) Reallocs as needed for changed state Error Error: Account allocation failed: RPC response error -...
Sky020's user avatar
  • 117
1 vote
1 answer
112 views

transfer hook in token 2022 - how to actually transfer?

I'm trying to understand how the transfer hook works in the token 2022 program. I have deployed a program that implements the Execute and InitializeExtraAccountMetas functions (they both currently do ...
LindleyLentati's user avatar
2 votes
1 answer
88 views

is there a way to get the SPL Transfer Transactions using the solana web3js?

I want to get the SPL Transfer Transactions just like in the solscan: https://solscan.io/account/DhRdUKhA3MdB85M4599VhAfSnfwc4ApNiRMCD2iT6i2w#splTransfers I am using the getSignaturesForAddress but I ...
juone's user avatar
  • 21
3 votes
1 answer
57 views

How do you transfer an NFT between wallets using Solnet?

While searching for this, I keep ending up back at this code sample. Is it really this complicated to transfer an NFT? https://github.com/bmresearch/Solnet/blob/master/src/Solnet.Examples/...
Keith Walton's user avatar
0 votes
0 answers
93 views

Frozen Token Account when sending nfts to an address

I've recently tried to transfer 3 nfts from 3 different collections on 2 different days to a address. Each time when I've tried transfering them I got 0x11 custom program error. From what I've ...
Andrei Rohatin's user avatar
0 votes
0 answers
57 views

How do I transfer SOL from a PDA account to a user's wallet?

I'm now developing on solana blockchain. I want to users can deposit and refund their sol on my pool. create_pool works well it means users can deposit their sol to my pool. but cancel_pool error. ...
Watcher's user avatar
1 vote
0 answers
94 views

WalletSendTransactionError: Blob.encode[recentBlockhash] requires (length 32) Uint8Array as src

I have a code which is on NextsJs React code and runs when I run it with npm run dev, But when I build it with npm run build followed by pm2 restart rps I get this error: WalletSendTransactionError: ...
Reza Aslejeddian's user avatar
0 votes
1 answer
129 views

Transfer sol from PDA works with .try_borrow_mut_lamports()? +/- but not with transfer instruction

currently I have the following in a program: **main_data_account.try_borrow_mut_lamports()? -= final_transfer; **player_account_info.try_borrow_mut_lamports()? += final_transfer; where ...
daoplays's user avatar
  • 487
0 votes
0 answers
78 views

Solders Solana transactions for Python from_bytes

I am just starting to learn how to work with crypto so I'm sorry for the basic questions, just trying to get an understanding. I am trying to write a function to complete a send transaction using ...
Ryan Thomas's user avatar
2 votes
3 answers
432 views

Transfer Solana using Solders for Python

I am still new to this and have been trying to figure this out for some time now so any help you can offer would really be greatly appreciated. I see quite a bit of literature and tutorials on how to ...
Ryan Thomas's user avatar
0 votes
0 answers
263 views

Transaction simulation failed: This account may not be used to pay transaction fees using Solana CLI

I am getting this error using "solana transfer" at the command line. "solana address," and "solana balance" both work fine, so it seems like the wallet is properly ...
david lampach's user avatar
0 votes
1 answer
43 views

How can a system transfer instruction not result in a corresponding balance change?

I found a mainnet transaction with an inner system transfer instruction which does not seem to create a corresponding SOL balance change. The inner system transafer is transfering 0.001 SOL from ...
Alon's user avatar
  • 103
1 vote
3 answers
186 views

Error Code: InstructionFallbackNotFound

I am attempting to create a function that receives lamports, and if it does, to execute some code. Both the sending and receiving accounts are owned by the system program. The receiving wallet is ...
david lampach's user avatar
1 vote
1 answer
208 views

SOL transfer fee calculation

I experience a strange behavior of the SOL transfer. I use Typescript @solana/web3.js client that do SOL transfer from local wallet filled with SOLs automatically at solana-test-validator start. Then ...
chalda's user avatar
  • 382
1 vote
1 answer
89 views

How to identify whether an TX is a simple incoming "SOL/Token transfer" one?

I have a list of transactions that I periodically fetch via Solana API. Out of those, I need to identify the ones that are: incoming that transfer SOL incoming that transfer a token (USDT, USDC, ...
Camila326's user avatar
  • 149
1 vote
1 answer
136 views

How to handle transfer with wallets of different owner than SystemProgram

I am currently developing an app that will request users to transfer X amount of sol to my wallet address via Phantom wallet, But I faced an error while testing this, the error was that "This ...
Reza Aslejeddian's user avatar
1 vote
1 answer
140 views

Gasless Transactions for Solana

Has there been any research or development done around gasless txns? I'm looking to record particular txns for user provenance that have little intrinsic value now, but likely will in the future. I'm ...
Karl Mozurkewich's user avatar
2 votes
1 answer
268 views

How do I transfer SPL-token programmatically when the recipient is the transaction signer?

I want to transfer my custom SPL-token programmatically from my vault (source token account) to George (user destination token account), where the transaction caller-payer is George. Hence, I must use ...
nene's user avatar
  • 23
0 votes
1 answer
43 views

How to hardcode fees to a specific address in an instruction?

I have a game that requires players to "buy in", that transfers their lamports to a PDA. My question is, whats the best way to hardcode a transfer (of % buyin amount) to a specific address? ...
TLS's user avatar
  • 45
2 votes
2 answers
105 views

Trouble with conducting a simple transaction via Vanilla JS

My code used to work in early-mid November. It used to be a simple SOL transaction from wallet to another through a click of a button and then it just stopped working as I was dealing with something ...
edoedo123's user avatar
1 vote
0 answers
88 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
3 votes
1 answer
111 views

Why we cannot transfer sol to the program address, but we can transfer the token created by spl-token to the program address

I have tried to transfer sol to the program address it fails, but transferring another token works, why ?? Both are the types of tokens.
Jaspal's user avatar
  • 43
1 vote
1 answer
94 views

Difference between Solana pay transaction request and transfer request?

could anyone explain me what is difference between transaction request and transfer request . I've seen in transaction request we are sending back a transaction to customer to sign and approve .And In ...
subhajit das's user avatar
2 votes
2 answers
101 views

Whats the highest number of sol-transfers you can pack into one transaction?

I know Solana has a size limit on transactions. If I wanted to distribute solana from one account to hundreds of accounts, what would be the fastest way to go about it, in as few transactions as ...
Helix Development's user avatar
1 vote
3 answers
348 views

How to recover SOL from a address after mistakenly transfer

I have transfer some SOL to a address by mistake. I still see the balance in solana explorer mainnet. Is there any way I can recover my SOL? Is there a way Solana company can help on this?
Souvagya's user avatar
  • 131
1 vote
1 answer
54 views

SOL Change is wrong

SOL Change in the following transaction is wrong. https://explorer.solana.com/tx/2zSnKNdmAmR9ZJzwLg7z3CDLxJo9pv49iRc3xT1xtt5rzkTdfTbmjjGwByL96DdLhYb2isfnYzuSktgbdE15k8uD ...
user2028's user avatar
3 votes
2 answers
484 views

How to create ATA (Associated Token Account ) for a PDA (Program Derived Addresses) on devnet?

I am creating a token-sale program, to sale tokens, I want to transfer spl-tokens to a PDA-address, so I can transfer them from PDA-token-account to recipient(transaction-signer)-token-account by ...
Mahesh Ghamaand's user avatar
1 vote
1 answer
84 views

Solana recovery from wrong transfer

Unfortunately I transferred mistakenly to wrong wallet. I was trying to find solona support to report about this issue,is anybody can suggest is there way to recover or I would be greatful if ...
Souvagya's user avatar
  • 131
1 vote
1 answer
100 views

How to bulk mint token in a particular wallet in sugar candy machine v2

If minting in the owner's account and then transferring it to the desired address then what is the most efficient way of doing that, so that I don't end up spending a fortune just on minting
Shishir Tiwari's user avatar
2 votes
1 answer
68 views

I can't transfer all of my Lamports to another account

If there are 891000 lamports in my account, I can't transfer all of these to another rich account. It says "Transaction simulation failed: Transaction results in an account (0) without ...
pengten's user avatar
  • 21
2 votes
2 answers
499 views

How can i transfer sol from PDA to another account

I want to send Solana from a PDA to another wallet using a publicKey. The other wallet is not the signer and the transaction is happening via Program.
M2DT's user avatar
  • 43
2 votes
1 answer
74 views

How to lock lamports to the game and allow winner to withdraw the winning reward

I'm learning Solana with Anchor and decided to implement Roshambo (rock, paper and scissors) game as part of my journey. I'd like to allow players to place some bid on game where winner collects all ...
jakub.bogacz's user avatar
1 vote
1 answer
107 views

Can't transfer funds out of PDA using transfer cpi

I'm trying to store SOL in a PDA which can be taken out by an "owner" wallet and I've found there is two ways to initalize the PDA account for this: #[account( init, ...
jac0xb.sol's user avatar
2 votes
1 answer
66 views

Set and transfer royalties for a NFT

How to set royalty while minting a NFT. If I set creators in metadata how can I transfer royalties when someone buys this NFT? This is my Minting code: pub fn mint_nft( ctx: Context<MintNFT>,...
Lobo1897's user avatar
  • 153
1 vote
1 answer
48 views

Restricting solana transfers via smart contract

I want to implement restricting SOL transfers using an anchor/rust smart contract but cannot find any info on this in their documentation. Is there no option to filter or some kind of event/callback ...
Ramesh's user avatar
  • 209
4 votes
1 answer
120 views

How can I do one cross-program-invocation with multiple instructions?

in a nutshell I'm wondering how to send one CPI call with a vector of Instructions. Here's an example: I noticed there's a function in the solana_program Rust crate called: solana_program::...
Joe C's user avatar
  • 866
1 vote
2 answers
156 views

Do I need PDA to send SOL to another account?

I'm struggling to send SOL to another address(fixed one when initialize) on Rust level along logging the sender's account address on the program. Do I need PDA for this? Also I have to log the sender'...
sunnydev's user avatar
1 vote
1 answer
47 views

SOL program to Lock SPL Token for short period

I am looking for way to hold/lock/pledge/promise a fixed amount of tokens from a sender, and later in about few hours or days later transfer those to some recipients. Can we achieve this while keeping ...
Subash Chaturanga's user avatar
0 votes
1 answer
41 views

Do I need to set authority on newly minted token after I transfer it?

I have a program to mint tokens on behalf of users (with user-provided metadata for the tokens) and after the minting is done, I transfer the token to the user address. Now, my question is - do I need ...
Milkncookiez's user avatar
1 vote
1 answer
90 views

Transfer SOL without end user to approve

My question is in the title, so my program can transfer SOL from a PDA to another user but the thing is, based on an event, I'd like to pay the winner, but the winner always has to approve (on the ...
Sing's user avatar
  • 111
1 vote
0 answers
21 views

Cannot locate sent solana from ledger to coinbase [closed]

So I sent some solana from my ledger to my coinbase and now it’s missing, the address match exactly except the address I sent it to is in all lowercase anyway to revive my funds since it’s the correct ...
Tyler Luciano's user avatar
3 votes
1 answer
33 views

Transaction does not show amount

I am writing a program to transfer SOL owned by the system program to another system program PDA, in the tests everything works fine and also on the frontend UI but the problem is that, when the user ...
Sing's user avatar
  • 111
2 votes
1 answer
43 views

Where to specify SPL token name or address when transferring

Somebody from Discord was nice enough to point me to look at https://solana-labs.github.io/solana-program-library/token/js/modules.html#transfer but where do I specify what SPL token I want to ...
ratib90486's user avatar
1 vote
1 answer
23 views

What does `fromPublicKey` mean? [duplicate]

I got the below from this article. What does fromPublicKey mean? Who's public key is it? The sender's wallet? const transaction = new SolanaWeb3.Transaction().add( createTransferInstruction( // ...
ratib90486's user avatar