Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
NodeJS client library for Stampery API, the blockchain-powered, industrial-scale certification platform.
Seamlessly integrate industrial-scale data certification into your own NodeJS apps. The Stampery API adds a layer of transparency, attribution, accountability and auditability to your applications by connecting them to Stampery's infinitely scalable Blockchain Timestamping Architecture.
Install stampery
into your project and add it as a dependency in your package.json
:
npm install --save stampery
Go to the API dashboard, sign up and create a token for your application. It will resemble this:
2f6215c7-ad87-4d6e-bf9e-e9f07aa35f1a
Stampery = require('stampery');
// Sign up and get your secret token at https://api-dashboard.stampery.com
stampery = new Stampery('yourSecretToken')
stampery.on('proof', function(hash, proof) {
console.log("Received proof for " + hash, proof);
stampery.prove(hash, proof, function (valid) {
console.log('Proof validity:', valid);
});
});
stampery.on('ready', function() {
stampery.receiveMissedProofs();
stampery.hash('The piano has been drinking', function(hash) {
stampery.stamp(hash);
});
});
Here is the same example, just using our beloved IcedCoffeeScript:
Stampery = require 'stampery'
# Sign up and get your secret token at https://api-dashboard.stampery.com
stampery = new Stampery 'yourSecretToken'
stampery.on 'proof', (hash, proof) ->
console.log "Received proof for #{hash}", proof
await stampery.prove hash, proof, defer valid
console.log 'Proof validity:', valid
stampery.on 'ready', ->
stampery.receiveMissedProofs()
await stampery.hash 'The piano has been drinking', defer hash
stampery.stamp hash
b04e57f62f8c9d1235361dbc116eb314e6383ba9
Code released under the MIT license.
Copyright 2015-2016 Stampery, Inc.
FAQs
Stampery API for NodeJS: seamlessly integrate the blockchain-powered, industrial-scale certification platform into your NodeJS apps.
The npm package stampery receives a total of 13 weekly downloads. As such, stampery popularity was classified as not popular.
We found that stampery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.