Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
latehLarry opened this issue Aug 3, 2022 · 6 comments

Comments

@latehLarry
Copy link

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!

@pinheadmz
Copy link
Member

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?

@latehLarry
Copy link
Author

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!

@pinheadmz
Copy link
Member

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

@latehLarry
Copy link
Author

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

@pinheadmz
Copy link
Member

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.

@masterchief164
Copy link
Collaborator

I think this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants