Skip to content

This service will take lightning invoices and pay them using opennode.co api

License

Notifications You must be signed in to change notification settings

RyanMilb/service-lightning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightningService

This service will take lightning invoices and pay them using opennode.co api. You will need your own API key from https://dev.opennode.co/

Contents

Installation

MESG Core

This service requires MESG Core to be installed first.

You can install MESG Core by running the following command or follow the installation guide.

bash <(curl -fsSL https://mesg.com/install)

Service

Download the source code of this service, and then in the service's folder, run the following command:

mesg-core service deploy

Definitions

Events

invoicePaid

Event key: invoicePaid

Name Key Type Description
success success Boolean

Tasks

payInvoice

Task key: payInvoice

Inputs

Name Key Type Description
apikey apikey String
invoice invoice String
invoiceId invoiceId String

Outputs

error

Output key: error

Name Key Type Description
error error String

success

Output key: success

Name Key Type Description
message message String

About

This service will take lightning invoices and pay them using opennode.co api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published