GithubHelp home page GithubHelp logo

circle-free / merkle-trees Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 4.0 847 KB

A (hopefully) robust Merkle Tree library, with JS and Ethereum smart contract counterparts, capable of proving tree size, single or multiple element indices, updating a single or several elements, appending a single or a several elements, and any combination or permutation of the above, at the same time.

Home Page: https://www.npmjs.com/package/merkle-trees

License: MIT License

JavaScript 42.65% Solidity 57.35%
ethereum merkle-trees

merkle-trees's People

Contributors

deluca-mike avatar fish-sammy avatar richardpringle avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

merkle-trees's Issues

Hey Michael :)

I hope you're doing well.

Let me know if you're still alive.
I might be able to make the introductions that would allow you to take this off the ground.
Hmu if you're interested @deluca-mike

Syntax error on lib import

Tried quickly playing with it but on the repl, it spits out errors:

> const { MerkleTree } = require('merkle-trees/js');
/Users/mo/Desktop/my-forks/npm-package-test/node_modules/merkle-trees/js/src/merkle-trees.js:128
      return { root: merkleTree.root, elementCount: appendElements?.length ?? 1 };
                                                                   ^

SyntaxError: Unexpected token .

$ node -v
v10.15.0

$ npm -v
6.14.5

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.