Please describe your proposed solution
As a Cardano Developer, I've noticed how offchain Code Development can still be obscure or unclear to many developer out there.
By implementing this Open Source bot I will accomplish two different goals:
- Offer educational code that can be reused by many developer to implement their custom bots in java or any other language. I've chosen java as it is very similar to other languages like for example javascript.
- Develop a very useful tool that can be used by anyone that has a little IT skill
The target audience of this project are mostly two:
- developer eager to learn more about cardano offchain code development
- curious community members that want to have fun "sniping" their favourite NFT should they be listed at a convenient price
I've already worked on a prototype and you can see that the listing transaction of this Hosky NFT is in the same block as the transaction that purchases it:
List transaction: https://cexplorer.io/tx/8cb9326f40e4c47c747abc03bb31c155acad6b51d43d86dbc9d0b7856af337a5
Purchase transaction: https://cexplorer.io/tx/31b1df64cf874cc8b286f813448ee816980564d53c7b11cfa0762553cf745438
From a technical point of view:
- The bot will be implemented in Java and leverage mempool scanning in order to buy NFT as soon as they get listed.
- User will be allowed to specify in a number of ways (eg. a csv or excel spredsheet) the NFTs they want to buy/snipe and the price limit.
- They will then fund and launch the bot and wait for a matching NFT to be listed.