Skip to main content
ratib90486's user avatar
ratib90486's user avatar
ratib90486's user avatar
ratib90486
  • Member for 2 years, 4 months
  • Last seen more than a month ago
comment
Which solana wallet is easiest to dev on?
But this adapter is in TypeScript. I'm using vanilla JS
asked
Loading…
accepted
comment
What are Token Mint, Token Account, Token Program, Token Program ID in respect of Ethereum?
Some medium posts said Token Program is like smart contract. But here you said it's the Mother contract. It's like to do some actions say transfer SPL Tokens from wallet A to B, we need to ask Mother's (Token Program) permission to do it. Right? If so, what is smart contract in Solana?
comment
What are Token Mint, Token Account, Token Program, Token Program ID in respect of Ethereum?
Is Token Account my wallet address? Like my Phantom wallet address?
comment
What are Token Mint, Token Account, Token Program, Token Program ID in respect of Ethereum?
Why do you call ERC20 Tokens as Token Mint? Do you mean a token is called a mint? Like I have 10 ETH tokens, is I have 10 SOL mints (like candy)? And Token Account is like my MetaMask wallet address? And Token Program is the MOTHER of all Token Accounts? Btw, which of the above is equivalent to smart contract?
Loading…
Loading…
comment
Transfer USDC from one wallet address to another address
Btw, I'm not trying to create a new USDC contract. I just want to use the existing contract at TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA on devnet So do I need const senderATA = await getAssociatedTokenAddress(splToken, sender);
comment
Transfer USDC from one wallet address to another address
Is token account like Ethereum's smart contract?
comment
Transfer USDC from one wallet address to another address
Where you got your splToken, sender values from. What are the values for splToken and sender? Is sender the wallet address? If so, what is splToken?
comment
Transfer USDC from one wallet address to another address
I just posted my code but i don;t know what I'm doing.
revised
Loading…
comment
Transfer USDC from one wallet address to another address
And how you calculated your amount? Do you do this - parseInt(amount * Math.pow(10, 6)),
comment
Transfer USDC from one wallet address to another address
And where you got your splToken, sender values from
comment
Transfer USDC from one wallet address to another address
I don't think the above is vanilla JS. But anyway, what is ATA? AssociatedTokenAddress? What is that?
Loading…
asked
Loading…
awarded
revised
Loading…