crypto-rpc

rpc wrapper for multiple rpcs

Usage no npm install needed!

<script type="module">
  import cryptoRpc from 'https://cdn.skypack.dev/crypto-rpc';
</script>

README

Commands

// get balance of all accounts
./bin/balance --node ETHNode --currency ETH

// get balance of USDC for specific account
./bin/balance --node ETHNode --currency USDC --address 0xac2c37f15B77Ac5aC56fb8643cb02cb18F82C246
./bin/send --node ETHNode --currency USDC --amount 1111111 --address 0xac2c37f15B77Ac5aC56fb8643cb02cb18F82C246

// Get balance of bitcoin wallet
./bin/balance --node BTCNode --currency BTC