Bitcoin miner Riot Platforms has entered into a $100 million credit agreement with Coinbase, using its BTC holdings as collateral.