Skip to content

aeonBTC/AutoLiquid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

AutoLiquid - BTC to Liquid Network Peg-in Automation

Script for automating native Bitcoin to Liquid Network peg-ins. Generates peg-in addresses, monitors progress, and claims L-BTC automatically after 102 confirmations.

Note: Peg-outs (L-BTC → BTC) require a third-party service such as Boltz or SideSwap, as native peg-outs are not supported by Liquid network.

Why Use Native Peg-ins?

No swap fees, no swap limits, and no trusted third parties.

Requirements

Bitcoin Node Config (bitcoin.conf):

txindex=1
server=1
rpcuser=your_username
rpcpassword=your_password
rpcport=8332
rpcallowip=127.0.0.1

Elements Core Config (elements.conf):

server=1
validatepegin=1
rpcuser=your_username
rpcpassword=your_password
rpcport=7041
rpcallowip=127.0.0.1
mainchainrpcuser=your_BTC_RPC_username
mainchainrpcpassword=your_BTC_RPC_password
mainchainrpcport=8332
mainchainrpchost=127.0.0.1

Quick Start

  1. Configure nodes (see Requirements above)
  2. Install dependencies: pip install python-bitcoinrpc qrcode
  3. Run: python autoliquid.py

Usage

Main Menu:

  1. Initiate New Peg-in - Generate peg-in address and initiate
  2. Monitor Peg-in Status - View and monitor existing peg-ins
  3. Settings - RPC configuration and testing
  4. Exit - Close the application
Capture

About

Bitcoin to Liquid Network Peg-in Automation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages