You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LNI does some simple event polling over http to get some basic invoice status events.
60
-
Polling is used instead of a heavier grpc/pubsub/ websocket event system to make sure the lib runs cross platform and stays lightweight.
70
+
LNI does some simple event polling over https to get some basic invoice status events.
71
+
Polling is used instead of a heavier grpc/pubsub (for now) event system to make sure the lib runs cross platform and stays lightweight. TODO websockets
61
72
62
73
Build
63
74
=======
@@ -68,16 +79,31 @@ cargo build
68
79
cargo test
69
80
```
70
81
82
+
Folder Structure
83
+
================
84
+
```
85
+
lni
86
+
├── bindings
87
+
│ ├── lni_nodejs
88
+
│ ├── lni_react_native
89
+
│ ├── lni_uniffi
90
+
├── crates
91
+
│ ├── lni
92
+
│ |─── lnd
93
+
│ |─── cln
94
+
│ |─── phoenixd
95
+
```
96
+
71
97
Example
72
98
========
73
-
-react-native
99
+
react-native
74
100
```
75
101
cd bindings/lni_react_native
76
102
cat example/src/App.tsx
77
103
yarn start
78
104
```
79
105
80
-
-nodejs
106
+
nodejs
81
107
```
82
108
cd bindings/lni_nodejs
83
109
cat main.mjs
@@ -109,9 +135,10 @@ Tor
109
135
Use Tor socks if connecting to a .onion hidden service by passing in socks5 proxy.
0 commit comments