Closed IvanVnucec closed 2 years ago
Here are listed bitcoin-cli versions: https://bitcoincore.org/bin/
Ok, it seems that I've managed to find the solution:
make start-gui
. (won’t work in Docker)make start
make start
and then make generate
and the output should be something like:
{
"address": "bcrt1qcffaf0vp26k93egylyra8nh4h43lkep4yq49wg",
"blocks": [
"4fd42fb4533ecfc561d0a2e8a4783aa3a35820c57f7c3a950aa311bf6c00f43b"
]
}
Anyhow, the creation of the Bitcoin wallet should be automated and/or documented in the README.md
file.
I see now in README that there exist a way to create a wallet for the second client, so maybe in the step 2 we don't need to create the wallet for the second one.
When I run
make start
and thenmake generate
I get the following error:I think the problem is with the 0.21.0 version of bitcoin-cli because that version hasn't got default wallet. I think that is the issue with the #52. Maybe downgrade the version to the correct one or update README and Dockerfile with the creation of the bitcoin wallet commands. https://github.com/freewil/bitcoin-testnet-box/blob/29944ca45207ac517f477d3e97813f83d2ed04b5/Dockerfile#L16