Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 1501
1 vote
1 answer
28 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( // im …
ratib90486's user avatar
2 votes
1 answer
124 views

Replace import syntax for Vanilla JS such as - import { Token, TOKEN_PROGRAM_ID } from "@sol...

I'm trying to transfer SPL token from one wallet to another. … So I'm using JS file like: <script src="https://unpkg.com/@solana/web3.js@latest/lib/index.iife.min.js"><script> I saw the answer that shows how to do SPL transfer. …
ratib90486's user avatar
4 votes
2 answers
3k views

What is lamports in creating transactions?

I found this below at this, to send SOL from one wallet to another. const transferTransaction = new Transaction() .add(SystemProgram.transfer({ fromPubkey: alice.publicKey, toPubkey: feePaye …
ratib90486's user avatar
2 votes
1 answer
76 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 transfer
ratib90486's user avatar
0 votes
1 answer
285 views

Transfer USDC from one wallet address to another address

Could someone show me how to transfer USDC from one wallet to another with a wallet already connected to my site (I've achieved this and my site is supporting Phantom)? …
ratib90486's user avatar