Code Monkey home page Code Monkey logo

sawtooth-sdk-javascript's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sawtooth-sdk-javascript's Issues

npm install fails on node v14

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

How to use the SDK in a React Native project?

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?

Update of the SDK package on NPM

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

Failed to minify

screenshot from 2018-07-30 15-25-01

I think that this happend because you use ES6, such as classes, etc.
Maybe need provide babel transpile into your library

Improve Logging in Javascript SDK

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))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.