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

Run Daemon from python script #128

Open
wouter935 opened this issue Sep 23, 2021 · 0 comments
Open

Run Daemon from python script #128

wouter935 opened this issue Sep 23, 2021 · 0 comments

Comments

@wouter935
Copy link

Hey, I try to build a web api which uses electrum wallet. I am trying to generate a multisigwallet, but in order to do that, I first need to connect to the daemon. However, when I try to run the daemon using:
from daemon import Daemon
trytorun = Daemon()
trytorun.run_daemon()
I'm getting the following error
File "Users/Downloads/Electrum-4.1.5/electrum/util.py", line 417, in do_profile
o = func(*args, **kw_args)
TypeError: init() missing 1 required positional argument: 'config'
What is the right way to run the daemon from a python script? The read the docs section only tells how to run the daemon from shell.

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

1 participant