ChainStackJS

The missing ingredient of standards and libraries for cross-chain development and interoperable blockchains.

GitHub

Tutorial


// Fetch addresses from wallet using a single-unified API
await bitcoin.wallet.getAddresses(0, 1)
await ethereum.wallet.getAddresses(0, 1)

// Sign a message
const msg = 'The Times 3 January 2009 Chancellor on
brink of second bailout for banks'

await bitcoin.wallet.signMessage(
  msg, bitcoinAddress
)

await ethereum.wallet.signMessage(
  msg, ethereumAddress
)

// Send a transaction
await bitcoin.chain.sendTransaction(<to>, 1000)
await ethereum.chain.sendTransaction(<to>, 1000)