Jeezman / satoshi-read-write

A small application that uses your sats to transmit data to other nodes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

satoshi-read-write

Send data to other nodes in the Lightning Network.

This project mainly serves as a demonstration to the DataSig and DataStruct specs that are about to be proposed to the BLIP repo of Lightning.

Usage

Rename config.sample.yaml to config.yaml and fill in the URL, macaroon path and TLS path for your LND.

Configure the tlv_key for data_sig and data_struct, this needs to be a uint64 number that is odd and greater than 65536.

Note that receiver must also run this application and have the same keys configured in order to normally receive data.

Commands

  • set <address>: Sets the destination address to transmit data to
  • speak <string>: Sends the string to the destination (string with no spaces)
  • send <filepath>: Sends the contents of the file at given path.

About

A small application that uses your sats to transmit data to other nodes.

License:MIT License


Languages

Language:JavaScript 100.0%