-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
# babylon-deployment | ||
# babylon-deployment | ||
|
||
## Start Bitcoin node | ||
|
||
1. Copy the `.env.bitcoin.example` file to `.env.bitcoin` and set the variables | ||
|
||
```bash | ||
cp .env.bitcoin.example .env.bitcoin | ||
``` | ||
|
||
* The `NETWORK` variable only can be either `regtest` or `signet`. | ||
* The `BTCSTAKER_PRIVKEY` variable must be a valid Bitcoin private key in WIF format. | ||
|
||
2. Start the Bitcoin node | ||
|
||
```bash | ||
make start-bitcoin | ||
``` | ||
|
||
3. Verify the Bitcoin node is synced and has a balance | ||
|
||
```bash | ||
make verify-bitcoin-sync-balance | ||
``` | ||
|
||
4. Stop the Bitcoin node | ||
|
||
```bash | ||
make stop-bitcoin | ||
``` | ||
|
||
5. Check the Bitcoin node logs | ||
|
||
```bash | ||
docker compose -f docker/docker-compose-bitcoin.yml logs -f bitcoind | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters