-
Notifications
You must be signed in to change notification settings - Fork 266
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
Update API responses to specify BtcAmount unit #1858
Comments
Hi, Is this issue still open? |
Sure, this issue is still open. Feel free to take a stab at it! |
Hello @t-bast, I am Siddhesh Kanawade, a third year undergraduate student from IIT Gandhinagar, India. I want to contribute to Eclair as a part of Summer of Bitcoin this year. I participated in Google Summer of Code 2022[GSoC ‘22] under Casbin organization to contribute to casbin-rs, which is an implementation of Core Casbin in Rust. I integrated Casbin-rs with Axum middleware and wrote real-life examples and unit tests on it. Apart from this, I maintained their stale repositories and updated them to Rust 2021. You can find my detailed report about my contributions here. I also worked as a backend developer at Granular AI where I contributed in Python to build multiple microservices for Granular’s Geoengine Platform. I want to contribute by integrating Thank you. |
@t-bast can you please assign me this issue. Also, I have been trying to set the local environment for Eclair-core. It seems I am unable to establish the connection to some remote server. There might be good possibility that I may not be using correct
System Information: Stack Overflow link for similar trace |
Hi @SiddheshKanawade, thanks for your interest in eclair! We do not assign issues to external contributors unless they have opened a pull request that fixes the issue. Don't hesitate to start working on this, and open a pull request once you have a first working prototype.
Please read our README and contribution guidelines, this is explained there.
This doesn't prevent you from working with |
@t-bast Thank you for the clarity. As of now I will bypass the test and try to resolve the this issue. Also, as part of setting local environment for development, what are minimum required things to work? How can I ensure that my local environment is set correctly to meet the minimum requirement for development. This will enable me to view the changes that I make locally before committing to GitHub |
Hello @t-bast , I'm Prathmesh, one of the SOB'23 applicants. I would love to contribute to eclair in the projects "Lightning Accounting Tool for Eclair" and "Improve Lightning Network gossip". I have a basic workflow ready for the implementation of the projects. I would love to get it reviewed by you and receive your feedback. Is there any way through which we can communicate? Thank you and have a nice day! |
Hi @t-bast, |
This is already the case, we use a |
When we return a bitcoin amount, our JSON responses currently specify the unit (btc, sat, msat) in the parameter name, but it's a bit ugly and is missing in some places.
Maybe it would be better to include the unit explicitly in the response. I see two different options:
unit
field (e.g.{"amount": 2500, "unit": "msat"}
,{"amount": 0.45, "unit": "btc"}
,{"amount": 1.5, "unit": "mbtct"}
)This would also be desirable for inputs, we could use strings with a unit suffix (e.g. `fundingFeerate="2500 sat/byte").
The text was updated successfully, but these errors were encountered: