Skip to content

Instantly share code, notes, and snippets.

@maxidev
Created January 31, 2018 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxidev/91054f02fe66b99c0cdc47427ee69bde to your computer and use it in GitHub Desktop.
Save maxidev/91054f02fe66b99c0cdc47427ee69bde to your computer and use it in GitHub Desktop.
Create notary transaction using Bitsignjs
//Require Bitsign's library
const bitsignjs = require('bitsignjs');
//Instantiate the library with your access token
let api = bitsignjs.init('d22..83');
api.transactions.notarizeTx({
address: '0x16E843402d1bEe260D5464C927A6A0DC11b0384f',
data: '<some_hexa_data>',
password: '<your_password>'
}).then(data => console.log(data))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment