bcoin-org/bcoin

Most commands not working on windows and no response when I try connecting node to Laravel project.

latehLarry opened this issue · 6 comments

Hi wonderful project here, but I've got some problems. When I try running specific commands from cmd (Win 10) I get an error. For example when I try running the following command:

bcoin-cli --api-key=api-key

It returns:

Unrecognized command

and the same issue occurs with many other commands in docs.
Secondly, I'm working on a Laravel 8 project, where when I try connecting to the default host and port, I get no response. Any help would be much appreciated. Thanks!

bcoin-cli --api-key=api-key

this is not a command. What are you trying to do?

what is laravel8? Is it related to bcoin at all?

I'm using bcoin as fullnode to process payments on a website. The website is built in laravel ( a PHP framework). I want to set up the RPC(rpcuser, rpcpassword, ....) such that I can connect to the node. I tried connecting with 127.0.0.1:8332 but didn't get any response. Thanks!

If you just want to set an API key there are several ways to do so, bcoin must be configured before launch:

https://github.com/bcoin-org/bcoin/blob/master/docs/configuration.md

Thanks, I believe I am to create a config file myself because I couldn't find one.

Thanks, I believe I am to create a config file myself because I couldn't find one.

correct. Bcoin does not generate that for you.

I think this issue can be closed.