How to use the exonum-client.newTransaction function in exonum-client

To help you get started, we’ve selected a few exonum-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github exonum / exonum-java-binding / exonum-java-binding / cryptocurrency-demo / frontend / src / plugins / blockchain.js View on Github external
function CreateTransaction(publicKey) {
  return Exonum.newTransaction({
    author: publicKey,
    service_id: SERVICE_ID,
    message_id: TX_WALLET_ID,
    schema: proto.CreateWalletTx
  })
}
github exonum / exonum-java-binding / exonum-java-binding / cryptocurrency-demo / frontend / src / plugins / blockchain.js View on Github external
function TransferTransaction(publicKey) {
  return Exonum.newTransaction({
    author: publicKey,
    service_id: SERVICE_ID,
    message_id: TX_TRANSFER_ID,
    schema: proto.TransferTx
  })
}