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

Can timelockrecovery-specter be made available out of the box in Specter? #1

Open
petre-c opened this issue Feb 6, 2025 · 9 comments

Comments

@petre-c
Copy link

petre-c commented Feb 6, 2025

Hello, @oren-z0, I watched your video and saw your website; I am excited to try out the current plugin.
Well done, by the way, since this seems to be an emerging area that is not widely explored and talked about.

I don't see the plugin being available in Specter out of the box. Can it be made available?
Image

Thanks!
Petre

@petre-c petre-c changed the title Make timelockrecovery-specter available without PyPi Can timelockrecovery-specter be made available out of the box in Specter? Feb 6, 2025
@petre-c
Copy link
Author

petre-c commented Feb 7, 2025

I have two Specter installations - one on Windows and the other on Umbrel.

I installed the timelockrecovery extension by running

pip install specterext-timelockrecovery

then restarted Specter but it's still not showing up.

I should note that on Windows I installed Specter by downloading the software from the official website, not via pip.

@oren-z0
Copy link
Owner

oren-z0 commented Feb 8, 2025

Hi @petre-c , thanks for the support!
You can try downloading the install-specterext-timelockrecovery branch from: https://github.com/oren-z0/specter-desktop/tree/install-specterext-timelockrecovery which is waiting for review (cryptoadvance/specter-desktop#2489), then start Specter with:

SERVICES_DEVSTATUS_THRESHOLD=alpha python -m cryptoadvance.specter server

Or

SERVICES_DEVSTATUS_THRESHOLD=alpha python -m cryptoadvance.specter server --config DevelopmentConfig

The SERVICES_DEVSTATUS_THRESHOLD=alpha environment variable is necessary to show the extensions that are still alpha.

Unfortunately the Specter team said that the review will take a long time, possibly months, because most of the team has moved to work on other stuff.
Maybe you want to nag them on https://t.me/spectersupport ?

Meanwhile I've started working on a similar extension for Electrum, which is much more popular and has a more active development: https://github.com/oren-z0/electrum/tree/timelockrecovery
(Writing UI in Python is pretty annoying...)

@petre-c
Copy link
Author

petre-c commented Feb 9, 2025

Hi @petre-c , thanks for the support!

Of course, we're all in this together 🙂 Besides, I'm acting in my own self-interest..

So, I need to build Specter from source to be able to use the timelockrecovery extension, is that correct?

I was hoping I could avoid doing that, but okay, I'll give it a try.

@petre-c
Copy link
Author

petre-c commented Feb 9, 2025

Do you plan to also add an extension / plugin for Sparrow sparrowwallet/sparrow#1573 ?

As you said

giving non-technical users a simple solution is more important at the moment

@oren-z0
Copy link
Owner

oren-z0 commented Feb 9, 2025

@petre-c Yes, you need to download the repo, install the dependencies (I recommend using virtual-env) and run the python script.
I found Specter really useful as an Umbrel app because it has a web interface. I wish the Specter team would review the code and add it to the Umbrel app store.

I tried working on the Sparrow code but it's all Java with libraries that I'm not familiar with. Sparrow is also very popular and has a beautiful UI, but the entire project is maintained by a single genius developer (decentralization much?). I'm sure that if the TimelockRecovery feature will be popular in other wallets, he'll implement it in Sparrow too.

@petre-c
Copy link
Author

petre-c commented Feb 9, 2025

You can add Community App Stores to Umbrel, are you aware of this? It would be great if timelockrecovery for Specter was available through this.

Screenshot_20250209_141507_Chrome.jpg

@oren-z0
Copy link
Owner

oren-z0 commented Feb 9, 2025

@petre-c Yes, the Specter team suggested that I will publish the feature as a fork of Specter, but this will be very confusing for users. I also don't want to take any responsibility for unrelated bugs that Specter might have.

@petre-c
Copy link
Author

petre-c commented Feb 9, 2025

You want to make this publicly available for the largest number of people, don't you?

I'll test it out.

@petre-c
Copy link
Author

petre-c commented Feb 10, 2025

I was able to get the extension working by building the Dockerfile from https://github.com/oren-z0/specter-desktop/tree/install-specterext-timelockrecovery then starting by setting the environment variable, as you pointed out.

docker build -t specter-desktop .
docker run -p 25441:25441 -e SERVICES_DEVSTATUS_THRESHOLD=alpha specter-desktop

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