https://github.com/BitSwap-BiFi/Bitswap-demo
Demo RGB20 Contract DEX based on RGB v0.11.0-beta.6 (Core basic functionality) for Bitswap via CLI
https://github.com/BitSwap-BiFi/Bitswap-demo
bifrost bitcoin bitcoin-finance cli decentralized-exchange decentralized-finance defi discreet-log-contract layer2 layer3 lightning-network lnp-bp payjoin rust smart-contracts stablecoin taproot
Last synced: about 1 month ago
JSON representation
Demo RGB20 Contract DEX based on RGB v0.11.0-beta.6 (Core basic functionality) for Bitswap via CLI
- Host: GitHub
- URL: https://github.com/BitSwap-BiFi/Bitswap-demo
- Owner: BitSwap-BiFi
- License: mit
- Archived: true
- Created: 2023-06-11T20:05:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T19:00:51.000Z (9 months ago)
- Last Synced: 2024-10-14T21:01:45.595Z (7 months ago)
- Topics: bifrost, bitcoin, bitcoin-finance, cli, decentralized-exchange, decentralized-finance, defi, discreet-log-contract, layer2, layer3, lightning-network, lnp-bp, payjoin, rust, smart-contracts, stablecoin, taproot
- Language: Rust
- Homepage: https://docs.rs/Bitswap-demo
- Size: 2.86 MB
- Stars: 45
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-rgb-protocol - Bitswap Demo via CLI
README
# Bitswap Demo ⚡ 💱
[](https://twentyone.world)
[](https://mempool.space/lightning)




*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](https://bitswap-bifi.github.io/Bitswap-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](https://github.com/BitSwap-BiFi/Bitswap-demo/blob/main/doc/development.md)
## Documentation for run DEX
[Run](https://github.com/BitSwap-BiFi/Bitswap-demo/blob/main/doc/run.md)
## Documentation about DEX[Official Documentation](https://github.com/BitSwap-BiFi/bitswap-docs)
## 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](https://github.com/BitSwap-BiFi/Bitswap-FAQ/)
## BITP (Bitswap Improvement Proposal - Similar BIPs to the Bitcoin)
[Official Specs](https://github.com/BitSwap-BiFi/BITP)
## Roadmap
- [x] Full CLI
- [x] Cross-platform
- [x] Full GUI by rust
- [x] Fix bugs
- [x] Testnet4
- [ ] Release crates
- [ ] Liquid support to CLI
## Contributors