-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can i make ord cli interacting with my website #2060
Comments
Actually no, ord wallet client not provide external api |
Maybe running a js or python script from your website which can make command in I think about it but maybe there are vulnerabilities which should be considered. Nevertheless, in localhost it can be possible to have a first try. Interested to chat about it :) |
I created and make it interact with my website, don't do that people would run malicious code in your server |
There is no issue with making calls to cli (through some custom API], which will then return JSON, so you can then parse it and show it as needed. |
how |
Normally call it from something like javascript:
Granted, I suck at JS, I copied first stackoverflow solution Simple... |
there is a library in python subprocess, maybe i can use it you think? it allow to interact with command |
You cat use absolutely any language, which allows you to interact with system. So Python will absolutely work : ) |
thanks a lot |
We've started work on a JSON API and will add enpoints over the next couple weeks: #2250 |
hey any idea how can i make ord cli interacting with my website ? i have my own node right now
The text was updated successfully, but these errors were encountered: