I been working on a project since 2 weeks and I am so frustrated. i am not able to understand. Can someone help me with writing the code of swapping spl tokens from SOL. I cannot understand, how the swap instruction is constructed and how, and how the transactions are done. I got to know that unlike web3 we have to fetch the pool address and then make up the transaction and do all at our own. Can someone please help me with this.
↧