Questions tagged [usdc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

Send SPL token from PDA to ATA

I was testing https://github.com/ashishpandiit23/tokentopdatransfer/blob/master/programs/ANCHORFIRST/src/lib.rs but once i try to test sendtokenpda with Solana Play Ground alway i get If somebody can ...
0 votes
0 answers
44 views

I attempted to swap from USDC to SOL, never received SOL but USDC is gone

I initiated a swap, for 20 USDC to SOL. The USDC is no longer in my wallet, and there is no additional Solana. The Solscan is as follows: https://solscan.io/tx/...
1 vote
2 answers
1k views

How do we get test stablecoins on Solana like USDC or USDT?

I posted this two times on two different channels on Solana Discord without replies. I'm posting here now praying there's an answer. And yes I even googled but no joy.
0 votes
1 answer
50 views

Transfer USDC with Rust one wallet to another

I'm newest here and i would like to do transfer USDC from defined wallet to defined another wallet. From account could be Signer account. I'm really confused and i don't know what should i do. With my ...
1 vote
1 answer
788 views

Program Error: "Instruction #4 Failed"

I sent usdc from binance to backpack wallet and got Program Error: "Instruction #4 Failed" https://solscan.io/tx/...
0 votes
2 answers
43 views

Sender can send but the receiver not receing amount, and also I can't make it work for USDC

Hello Stack Overflow community, I'm encountering a few challenges with a transaction, and I'd appreciate your insights. Problem with Transaction Signature: I'm receiving the signature from the sender,...
1 vote
1 answer
228 views

Do I absolutely need SOL to sell or swap USDC? [closed]

I'm trying to ramp off USDC from my Brave Wallet but I don't have SOL, do I need to buy some just to get rid of (swap or sell) USDC?
1 vote
1 answer
48 views

Why aren't SPL token TXs included in getSignaturesForAddress(...)?

For instance: https://solscan.io/account/2LshMLoR8QJkuAv7m6xAs4tYaS5XTfF4Yame21f1Ls9o Currently, there're 6 TXs on the main tab. On the SPL Transfers tab the most recent TX with USDC ($1100) was made ...
3 votes
1 answer
399 views

Get USDC Metadata

I can get the metadata of any token I build like that: import { Metaplex, keypairIdentity } from '@metaplex-foundation/js'; import { Metadata } from "@metaplex-foundation/mpl-token-metadata";...
2 votes
1 answer
816 views

How to get USDC balance in a Phantom Wallet?

I have some code in reactjs which gets the sol balance from a Phantom wallet (Content Functional Component), how can this be changed to get the USDC balance in the same wallet? Here is the code ...
0 votes
1 answer
217 views

Transfer USDC from one wallet address to another address

I'm new to SOL. I've been reading this and this but there's no vanilla JS code. And this actually mixes a lot of conditions - from knowing the wallet private key to transferring from a wallet ...