Client Requirement
Purchase some amount of meme coin on Solana Chain right after they have been added to the pool.(Before it hit the market where people can see them).
Idea
Direct monitor data on the main chain of solana, once an new meme coin is find, send a local socket message where the other software will do the purchase job(client already have this).
Implement
- First subscripte to the main net of solana at
wss://api.mainnet-beta.solana.com
- Continuously read from the WebSocket, need make them asynchronous.
- Once an unseen signature is find, check if it contain an initialize command
initialize2
- Record it’s signature and try to fetch the token ID from Solana by finding the initialize transation pool.
- Pack the data and send through socket.
Github Repo
This is not a open source project, the client don’t allow to share it.