Usage
const NotarySDK = require('notary-js-sdk');const sdk = new NotarySDK("YOUR_API_KEY", "staging");sdk.stamp(sdk.message.FromString("My random data"))
.then(({ TopicId }) => {
console.log("Subscirbed to topic with id " + TopicId);
}).catch(err => console.error(err));
Last updated
Was this helpful?