Skip to content

Randy808/liquid-simple-covenant

Repository files navigation

liquid-simple-covenant

A simple covenant for the Liquid sidechain.

Prerequisites

  • An elements node running on regtest
  • Installation of npm
  • Installation of typescript

How to run

  1. Make sure you have an elements node running (use nigiri to run the script as-is)
  2. Change admin1, 123, and 18881 in the string http://admin1:123@localhost:18881 from ElementsClient.ts to your username, password, and port respectively
  3. Open terminal
  4. cd to the folder containing the contents of this repo
  5. Run npm install
  6. Run ts-node simple-covenant.ts
  7. Make sure the first log with the balance shows up to see if you can correctly connect to the elements node
  8. The last log should start with Final transaction id: if everything runs successfully

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published