CAT20 Mint Setup Guide — fast 90% synced tracker
Guide made by Hashlight for advanced usage or CAT20 mint. Custom tracker allows to have less errors, since public trackers are overloaded by users. You can mint CAT20 on https://todamun.xyz/cats
Follow this original guide until you face command sudo docker build -t tracker:latest .
https://mirror.xyz/3p-labs.eth/0IWdR6toFMACCRZTwTAF3XFAv2TiEAPEAHqzVF707g8
1. After you executed sudo docker build -t tracker:latest .
, you need to load sync data.
2. For that, download my dump:
curl -O http://88.99.70.27:41187/dump_file_13532.sql
3. Then install postgres tools
sudo apt-get install postgresql-client
4. Now you can load your dump with this command:
psql -h 127.0.0.1 -U postgres -d postgres -f dump_file_13532.sql
Your default password is "postgres", unless you changed it in .env
5. Now you can proceed with the original guide and run:
sudo docker run -d \ --name tracker \ --add-host="host.docker.internal:host-gateway" \ -e DATABASE_HOST="host.docker.internal" \ -e RPC_HOST="host.docker.internal" \ -p 3000:3000 \ tracker:latest
6. Then just follow the guide and you'll should have tracker synced to 90%. It will take a bit of time to sync fractal node, but it will be much faster than if you had to run tracker from the very beginning.
What if I already have database and running tracker?
You need to stop tracker and cleanup database.
1. For that, type docker ps
to list your containers, you'll see tracker container id:
2. My container id is f3b90c8713e
, so to stop it I run docker stop f3b90c8713e8
3. After that, I need to delete my old data in database:
psql -h 127.0.0.1 -U postgres -d postgres -c "DROP TABLE IF EXISTS block CASCADE; DROP TABLE IF EXISTS token_info CASCADE; DROP TABLE IF EXISTS token_mint CASCADE; DROP TABLE IF EXISTS tx CASCADE; DROP TABLE IF EXISTS tx_out CASCADE;"
4. Then we proceed to steps 2-4 in the first part of this guide:
curl -O http://88.99.70.27:41187/dump_file_13532.sql
sudo apt-get install postgresql-client
psql -h 127.0.0.1 -U postgres -d postgres -f dump_file_13532.sql
5. Then we start tracker again with docker start f3b90c8713e
(with your id)
Important: if you have questions about VPS/VDS, server installation and similar stuff — just google it for ask ChatGPT. This is not for beginners and requires some effort to understand.
Mint website: https://todamun.xyz/cats
Twitter: https://twitter.com/hashlight
Discord: https://discord.gg/tKbHweDkeY