Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
/ Bitswap-demo Public archive

Demo RGB20 Contract DEX based on RGB v0.11.0-beta.6 (Core basic functionality) for Bitswap via CLI

License

Notifications You must be signed in to change notification settings

BitSwap-BiFi/Bitswap-demo

Repository files navigation

Bitswap Demo ⚡ 💱

Bitcoin-only LN Build Crates Bitcoin Passing Lightning Passing RGB Passing

Demo Decentralized Exchange for RGB assets (RGB20)

⚠️We moved our development to our Core internal for Web app

⚠️Demo DEX for users test on the Testnet, Signet & Regtest

⚠️Don't use this demo software for mainnet

⚠️Contributions are welcome

About Bitswap Demo

Bitswap demo is a project designed to show users, developers and potentital investors about a DEX built on the top of Bitcoin using RGB with Client-Side-Validation.

Initially, we released the first PoC, which showed how would work only swaps via BTC<>USDT

How Works

The user can participate of Pools for earn BTC, tokens and USDT how on Uniswap

How there's no lunch free, you can lose sats in these scenarios:

  • Illiquid asset

  • Stop Loss

  • Channel Liquidity on Lightning Network

  • DLC fail

Swaps (On-chain and Off-chain)

  • Alice create invoice (RGB or LN) for Bob receive USDT

  • Bob receive USDT tokens of Alice

  • Alice receive BTC of Bob

  • DLCs verify price settled and solve 2-of-2 pairs

Development

Run

Documentation for run DEX

Run

Documentation about DEX

Official Documentation

Ossification DEX

In this Core, we'll not integrate with Sidechains non built on RGB and altcoins beyond RGB, Bitcoin, Prime, Liquid, Bifrost, Payjoin, RGB wallets and Lightning Network.

FAQ

Check here

BITP (Bitswap Improvement Proposal - Similar BIPs to the Bitcoin)

Official Specs

Roadmap

  • Full CLI
  • Cross-platform
  • Full GUI by rust
  • Fix bugs
  • Testnet4
  • Release crates
  • Liquid support to CLI

Contributors