it's a funding arbitrage bot for mangomarkets
Cool shit
check out the mango money multiplier except it's as a pool and you can stake lp tokens to get your proportional share of the fees from anyone buying into / selling out of pool :D
https://github.com/staccDOTsol/mango-blender https://github.com/staccDOTsol/mango-blender-ui
To Repro
- you must have a Solana private key in id.json in a few spots, and in ~/.config/solana/id.json. it's a mess, I know
- replace meAndThePeeps with the publickeys of wallets you wish to trade (not Mango account pubkeys) and replace any instance of https://solana--devnet.datahub.figment.io/apikey/24c64e276fc5db6ff73da2f59bac4kek with your own private RPC. notably it won't even work with the one here if you don't change it ;) ctrl+shift+h change everywhere :)
- run sudo docker-compose up --build
- voila
I went on an absolute hunch and got it working on devnet.2 :)
@mangomarkets plz sers can we have some market makers running on devnet cuz otherwise shit be ridiculous lol
https://devnet.mango.markets/account?pubkey=2bHBrmieh96QMy4ptxW1GPxM3rxKV5yrryg2Cc6WibQo
it's either that or @dboures puts his thing mainnet.1 ??
Important
- Risk only what you can afford to lose.
- Trading at leverage is extremely risky, and there is a chance you may lose all your funds.
- In no way do I or any other party imply let alone assure results.
- Historical data is no indication of future activity.
- This is extremely alpha software, largely undocumented and completely without tests or helpful comments. Use at your own risk.
- Nothing I do or say should ever be misconstrued as financial advice.
Back to your scheduled programming...
oops aged well :)