A short "hello world" that authenticates with the Cryptohopper API and prints your account info plus the BTC/USDT price.
export CRYPTOHOPPER_TOKEN=your-40-char-bearer
bundle install
ruby hello.rb- How to construct
Cryptohopper::Clientwith a bearer token - One authenticated call:
ch.user.get - One market-data call:
ch.exchange.ticker(exchange:, market:) - Typed error handling via
Cryptohopper::Error
cryptohopper.com developer dashboard → Create OAuth app → drive the consent flow once. See oauth/ for runnable OAuth examples, or use the cryptohopper CLI (cryptohopper login) which handles the flow for you.
Just one — cryptohopper. Requires Ruby 3.0+.