Skip to content

mktetts/PayRoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PayRoot

Watch Demo


🔍 Overview

PayRoot is a decentralized system designed to automate employee compensation and customer investment using Taproot Assets on the Bitcoin blockchain. It leverages advanced blockchain infrastructure, automation bots, and decentralized storage to deliver a seamless, transparent, and efficient ecosystem for organizations, employees, and customers.


🚨 Problem Statement

Traditional systems for managing payroll and customer investments are slow, error-prone, and lack transparency. Manual processes delay employee payments and complicate customer engagement, making profit-sharing inefficient. In a decentralized economy, these challenges hinder innovation and scalability.


✅ Solution

PayRoot solves these issues with an integrated approach powered by Lightning Bot and Taproot Assets:

  • Automated Payroll: Real-time compensation based on sprint completions using tokenized rewards via the Lightning Network.
  • Decentralized Investment: Customers invest in Taproot Assets and redeem dividends through a transparent, automated model.
  • Enhanced Efficiency: Seamless integration with Discord, JIRA, and Lightning Network to streamline operations and improve scalability.

📘 Use Cases

1️⃣ Employee Compensation Workflow

  • Flow: Admin creates a JIRA sprint ➝ New users join ➝ Lightning Bot sets up wallets ➝ Sprint completes ➝ Webhook triggers automated payment.
  • Impact: Ensures timely, automated payments with minimal overhead.

2️⃣ Customer Investment & Dividends

  • Flow: Organization issues Taproot Asset ➝ Customers purchase ➝ Profits announced ➝ Users redeem dividends via Discord ➝ Lightning Bot updates wallet.
  • Impact: Enables a decentralized, trustless investment model with profit-sharing.

🤖 Discord Bot Commands

Command Description
/announce-dividend Admin announces dividends
/auto-sprint-paymnet Triggers auto-payment after sprint completion
/buy-normal-asset Purchase Taproot Assets
/check-normal-asset-balance View all Taproot Assets owned
/check-sats-balance Check wallet balance
/create-normal-asset Admin creates new Taproot Asset
/create-sats-invoice Create invoice for wallet
/withdraw-sats Withdraw sats to external wallet
/check-my-asset-balance View personal asset balance
/redeem-dividend Redeem dividend (API in progress)

🛠 Tech Stack

  • Blockchain: Bitcoin (Taproot Assets)
  • Payments: Lightning Network + LNBits
  • Bot Automation: Lightning Bot (custom built)
  • Cloud Infrastructure: Voltage Cloud
  • Communication & UI: Discord
  • Sprint Management: JIRA

⚠️ Challenges Faced

  1. Taproot API integration was complex and unstable.
  2. Designing a scalable architecture posed significant hurdles.
  3. Bitcoin’s latency affects asset confirmation speeds.
  4. Dividend redemption API is incomplete due to time constraints.

🚀 Getting Started

🔧 Installation Steps

  1. Clone the repository
    git clone https://github.com/mktetts/PayRoot.git

  2. Navigate to the bot directory

  3. Install uv package manager

  4. Sync dependencies
    uv sync

  5. Create .env file using .env.example and fill in all variables

  6. Start the bot
    python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages