A minimal template for projects based on lndart.cln. This should get you started if you want to develop a core lightning plugin using Dart.
Dart can compile a package to a binary in target platform using the dart compile
dart compile exe bin/cln_plugin.dart
This will generate an executable in the bin/
subdirectory. This executable can be used with core lightning using the
--plugin = path_to_this_executable
If you like the library and want to support it, please considerer to donate with the following system
- liberapay.com/vincenzopalazzo
- 3BQ8qbn8hLdmBKEjt1Hj1Z6SiDsnjJurfU
- Github support
Template to write a plugin for core lightning in dart lang.
Copyright (C) 2022 Vincenzo Palazzo [email protected] ``
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.