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

Using ordhook-sdk-js #265

Closed
devlancer412 opened this issue Feb 8, 2024 · 7 comments
Closed

Using ordhook-sdk-js #265

devlancer412 opened this issue Feb 8, 2024 · 7 comments

Comments

@devlancer412
Copy link

I've got this error when install @hirosystems/ordhook-sdk-js. Please give me solution.

image

@sabbyanandan
Copy link
Contributor

Hi, @devlancer412! Glad to see you're trying to use Ordhook. Could you share a little more context as to the steps you followed and how you ended up with this error? The more details, the better it would be for us to review/troubleshoot.

@devlancer412
Copy link
Author

I've run bitcoin core and was going to get event from this daemon with ordhook library. I'm using NestJs backend and just tried to install this package to my backend

@sabbyanandan
Copy link
Contributor

@devlancer412: Alright, that is helpful.

@lgalabru: FYI.

@lgalabru
Copy link
Contributor

lgalabru commented Feb 8, 2024

hey @devlancer412!
This javascript package is very promising, but also ver experimental at this point - pretty much a wip.
We're not using it yet, it is a work in progress so unless you're familiar with Rust, Nodejs, NAPI and ready to contribute actively on this component, I would advise against going down that route :).

@devlancer412
Copy link
Author

So you mean I can't use that package for now? If so could you let me know detail about callback endpoint of ordhook server?

@lgalabru lgalabru changed the title Can't install package. Using ordhook-sdk-js Feb 9, 2024
@lgalabru
Copy link
Contributor

You can use that package but you'll be on your own, the issues you'd end facing are uncharted territory.
The alternative is to use ordhook-cli and register an HTTP observer, as described in our documentation.

@devlancer412
Copy link
Author

hirosystems/docs#615

@lgalabru Could you check about this?

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

No branches or pull requests

3 participants