Query different blockchains with a single and simple interface.
import { Client, providers } from 'chainabstractionlayer'
const { BitcoinRPCProvider } = providers.bitcoin
const bitcoin = new Client()
bitcoin.addProvider(new BitcoinRPCProvider('http://localhost:8080', 'bitcoin', 'local321'))
bitcoin
.generateBlock(1) // returns Promise
.then(console.log) // Array<BlockHash>
git clone git@github.com:ConsenSys/chainabstractionlayer.git
cd chainabstractionlayer
npm link
cd mycrosschain
npm link chainabstractionlayer
npm run build:docs
npm run publish:docs