lexe lightning address - #54
Conversation
📝 WalkthroughWalkthroughThe PR adds human Bitcoin address retrieval to the Lexe Rust API and React Native bindings. It exposes Bitcoin address, Lightning address, offer, and updateability fields, adds backend and binding tests, and updates package documentation to version 0.2.18. ChangesHuman Bitcoin Address Retrieval
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant ReactNativeCaller
participant LexeLniNode
participant NativeLexeNode
participant LexeAPI
ReactNativeCaller->>LexeLniNode: getHumanBitcoinAddress()
LexeLniNode->>NativeLexeNode: get_human_bitcoin_address()
NativeLexeNode->>LexeAPI: get_human_bitcoin_address
LexeAPI-->>NativeLexeNode: Address and payment metadata
NativeLexeNode-->>LexeLniNode: HumanBitcoinAddress
LexeLniNode-->>ReactNativeCaller: LexeHumanBitcoinAddress
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@bindings/react-native-lexe/package.json`:
- Line 3: Update the version in bindings/react-native-lexe/package.json from
0.2.18 to match the published core package versions, including `@sunnyln/lni`,
`@sunnyln/lni-arkade`, and `@sunnyln/lni-spark` at 0.2.20; only retain the current
version if the release divergence is explicitly documented.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 1b290385-06a2-4b8e-9ab0-4494282466a2
⛔ Files ignored due to path filters (5)
Cargo.lockis excluded by!**/*.lockbindings/react-native-lexe/cpp/generated/react_native_lexe.cppis excluded by!**/generated/**bindings/react-native-lexe/cpp/generated/react_native_lexe.hppis excluded by!**/generated/**bindings/react-native-lexe/src/generated/react_native_lexe-ffi.tsis excluded by!**/generated/**bindings/react-native-lexe/src/generated/react_native_lexe.tsis excluded by!**/generated/**
📒 Files selected for processing (9)
bindings/react-native-lexe/README.mdbindings/react-native-lexe/package.jsonbindings/react-native-lexe/rust/src/lib.rsbindings/react-native-lexe/src/LexeLniNode.tsbindings/react-native-lexe/src/__tests__/LexeLniNode.test.tscrates/lni/Cargo.tomlcrates/lni/lexe/api.rscrates/lni/lexe/lib.rscrates/lni/lib.rs
Summary by CodeRabbit
New Features
Documentation
Tests