Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
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?
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);