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

Add missing binding methods #1

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

tmalahie
Copy link
Contributor

@tmalahie tmalahie commented Oct 6, 2024

This PR adds a few more methods to the wrapper library. I'm currently integrating a wallet in Node.js and I needed them to benefit of all the RGB features. The new methods include:

  • get public key data from mnemonic
  • get BTC balance
  • list BTC transactions
  • Transfer BTC
  • Get asset balance
  • List asset transactions

This PR depends on this one in rgb-lib repo: RGB-Tools/rgb-lib#49

Copy link
Contributor

@zoedberg zoedberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! We'll merge this as soon as you make the requested changes and its counterpart PR gets merged and a new rgb-lib version with that changes will be released (we'll do this as quickly as we can).

Please sort the methods, format the code (npm run format), rebase the commit on top of master and sign it.

It would be awesome if you could also call the methods in the example file, but that's not mandatory.

wrapper.js Show resolved Hide resolved
wrapper.js Outdated Show resolved Hide resolved
@tmalahie tmalahie force-pushed the wrapper-additions branch 3 times, most recently from 1fdb945 to 827866f Compare October 7, 2024 20:35
@tmalahie tmalahie requested a review from zoedberg October 7, 2024 20:42
@zoedberg
Copy link
Contributor

We released rgb-lib 0.3.0-alpha.9 (which includes RGB-Tools/rgb-lib#49).
@tmalahie please rebase this on top master so we can merge it and then release rgb-lib for Node.JS

@tmalahie tmalahie force-pushed the wrapper-additions branch 2 times, most recently from cff609a to 80ba737 Compare October 10, 2024 19:32
Copy link
Contributor

@zoedberg zoedberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@zoedberg zoedberg merged commit ef27460 into RGB-Tools:master Oct 11, 2024
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

Successfully merging this pull request may close these issues.

2 participants