A collection of Python scripts for interacting with an elements node (Bitcoin Liquid Network) with RPC Credentials.
Go to file
2023-12-21 21:50:16 -05:00
app working on adding a wallet list 2023-12-21 21:50:16 -05:00
cli moved some funtions into src in app, moved cli to it's own directory 2023-12-21 09:56:52 -05:00
.gitignore moved some funtions into src in app, moved cli to it's own directory 2023-12-21 09:56:52 -05:00
LICENSE licence added, flask app started, delete/create wallet improvements 2023-12-19 09:49:29 -05:00
README.md readme changes 2023-12-21 11:52:53 -05:00
requirements.txt working on adding a wallet list 2023-12-21 21:50:16 -05:00
wallet.py new wallet script 2023-12-21 18:03:35 -05:00

Elements Node Python RPC Tools

This repository contains a collection of simple Python tools for interacting with an Elements node using RPC credentials. These scripts allow you to perform various tasks such as checking balances, sending assets, creating wallets, and more.

Setup

Clone this repository to your local machine:

git clone https://happytavern.co/oceanslim/elements.py.git
cd elements.py

Usage

Windows

Download the latest cli.exe from the releases page of this repository and place it in the cli folder before running it. The exe will walk you through all the necessay steps to begin using the cli and when all requirements are met, the cli will load with initial instructions.

If you are on Linux or MacOS, you will need python installed before you can run cli.py You can download Python Here

Running with Python (any system)

From the cli directory run:

python cli.py

Flask App Development

First install the requirements with

pip install -r requirements.txt

Then from the root directory, run:

python -m flask --app .\app\app.py run

This will start the app @ http://127.0.0.1:5000


Tailwind CSS is used to style the app.
To update the style output, you need to run

 tailwindcss -i app/static/style/input.css -o app/static/style/output.css --watch

License

This repository is provided under the MIT License. Feel free to use, modify, and distribute these scripts as needed. Contributions and improvements are welcome. ❤️
See the LICENSE file for details.