Skip to content
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

Python equivalent of Janus ? #108

Open
SyedMuhamadYasir opened this issue Jul 19, 2022 · 1 comment
Open

Python equivalent of Janus ? #108

SyedMuhamadYasir opened this issue Jul 19, 2022 · 1 comment

Comments

@SyedMuhamadYasir
Copy link

Is there a way to interact with Qtum through python ?

preferably through web3.py ?

As far as i gather, Janus is mostly for web3.js users ?

if it can be adapted to web3.py in its present form, please elaborate how

@ripply
Copy link
Collaborator

ripply commented Jul 19, 2022

We don't have a Python API yet.

web3.py would probably function if you are hosting your own Janus/Qtumd node with private keys and just using the Ethereum JSON-RPC.
The main compatibility issue comes down to transaction/message signing and address computation, as long as Janus/Qtumd is handling transaction signing then web3.py may mostly function.

You can try out our public testnet Janus instance https://testnet-janus.qiswap.com/api/
it has private keys loaded for now with test Qtum but I am not sure if the Qtumd nodes that it points to have the private keys loaded or not which does the actual transaction signing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants