Minting & Burning dxBTC
dxBTC in subfrost-cli
The subfrost-cli provides a set of commands for minting and burning dxBTC. These commands allow you to:
- Mint
dxBTC: Thesubfrost-cli mint-dx-btccommand allows you to mintdxBTCby locking upfrBTC. - Burn
dxBTC: Thesubfrost-cli burn-dx-btccommand allows you to burndxBTCand redeemfrBTC.
Minting dxBTC
Here is an example of how to use the subfrost-cli to mint dxBTC:
subfrost-cli mint-dx-btc --amount 1.0
This command will lock up 1.0 frBTC and mint an equivalent amount of dxBTC to your Bitcoin address.
Burning dxBTC
Here is an example of how to use the subfrost-cli to burn dxBTC:
subfrost-cli burn-dx-btc --amount 1.0
This command will burn 1.0 dxBTC and unlock an equivalent amount of frBTC to your Bitcoin address.