Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###############################################################################
- # #
- # QUAI - Tutoriel en ligne de commande Bash #
- # Auteur : Makertronic #
- # Web : https://www.makertronic-yt.com/ #
- # Date : 06/12/2024 #
- # Description : Mining QUAI SOLO et en POOL #
- # #
- ###############################################################################
- # #
- # NE PAS DIFFUSER #
- # Copyright 2024 Makertronic. tous droits réservés #
- # #
- ###############################################################################
- ###############################################################################
- # #
- # Liens #
- # #
- ###############################################################################
- - WEB : https://qu.ai/
- - WALLET : https://pelaguswallet.io/
- - Prix : https://www.livecoinwatch.com/price/QuaiNetwork-_QUAI
- - POOL : https://pool-poussin.fr/
- - Tuto pool : https://github.com/Dorian-360/Pool-poussin-QUAI
- - Docs : https://docs.qu.ai/guides/client/node#download-and-sync-from-snapshot
- - Explorer : https://quaiscan.io/
- ###############################################################################
- # #
- # NODE - MINING SOLO xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx #
- # #
- ###############################################################################
- # Si hiveOS :
- echo "deb http://cz.archive.ubuntu.com/ubuntu jammy main" >> /etc/apt/sources.list && apt update && DEBIAN_FRONTEND=noninteractive apt install libc6 -y && apt install -y g++-11
- # Installer les dépendances
- sudo apt update -y && sudo apt install snapd libc6 git make g++ tmux -y && sudo snap install go --classic
- # Installer le node
- mkdir -p /home/user/
- cd /home/user/
- git clone https://github.com/dominant-strategies/go-quai
- cd go-quai
- git checkout v0.40.1
- make go-quai
- # Créer le script pour démarrer le node
- cat <<EOF> /home/user/go-quai/node_up.sh
- ./build/bin/go-quai start \
- --node.quai-coinbases '0x006B8f2d3Dc2Ff91f9E0B584ecC26684fb88a649' \
- --node.qi-coinbases '0x00F73B4FF99C2F3DDD0118C57230f8248Ec11Cf1' \
- --node.slices '[0 0]' \
- --node.genesis-nonce 6224362036655375007 \
- --node.miner-preference 0.5 \
- --node.coinbase-lockup 0
- EOF
- # lancer le node une premiere fois
- ./node_up.sh
- stoper le node
- # Téléchargement du bootstrap
- mkdir -p /home/user/quai-snap
- cd /home/user/quai-snap
- wget https://storage.googleapis.com/colosseum-db/goldenage_backups/quai-goldenage-backup.tgz
- rm -rf ~/.local/share/go-quai
- tar -xvf quai-goldenage-backup.tgz
- cp -r quai-goldenage-backup ~/.local/share/go-quai
- # Lancer le node
- cd /home/user/go-quai
- screen -S node ./node_up.sh
- ###############################################################################
- # #
- # STRATUM #
- # #
- ###############################################################################
- # Compiler le stratum
- cd /home/user/
- git clone https://github.com/dominant-strategies/go-quai-stratum
- cd go-quai-stratum
- git checkout v0.18.0
- cp config/config.example.json config/config.json
- make go-quai-stratum
- # Créer le script de lancement
- cat <<EOF> /home/user/go-quai-stratum/stratum_up.sh
- ./build/bin/go-quai-stratum --region=cyprus --zone=cyprus1
- EOF
- # démarrer le stratum
- cd /home/user/go-quai-stratum
- screen -S stratum ./stratum_up.sh
- ###############################################################################
- # #
- # MINER #
- # #
- ###############################################################################
- https://github.com/dominant-strategies/quai-gpu-miner/releases/download/v0.3.0/quai-gpu-miner-v0.3.0.tar.gz
- https://github.com/dominant-strategies/quai-gpu-miner/releases/download/v0.4.0/quai-gpu-miner-nvidia-v0.4.0.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement