Welcome to the Documentation around Bitswap ⚡
- RGB CLI
- Rust
- Rust Lightning
- Rust DLC
- Sats for fund wallet allow send, receive and swap RGB Assets (Signet, Testnet)
- Use Bitlight demo contract RGB20, Bihelix-CLI, RGB/STD Interface, RGB CLI, Bitlight asset registries or Bitmask asset registries for create your asset and test into Demo DEX, which support last update
git clone https://github.com/Bitswap-BiFi/Bitswap-demo.git
cd Bitswapdemo
curl -sSf https://sh.rustup.rs | sh
cargo install rgbstd
cargo install rgb
cargo install rgbcore
cargo install bpstd
cargo install rust
cargo install rustdlc
cargo install rustlightning
cargo install rustbitcoin
cargo install bdk
cargo install bdk-cli
cargo build
cargo build --release
cargo run
rustup update
Use app
for see options and run DEX
$ bit--help
A CLI for manage channels, swaps and liquidity around RGB and Lightning Network
[arguments]
$app - for bitswap management
-contract
-wallet
-swap
-opeen_channel
-close_channel
bdk-cli generate-keys
appcli sendtoaddress <address> <amount>
appcli createwallet <wallet_name>
Use BDK
bdk-cli create-wallet <wallet_name>
appcli createcontract <contract_name> <wallet_name> <amount> <asset_name>
appcli swap <wallet_name> <amount> <asset_name> <contract_name>
docker run -it --rm -v $(pwd):/app -w /app rust:latest bash
docker-compose up
docker-compose -f docker-compose-cli.yml up