Skip to content

Randy808/liquid-forceoutputscript-pseudo-opcode

Repository files navigation

liquid-forceoutputscript-pseudo-opcode

A covenant for the Liquid sidechain that conceptualizes a pseudo-opcode made from other opcodes.

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 main.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 should read Done if the script runs successfully

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published