Transfer Burn
The transfer-burn command is a new feature in the CLI, which has been introduced in Haven 4.1 (Hard Fork 24).
This command allows you to burn any available coins in the wallet being used.
Coins burnt through this process will automatically update Haven’s circulating supply for the asset being burnt.
CATATAN: Please use these commands with care, as you will not be able to retrieve any coins you have burnt.
When you first open the wallet, you must issue the following command in order to enable the burn feature:set enable-burn-experimental 1
This “set” command will not be saved as part of your wallet’s settings. This is done to protect users from accidentally burning coins.
Burn XHV
To burn XHV use:transfer_burn <address> <transfer amount> <burn amount>
<address> is any valid Haven address.
<transfer amount> is the amount of XHV you send to the specified address. It can be any amount, but should be small if you only intend to burn coins.
<burn amount> is the amount of XHV you intend to burn.
Contoh:transfer_burn hvx000000000000000000000000 0.1 50
The above example sends 0.1 XHV to the specified address and burns 50 XHV.
Burn xUSD
To burn xUSD use:offshore_transfer_burn <address> <transfer amount> <burn amount>
<address> is any valid Haven address.
<transfer amount> is the amount of xUSD you send to the specified address. It can be any amount, but should be small if you only intend to burn coins.
<burn amount> is the amount of XHV you intend to burn.
Contoh:offshore_transfer_burn hvx000000000000000000000000 0.1 100
The above example sends 0.1 xUSD to the specified address and burns 100 xUSD.
Burn xAsset
To burn any of the xAssets in your wallet (xBTC, xAU, xAG, etc.) use:xasset_transfer_burn <address> <transfer amount> <burn amount> <xAsset Type>
<address> is any valid Haven address.
<transfer amount> is the amount of specified xAsset you send to the given address. It can be any amount, but should be small if you only intend to burn coins.
<burn amount> is the amount of the specified xAsset you intend to burn.
<xAsset Type> is the xAsset you are intending to burn.
Contoh:xasset_transfer_burn hvx000000000000000000000000 0.0001 0.01 XBTC
The above example sends 0.0001 xBTC to the specified address and burns 0.01 xBTC.