Guide: How to mint Fractal Network CAT Protocol tokens in one click via script

avatar
ODAILY
09-11
This article is machine translated
Show original

Original author: 0xoooooyoung , crypto KOL (X: @ouyoung 11)

Editor's note: Today, the transaction fee of Fractal mainnet soared to more than 40 satoshis/byte, and the high priority fee soared to more than 100 satoshis/byte. It is reported that today a team launched a new UTXO-based token protocol on Bitcoin, called the Covenant Attested Token (CAT) protocol, which has multiple features such as no indexer required, modularity, programmable casting, and cross-chain interoperability. The CAT Protocol can run on any Bitcoin-compatible blockchain that activates OP_CAT. The community infers that this may be the main reason for the surge in transaction fees on the Fractal mainnet. Crypto KOL 0x oooooyoung shared how to cast the protocol token with one click through the script. The full text is reproduced as follows:

CAT Protocol One-click Script Casting Tutorial

background

The Cat 20 protocol @ProtocolCAT was released on Fractal Bitcoin early this morning. It is a new protocol on the Fractal Network. Based on the new OP_CAT technology, developers can develop based on OP_CAT to implement some simple smart contract functions.

Here is a one-click script tutorial for the Linux system mint.

mint Prerequisites : $FB, a Linux server (2 cores CPU 4 GB memory)

Official documentation https://github.com/CATProtocol/cat-token-box/blob/main/packages/tracker/README.md#prerequisite

Tutorial starts:

A one-click script is used here to simplify your setup. The code is written by Twitter user @ouyoung 11. Welcome to follow.

The code is completely open source and the source code can be checked at github. There are no background vulnerabilities or dangerous code.

① After logging in to the server, execute the following command to install the script:

cd ~ && wget -O /root/cat 20-oooooyoung.sh https://github.com/nopapername/shell-oooooyoung/releases/download/cat20-oooooyoung/cat20-oooooyoung.sh && chmod +x cat 20-oooooyoung.sh

② Enter the following code to enter the prompt interface of one-click script building (enter the number execution steps in sequence, and run the following command after each step to enter the script interface again).

bash ~/cat 20-oooooyoung.sh

One-click script

PS: If the pink interface in Figure 2 appears during the installation, just press Enter to continue.

Enter Skip

③ After the environment and fractal nodes are installed, synchronization has started automatically. Enter `bash ~/cat 20-oooooyoung.sh` again to enter the script interface, and then enter 4 to view the node synchronization log

PS: Continue to the next step after confirming that it is consistent with the latest block height of the Fractal Network https://explorer.unisat.io/fractal-mainnet/block

Synchronize Node

④ Enter `bash ~/cat 20-oooooyoung.sh` again to enter the script interface, enter 2 to create a new fractal network btc wallet, save the seed phrase and address, and then transfer a little bit to the address $FB when gas can participate in mint cat 20 tokens

Create a wallet address

⑤ Enter `bash ~/cat 20-oooooyoung.sh` again to enter the script interface, enter 3 to perform the cyclic mint of $CAT tokens. Because there are many people playing, the mint may fail and cause retries. Just hang up

PS: The default gas fee is set to 30. If you want to set a higher gas fee, the command for a single mint is as follows (the number in --fee-rate 1000 is the current gas fee):

sudo yarn cli mint -i 45 ee 725 c 2c 5993 b 3 e 4 d 30884 2d 87 e 973 bf 1951 f 5 f 7 a 804 b 21 e 4 dd 964 ecd 1 2d 6 b_ 0 5 --fee-rate 1000

No gas

Mint Success

⑥ If you import the created wallet seed phrase into the unisat wallet, the address will not match due to formatting issues, so you don't need to import it. Just enter the newly generated wallet address in the block browser to view the FB balance and the assets you have entered. https://explorer.unisat.io/fractal-mainnet/address/ bc 1 p 9 k 67 fd 8 jr 4 hnxd 6 k 9 lgh 02 g 3d feht 2 f 5 wdkyppya 2c terlqakfdqy 3 ksdd

Check your wallet balance

Original link

Source
Disclaimer: The content above is only the author's opinion which does not represent any position of Followin, and is not intended as, and shall not be understood or construed as, investment advice from Followin.
Like
Add to Favorites
2
Comments