Can anyone tell me how to set up a watch-only address using bcoin?
while using the command:
bcoin wallet create myNewWallet
this will always be a "watchOnly": false wallet by default. Is there any documentation for these commands?
Can anyone tell me how to set up a watch-only address using bcoin?
while using the command:
bcoin wallet create myNewWallet
this will always be a "watchOnly": false wallet by default. Is there any documentation for these commands?
The commands are listed on the bcoin GitHub wiki
The command you are looking for is
bcoin wallet watch [address]
There is a way to pass in the option --watch when creating the wallet or, in node, you can use bcoin.http.Client.createWallet({ id: 'myNewWallet', watchOnly: true})