A covenant for the Liquid sidechain that conceptualizes a pseudo-opcode made from other opcodes.
- An elements node running on regtest
- Installation of npm
- Installation of typescript
- Make sure you have an elements node running (use nigiri to run the script as-is)
- Change admin1, 123, and 18881 in the string http://admin1:123@localhost:18881 from ElementsClient.ts to your username, password, and port respectively
- Open terminal
cd
to the folder containing the contents of this repo- Run
npm install
- Run
ts-node main.ts
- Make sure the first log with the balance shows up to see if you can correctly connect to the elements node
- The last log should should read
Done
if the script runs successfully