Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Create a signet setup #574

Open
bonomat opened this issue Dec 13, 2022 · 4 comments
Open

Create a signet setup #574

bonomat opened this issue Dec 13, 2022 · 4 comments
Assignees

Comments

@bonomat
Copy link
Contributor

bonomat commented Dec 13, 2022

So far, we used regtest or testnet for testing.

We should evaluate how easy it is to setup a bitcoin signet including additional services like a blockexplorer and electrs.

@holzeis holzeis self-assigned this Dec 13, 2022
@holzeis
Copy link
Collaborator

holzeis commented Dec 19, 2022

A custom signet is quite easy to setup, however we should think about how we want to use it? After looking into it I see the following options

Local nigiri fork

Fork nigiri and add support for a custom signet chain. I got this working prototypical, but there is a lot of stuff in nigiri we do not really need for a custom signet. However if we plan to work with regtest and signet (and potentially liquid) in parallel that might be the way to go.

e.g.

nigiri start -signet
nigiri faucet 0.1

However, we would need to maintain a fork of nigiri and nigiri-chopsticks

Local custom

Similar to nigiri - create a docker-compose with electrs, esplora and bitcoin (signet).

e.g.

docker-compose up
curl --data-binary '{"jsonrpc": "1.0", "method": "sendtoaddress", "params": ["tb1qlsp47mzmzzncwrp0gr4wvrqhn3s0dupf8hnwr4", 0.1]}' -H 'content-type: text/plain;' http://admin1:123@127.0.0.1:38332/

Remote

This could be done with nigiri fork or a custom setup, but on a remote server accessible from the outside. We setup the signet node only once and point our configuration to signet statically.

@holzeis
Copy link
Collaborator

holzeis commented Dec 19, 2022

I am rather in favor of the remote option as I see signet more as an alternative to testnet than to regtest.

It would also help in the beta testing as we could easily fund the testers.

However, we could also go for the local and remote option.

@bonomat
Copy link
Contributor Author

bonomat commented Dec 19, 2022

I am rather in favor of the remote option as I see signet more as an alternative to testnet than to regtest.

I agree, it would replace the testnet setup.

I'm in favor of docker-compose or vanilla docker containers as we can't use nigiri on our VMs.

@holzeis
Copy link
Collaborator

holzeis commented Dec 27, 2022

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

No branches or pull requests

2 participants