Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesCopyBotsEarn
Complete the Fractal Network CAT Protocol token minting tutorial in five minutes

Complete the Fractal Network CAT Protocol token minting tutorial in five minutes

BlockBeatsBlockBeats2024/09/11 06:56
By:BlockBeats

Cat20 protocol 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.

Original title: "Fractal Network CAT Protocol Token Minting Tutorial in Five Minutes (One-Click Script)"
Original author: 0xoooooyoung, Crypto KOL


Editor's note: Today, the transaction fees of the Fractal Bitcoin mainnet soared, with high priority reaching 101 Sat/byte. The popularity of the Covenant Attested Token (CAT) protocol on the Fractal Network may be the main reason for the surge in its mainnet transaction fees. The protocol has multiple features such as no indexer required, modularity, programmable minting and cross-chain interoperability, and can run on any Bitcoin-compatible blockchain with OP_CAT activated. Crypto KOL 0xoooooyoung shared how to use scripts to mint the protocol tokens with one click. BlockBeats reprinted the full text as follows:


CAT Protocol One-click Script Minting Tutorial


Background


The Cat20 protocol @ProtocolCAT, which was released on Fractal Bitcoin early this morning, 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 mint on the Linux system.


mint prerequisites:$FB, a linux server (2 cores CPU 4GB memory)


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


Tutorial start:


Here is a one-click script to simplify your setup. The code is written by Twitter user @ouyoung11, welcome to follow.


The code is completely open source, you can check the source code at github, there are no background vulnerabilities and dangerous code.


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


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

② Enter the following code to enter the prompt interface of one-click script building (enter the numbers to execute the steps in sequence. After each step, run the following command to enter the script interface again).


bash ~/cat20-oooooyoung.sh


Complete the Fractal Network CAT Protocol token minting tutorial in five minutes image 0

One-click script


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


Complete the Fractal Network CAT Protocol token minting tutorial in five minutes image 1

Enter to skip


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


PS: Confirm that it is consistent with the latest block height of the fractal network https://explorer.unisat.io/fractal-mainnet/block ④ Enter `bash ~/cat20-oooooyoung.sh` again to enter the script interface, enter 2 to create a new fractal network btc wallet, and save the mnemonic and address, then transfer a little bit of $FB to the address as gas to participate in minting cat20 tokens.

Create wallet address


⑤ Enter `bash ~/cat20-oooooyoung.sh` again to enter the script interface, and enter 3 to perform a circular mint of $CAT tokens. Because there are too many people calling, the mint may fail and cause retries. Just keep hanging up


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


sudo yarn cli mint -i 45ee725c2c5993b3e4d308842d87e973bf1951f5f7a804b21e4dd964ecd12d6b_0 5 --fee-rate 1000


Complete the Fractal Network CAT Protocol token minting tutorial in five minutes image 2

No gas


Complete the Fractal Network CAT Protocol token minting tutorial in five minutes image 3

Mint successful


⑥ If you import the created wallet mnemonic into the unisat wallet, the address will not match due to format problems, 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 added. https://explorer.unisat.io/fractal-mainnet/address/bc1p9k67fd8jr4hnxd6k9lgh02g3dfeht2f5wdkyppya2cterlqakfdqy3ksdd


Complete the Fractal Network CAT Protocol token minting tutorial in five minutes image 4

No gas


1111_7

No gas


1111_8

No gas


1111_9

No gas


center;">Check wallet balance


Original link

0

Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.

PoolX: Locked for new tokens.
APR up to 10%. Always on, always get airdrop.
Lock now!