Search Results
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 |
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 …
2
votes
1
answer
124
views
Replace import syntax for Vanilla JS such as - import { Token, TOKEN_PROGRAM_ID } from "@sol...
I'm new to JS ES stuff and Solana. I'm trying to transfer SPL token from one wallet to another. I've seen almost all SOL tutorials using imports like:
import { Token, TOKEN_PROGRAM_ID } from "@solana/ …
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 …
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 transfe …