File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ Import packages or modules for build your own application
97
97
- [ ] Nakamoto version in 2025
98
98
- [x] Oracle (WIP)
99
99
- [x] Compile code
100
- - [ ] Frost
100
+ - [x ] Frost
101
101
- [ ] Musig2
102
- - [ ] Miniscript
102
+ - [x ] Miniscript
103
103
- [x] CLI
104
104
- [ ] Breez SDK compatible
105
105
- [ ] DLC message
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
3
3
const { program } = require ( 'commander' ) ;
4
- const { myLibraryFunction } = require ( './lib ' ) ; // Import your library functions here
4
+ const { lightning_channel } = require ( './lightning_channel ' ) ;
5
5
6
6
program
7
7
. version ( '1.0.0' )
8
- . description ( 'A CLI for My Library ' )
9
- . option ( '-n, --name <name> ' , 'Provide a name ' )
8
+ . description ( 'A CLI for Javascript ' )
9
+ . option ( '-n, --ligthnin <option ' , 'Lightning Channel ' )
10
10
. action ( ( options ) => {
11
- console . log ( 'Name :' , options . name ) ;
12
- myLibraryFunction ( options . name ) ; // Call the library function
11
+ console . log ( 'Lightning Channel :' , options . name ) ;
12
+ myLibraryFunction ( options . lightning_channel ) ; // Call the library function
13
13
} ) ;
14
14
15
15
program . parse ( process . argv ) ;
Original file line number Diff line number Diff line change @@ -15,3 +15,5 @@ const Keygen = {
15
15
KeygenError_InvalidKey
16
16
17
17
}
18
+
19
+ module . exports = Keygen ;
You can’t perform that action at this time.
0 commit comments