Closed krazzarkov closed 2 years ago
Hey great to hear you are trying to test out the example liquidator bot!
What network are you connecting to (rpc url) and what program id are you using?
Hey great to hear you are trying to test out the example liquidator bot!
What network are you connecting to (rpc url) and what program id are you using?
Thanks for the quick reply.
I've tried using both https://api.mainnet-beta.solana.com
and https://solana-api.projectserum.com
for the RPC.
As for the program id, could you slightly elaborate on this? I think this is where the issue is coming from but I'm just too inexperienced with Solana to understand what I need to fix.
In the code I see TOKEN_PROGRAM_ID referenced as well as PublicKey on Lines 14-24 of liquidator-bot.ts
I'm assuming you are referring to this? If you are, I have not edited this as I wasn't sure what needed to be done for it.
Thank you
Hi @crispheaney,
I can't believe I missed that, I must have not been paying attention! Thank you for the help, that fixed my issue :)
Awesome, lemme know if you need anything else :)
Hello,
I am trying to set up and test the example liquidator bot.
I created a new dummy wallet and added a small amount of USDC to my Drift account.
Unfortunately, when I run the liquidator bot I get the following error:
I am not sure where it's getting this
Ak7DzaacxWwKLUFaKfntbcdcoKXzDk56aseSbqYT5MSy
account from but it seems to be the cause of the issue.I am trying to run and test this on mainnet so I'm not sure if that could be the issue.
Any help would be greatly appreciated! :)