hyperledger-archives / sawtooth-sdk-javascript Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://wiki.hyperledger.org/display/sawtooth
License: Apache License 2.0
Home Page: https://wiki.hyperledger.org/display/sawtooth
License: Apache License 2.0
npm install
fails on current LTS version of node due to build failure of zeromq
dependency. Zeromq has fixed the issue on their side, so updating the dependency version in this repo should fix the issue.
relevant zeromq issue:
zeromq/zeromq.js#430
Hi, I am trying to build a wallet based on the Sawtooth. We tried to put the SDK in our react native project but it complains about the crypto library and others since they depend on the node.js which is not included in the app build in react native. Could you please point a way on how to use the SDK in react native project?
Would it be possible to update the package of the sawtooth-sdk on the NPM registery? I have been using the sdk with an old version of node and wanted to update, I have been struggling with the zeromq install but seeing that this had been updated on the git it would be great to have it on NPM too since there hasn't been an update there for 3 years
Currently, the Javascript SDK logs any errors, warnings, info and debug messages to console.log. This doesn't give the application developer any control over logging.
We should provide a way to emit these as events, and the application developer can listen for and pass on the events to whatever logging implementation the want.
E.g. An application developer can get internal messages via:
transactionProcessor.on('log:error', (message) => console.log('ERROR: ' + message))
transactionProcessor.on('log:info', (message) => console.log('INFO: ' + message))
// Uncomment for debug logging
// transactionProcessor.on('log:debug', (message) => console.log('DEBUG: ' + message))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.