Solnet Bot Development: Need Help with Balances, Token Swapping, and Test-net
Hi everyone,
I am currently working on creating a bot with various functionalities, such as buy/sell and balance checking, specifically targeting the Raydium decentralized exchange (DEX) on the Solana network. While I have experience with bots on centralized exchanges like Binance, handling DEX markets with Solana and Solnet is new to me, and I find it somewhat challenging.
Solnet appears promising, but I am encountering some complexities, and my lack of information is hindering my understanding. I am reaching out to seek assistance and guidance from the community.
Here's a brief overview of what I have accomplished so far:
- I am working on the devnet.
- I successfully created wallets.
- I deposited from faucet.solana.
- I attempted RequestAirdrop, but the SubscribeSignature method's callback did not trigger, even though I had fake Lamports.
Now, my objectives are as follows:
-
I want to track my balance using SubscribeAccountInfo (propably). Despite successfully depositing fake money from faucet.solana, the callback did not trigger.
-
I aim to swap tokens on the Raydium market. However, I couldn't find relevant information or methods to implement this. I noticed something called Serum but am unsure of its relationship with Raydium. Unfortunately, I couldn't locate proper documentation on this matter.
-
Before conducting real tests, I need to practice swapping and selling functions in the test-net. Suppose there is a real token named PELFORT, and I want to swap my SOL with PELFORT, followed by selling these PELFORT. How can I achieve this in the test-net? Or are there fake tokens available for testing purposes?
I would appreciate it if someone could provide guidance and assistance. Thank you in advance.