I am trying to build a trading bot using Moralis 1 inch plug in. so i want to create a server in python where the swap function runs in make the bot running even if the user closed his computer. so my question is:
Can i use 1 inch functions in this server and how? And if not, What is the best practice to do that?
it may be possible to use it, you will have to make some research on it
this is an example for opensea plugin: https://github.com/dani69654/moralis_opensea_nodejs/blob/main/modules/buyOrder.js
you could try to follow the same principles of making requests to the server, you will have to see what are the requests made in case of 1Inch plugin, you could do that by looking in you browser network tab when you try to use the plugin in the browser (we don’t have documentation for this)