Skip to content

A Replit.com tutorial for creating and testing CLN plugins

Notifications You must be signed in to change notification settings

chrisguida/cln-plugin-tutorial

Repository files navigation

Instructions for setting up Python or Rust CLN Plugin Tutorials on replit.com

Hello!

To create a new repl from this github repo, simply click this link.

  • If you would like to work in Python, rename the .tutorial-python directory to .tutorial, or create a symlink like so:
ln -s .tutorial-python/ .tutorial
  • Similarly, if you would like to work in Rust:
ln -s .tutorial-rust/ .tutorial

The .tutorial directory is what will be displayed in the Replit Tutorial tab.

If you are getting the message awaiting bitcoind... then you need to run these commands

$ rm ~/.bitcoin/regtest/bitcoind.pid
$ start_ln

Note: If the "Console" tab is open, please close it, as you will not be needing it.

The only things you'll need are:

  • the file tree sidebar on your left (click the "Open Sidebar" button in the upper left if you don't see it)
  • the Tutorial tab to the right of that
  • an editor tab to the right of that, and
  • a Shell tab on the right.

About

A Replit.com tutorial for creating and testing CLN plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •