Bash Script to pull Latest Chia price from CoinMarketCap
This Bash script will pull down the latest price for XCH from the CoinMarketCap and display it.
Here is the script:
# Get current price from CoinMarketCap
content=`curl -s https://coinmarketcap.com/currencies/chia-network/`
value=`echo $content | cut -d'$' -f 6 | cut -d'<' -f 1`