Advertisement
Makertronic

quai

Dec 28th, 2024
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.03 KB | Cryptocurrency | 0 0
  1. ###############################################################################
  2. #                                                                             #
  3. #   QUAI   -   Tutoriel en ligne de commande Bash                             #
  4. #   Auteur : Makertronic                                                      #
  5. #   Web : https://www.makertronic-yt.com/                                     #
  6. #   Date : 06/12/2024                                                         #
  7. #   Description : Mining QUAI SOLO et en POOL                                 #
  8. #                                                                             #
  9. ###############################################################################
  10. #                                                                             #
  11. #   NE PAS DIFFUSER                                                           #
  12. #   Copyright 2024 Makertronic. tous droits réservés                          #
  13. #                                                                             #
  14. ###############################################################################
  15.  
  16.  
  17. ###############################################################################
  18. #                                                                             #
  19. #   Liens                                                                     #
  20. #                                                                             #
  21. ###############################################################################
  22.  
  23. - WEB : https://qu.ai/
  24. - WALLET : https://pelaguswallet.io/
  25. - Prix : https://www.livecoinwatch.com/price/QuaiNetwork-_QUAI
  26. - POOL : https://pool-poussin.fr/
  27. - Tuto pool : https://github.com/Dorian-360/Pool-poussin-QUAI
  28.  
  29. - Docs : https://docs.qu.ai/guides/client/node#download-and-sync-from-snapshot
  30. - Explorer : https://quaiscan.io/
  31.  
  32.  
  33. ###############################################################################
  34. #                                                                             #
  35. #   NODE - MINING SOLO    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   #
  36. #                                                                             #
  37. ###############################################################################
  38.  
  39. # Si hiveOS :
  40. 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
  41.  
  42. # Installer les dépendances
  43. sudo apt update -y && sudo apt install snapd libc6 git make g++ tmux -y && sudo snap install go --classic
  44.  
  45.  
  46. # Installer le node
  47. mkdir -p /home/user/
  48. cd /home/user/
  49. git clone https://github.com/dominant-strategies/go-quai
  50. cd go-quai
  51. git checkout v0.40.1
  52. make go-quai
  53.  
  54.  
  55. # Créer le script pour démarrer le node
  56. cat <<EOF> /home/user/go-quai/node_up.sh
  57. ./build/bin/go-quai start \
  58. --node.quai-coinbases '0x006B8f2d3Dc2Ff91f9E0B584ecC26684fb88a649' \
  59. --node.qi-coinbases '0x00F73B4FF99C2F3DDD0118C57230f8248Ec11Cf1' \
  60. --node.slices '[0 0]' \
  61. --node.genesis-nonce 6224362036655375007 \
  62. --node.miner-preference 0.5 \
  63. --node.coinbase-lockup 0
  64. EOF
  65.  
  66. # lancer le node une premiere fois
  67. ./node_up.sh
  68. stoper le node
  69.  
  70.  
  71. # Téléchargement du bootstrap
  72. mkdir -p /home/user/quai-snap
  73. cd /home/user/quai-snap
  74. wget https://storage.googleapis.com/colosseum-db/goldenage_backups/quai-goldenage-backup.tgz
  75. rm -rf ~/.local/share/go-quai
  76. tar -xvf quai-goldenage-backup.tgz
  77. cp -r quai-goldenage-backup ~/.local/share/go-quai
  78.  
  79.  
  80. # Lancer le node
  81. cd /home/user/go-quai
  82. screen -S node ./node_up.sh
  83.  
  84.  
  85. ###############################################################################
  86. #                                                                             #
  87. #   STRATUM                                                                   #
  88. #                                                                             #
  89. ###############################################################################
  90.  
  91. # Compiler le stratum
  92. cd /home/user/
  93. git clone https://github.com/dominant-strategies/go-quai-stratum
  94. cd go-quai-stratum
  95. git checkout v0.18.0
  96. cp config/config.example.json config/config.json
  97. make go-quai-stratum
  98.  
  99. # Créer le script de lancement
  100. cat <<EOF> /home/user/go-quai-stratum/stratum_up.sh
  101. ./build/bin/go-quai-stratum --region=cyprus --zone=cyprus1
  102. EOF
  103.  
  104. # démarrer le stratum
  105. cd /home/user/go-quai-stratum
  106. screen -S stratum ./stratum_up.sh
  107.  
  108.  
  109. ###############################################################################
  110. #                                                                             #
  111. #   MINER                                                                     #
  112. #                                                                             #
  113. ###############################################################################
  114.  
  115.  
  116. https://github.com/dominant-strategies/quai-gpu-miner/releases/download/v0.3.0/quai-gpu-miner-v0.3.0.tar.gz
  117. https://github.com/dominant-strategies/quai-gpu-miner/releases/download/v0.4.0/quai-gpu-miner-nvidia-v0.4.0.tar.gz
  118.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement