Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cln4go

Go library for cln with flexible interface

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.

About

Go plugin template to write a plugin for core lightning in Go 1.18 or the newest

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages