taproot-wizards / purrfect_vault

Demo of an onchain Bitcoin Vault using OP_CAT
MIT License
54 stars 14 forks source link

How to fix the problem? #7

Open wade-liwei opened 6 months ago

wade-liwei commented 6 months ago

image

bitcoin-core.cli -rpcuser=user -rpcpassword=password -regtest getblockcount 0

monlovesmango commented 3 months ago

I think you may have missed step 1:

  1. Run a CAT-enabled bitcoind in regtest mode. This will be done either using just bootstrap, or you can run it with just run-bitcoind, or run it yourself with the bitcoin-core-cat binary that was built.

bitcoind needs to be running in the background before running just deposit. when I don't have bitcoind running in the background I get the same error as you, when it is running the deposit command runs successfully.