Simple CLN plugin to simplify the BOLT 12 operation
Go to file
Vincenzo Palazzo b7799b7116
plugin: init the structure of the plugins
This commit adds a basic configuration for the plugin structure

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-02-23 12:12:55 +01:00
.github/workflows Initial commit 2024-02-22 11:10:05 +01:00
cln-integration Initial commit 2024-02-22 11:10:05 +01:00
cmd plugin: init the structure of the plugins 2024-02-23 12:12:55 +01:00
pkg/plugin plugin: init the structure of the plugins 2024-02-23 12:12:55 +01:00
.gitignore Initial commit 2024-02-22 11:10:05 +01:00
LICENSE Initial commit 2024-02-22 11:10:05 +01:00
Makefile Initial commit 2024-02-22 11:10:05 +01:00
README.md Initial commit 2024-02-22 11:10:05 +01:00
flake.lock Initial commit 2024-02-22 11:10:05 +01:00
flake.nix Initial commit 2024-02-22 11:10:05 +01:00
go.mod plugin: init the structure of the plugins 2024-02-23 12:12:55 +01:00
go.sum plugin: init the structure of the plugins 2024-02-23 12:12:55 +01:00

README.md

cln4go

Go library for cln with flexible interface

cln4go Homepage

Table of Content

  • Introduction
  • How to use
  • How to contribute
  • Build with
  • License

Introduction

A minimal template for projects based on cln4go. This should get you started if you want to develop a core lightning plugin using Go.

How to use

You can use the make file in the following way make build OS=<> ARCH=<> for example make build OS=darwin ARCH=amd64 for Mac M1

To produce a binary for the OS and ARCH.

However make build should be used only in release mode, in development mode you must use make that produce a debug binary, and also make a go fmt for you, In addition, it makes a static analysis of the code with the following tool https://github.com/golangci/golangci-lint

So you should install it.

This binary can be used with core lightning using the

--plugin = path_to_this_executable_binary

Built with

License

Template to write a plugin for core lightning in dart lang.

Copyright (C) 2022 Vincenzo Palazzo vincenzopalazzodev@gmail.com ``

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.