Skip to content

Latest commit

 

History

History
executable file
·
245 lines (209 loc) · 10.6 KB

README.md

File metadata and controls

executable file
·
245 lines (209 loc) · 10.6 KB

Script ETH Python g Blah fff BTC Tip Jar

★G2ETH★ pythonpython


Get ETH mining stats on GPUs, convert crypto currencies into local currencies or vice versa, get current crypto prices and list GPUs capable of mining Ethereum

All data is estimated
· Functions:
  • Has installation script for Linux-based systems
  • Check the stats on a GPU for mining Ethereum
    • Estimated ROI (Return of Investment)
    • Power consumption
    • Hash rate of a given GPU
    • Estimated earnings
      • Daily
      • Weekly
      • Monthly
    • Efficiency
    • MSRP
    • Release year
    • TDP
  • Convert crypto
    • Convert a crypto currency to your local currency
    • Convert your local currency to a crypto currency
    • Convert a crypto currency to another crypto currency
      • Over 150 currencies supported
  • List GPUs that are capable of mining Ethereum
  • Check crypto prices
    • Check prices on specified coins
    • Check prices on 200+ coins all at once

● Installation/Usage

° To install:

git clone --depth 1 https://github.com/Waxxx333/g2eth.git
cd g2eth
chmod +x install.sh
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ ./install.sh

° Or simply run it:

git clone --depth 1 https://github.com/Waxxx333/g2eth
cd g2eth
chmod +x g2eth
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ python3 g2eth -h/--help
g2eth.py GPU ETH mining stats

options:
  -g GPU, --gpu GPU     GPU to search for
  -h, --help            Show this help menu
  -u, --usage           Advanced Usage
  -l, --list            List all cards capable of mining ETH
  -p, --price           Show BTC and ETH price
  -c CONVERT, --convert CONVERT | Currency to conver ETH/USD/GBP
  -i INTO, --into INTO | Currency to convert into ETH/USD/GBP
  -n AMOUNT, --amount AMOUNT | Amount to convert

● Get the mining stats on GPUs

° You can get the Ethereum mining statistics on NVIDIA and AMD graphics cards. You can use the -l/--list flag to retrieve a list of GPUs capable of mining Ethereum.

· The command format for GPUs, for example, would look like: LHR 3080 would be g2eth -g 3080lhr; a non-LHR(FHR) 3080 would be: g2eth -g 3080; for a Super card, the syntax would be: g2eth -g 2070s
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ g2eth -g 3060tilhr
[■] NVIDIA RTX 3080 LHR [■]
[■] ₿TC Price: $43,461.9767 .::. ΞTH Price: $2953 .::. Up: 13.639
[■] ΞTH Hashrate(DaggerHashimoto): 71.70 Mh/s 
[■] 24h: $2.89 / Weekly: $20.23 / Monthly: $86.70
[■] Released:  2021  .::. MSRP: $999  
[■] ROI: 346 days .::. Efficiency 0.316 Mh/w
[■] TDP: 320 watt .::. Power: 227w :: 5.4 kwh

● List GPUs capable of mining ETH

° Retrieve a list of GPUs capable of mining Ethereum. The name on the left is the actual name, the name on the right side, or Command name is the name to use with the script. E.g g2eth -g 1080

┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ g2eth -l
[■] Card name: NVIDIA GTX 1080 .:|:. Command name: 1080
[■] Card name: AMD RX 6800 .:|:. Command name: 6800
[■] Card name: NVIDIA CMP 90HX .:|:. Command name: cmp90
[■] Card name: NVIDIA P106-100 .:|:. Command name: p106

● Convert crypto currencies

° Some of the currencies supported:

  • AUR - Auroracoin
  • BCC - BitConnect (inactive)
  • BCH - Bitcoin Cash
  • BTC or XBT - Bitcoin
  • DASH - Dash
  • DOGE or XDG - Dogecoin
  • EOS - EOS.IO
  • ETC - Ethereum Classic
  • ETH - Ether (also known as Ethereum)
  • GRC - Gridcoin
  • LTC - Litecoin
  • KOI or COYE - Coinye (inactive)
  • && many more
g2eth --convert/-c [USD/GBP/CAD/EUR/ETH] --into/-i [USD/GBP/CAD/EUR/ETH] --amount/-n [AMOUNT]
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ g2eth -c usd -i grc -n 10 
[■] Conversion is courtesy of: cryps.info
[■] 10.0 USD to GRC (US Dollar to Gridcoin)  [■]
[■] 10.0 U$D == 1,132.95960772 GRC [■]

● Check current crypto prices

° By default it will retrieve just ETH and BTC prices, but you can specify a currency to check the price on by adding it to the --price/-p flag

· Just check Ethereum and Bitcoin
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ g2eth -p
[■] ₿TC Price: $37,875.6767
[■] ΞTH Price: $2611 .::. Down: -3.83634
· Check the price of another coin
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ g2eth -p Dogecoin
[■] DOGE Price: $0.1228
[■] ₿TC Price: $37,875.6767
[■] ΞTH Price: $2611 .::. Down: -3.83634
· Check the price of over 200 coins all at once
┌──[яoot@ᴡɪɴᴅᴏᴡꜱ95]-<g2eth>
└─⋗ g2eth -p all
[■] Name         Price         Alt                 
[■] Moonriver    $67.57        MOVR                
[■] PancakeSwap  $6.74         CAKE                
[■] Helium       $24.91        HNT                 
[■] Siacoin      $0.009572      SC                  
[■] Polkadot     $18.44        DOT                 
[■] Request      $0.2214       REQ                 
[■] OKB          $17.87        OKB                 
[■] Zilliqa      $0.04461      ZIL                 
[■] Secret       $5.40         SCRT                
[■] GateToken    $6.76         GT 

· Requirements: python-requests | but the installation script will attempt to install it in Linux based systems.
· For Windows and Termux you will have to manually install python-requests. You will need pip if you're on Windows or Termux to install requests. **I will be fixing this at some point. Right now the installer supports: openSUSE, Arch-based distros, Debian-based distros and Fedora
· This script doesn't work for GTX 1050 cards as because you need >4GB VRAM to mine ETH.
· G2ETH now has tab completion if you install it via install.sh. You must be using zsh or bash and you also need to have bash-completion for bash or zsh-completions for zsh. Run the install script, close your shell, reopen a shell and type g2eth -- (two hyphens) and press tab. Has an advanced usage menu for extra hep with its functions.

Screenshots

To Do

  • Add more distros' package managers to the installer
  • Make installer work in Winblows
  • Make installer work with Termux
  • Make STDOUT prettier on Termux
  • Maybe a side-by-side comparison function
    • Make the price check function have more currencies
    • Add current ETH price function
    • Add Canadian Dollars
    • Make install.sh
    • Create requirements.txt
    • Work on bash and zsh completion
    • Add more currencies to the conversion function
Changes
  • · Added function to convert ETH to USD/GBP and vice versa
  • · Added function to list ALL cards and all of their stats
  • · Shows +/- ETH
  • · Added price function
  • · Added CAD and EUR to the converter
  • · Updated script according to the source's source code change(Source: let me know if there's a problem with this project)
  • · Fixed conversion decimal problem
  • · Got rid of redundant "list all and stat" function
  • · Added zsh and bash tab completion
  • · Added over 150 currencies to the conversion function
All data is scraped.

GPU stats are from hashrate.no

Price conversions are from cryps.info

Price checks are from: coinmarketcap, hashrate.io, and walletinvestor



bc1q7057d3g5vp8zrtcttcq6cz8fmqxhl8yt27kqdt