Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.11 KB

CAT2 Issuance and Melt Tool

This tool helps you issue and melt CATs by connecting to a full node peer and using your wallet keys to find and spend XCH and CAT coins.

Disclaimer

This should primarily be used on testnet11. The code has not been tested sufficiently enough to be used on mainnet.

If you do decide to use it on mainnet, it's at your own risk and I would recommend only having the amount of XCH in the wallet that you plan on using to issue the CAT (and fees).

Installation

You'll first need to install Rust.

Then, run the following command:

cargo install --git https://github.com/Rigidity/cat-tool

Usage

You can run cat2 --help to see a full list of commands and options.

For example, to issue a CAT on testnet with your local full node:

cat2 issue --amount 1 --uri localhost:58444

You can specify an issuance secret key to make it multi-issuance, otherwise it will use the coin id of the XCH coin spent as the genesis coin for the single-issuance CAT.

You can later melt multi-issuance CATs with:

cat2 melt --amount 1 --uri localhost:58444