drand / drandjs Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pizzawhisperer/drandjs
Javascript library which enables the use of drand's randomness in JavaScript-based applications
License: MIT License
This project forked from pizzawhisperer/drandjs
Javascript library which enables the use of drand's randomness in JavaScript-based applications
License: MIT License
Commit 7da37d0 removed the example
/ test server but the section https://github.com/drand/drandjs#test-server in the README still mentions it.
Ideally, each circleci build should grab drand's master version of what the REST JSON output looks like for verifying public randomness. Right now it is a manual process, copy and pasted into tests/helpers.js
CORRECTION: The node version I was using was 9.6.1, because I was using a docker image that had already been pulled a good while ago ๐. I overlooked this and thought I was using the latest version (13).
It may be useful to add an "easy-to-see" note in the README that emphasizes that node 12 is required. Although one can see that the CircleCI config does use a node 12 image, a notice on the README would be helpful. With node 13 the following error occurs (the root of the problem is in noble-bls12-381
):
/usr/src/node_modules/@nikkolasg/noble-bls12-381/lib/index.js:19
exports.G1 = new point_1.Point(new fp_1.Fp(3685416753713387016781088315183077757961620795782546409894578378688607592378376318836054947676345821548104185464507n), new fp_1.Fp(13395065449
44476473020471379941921221584933875938349620426543736416511423956333506472724655353366534992391756441569n), new fp_1.Fp(1n), fp_1.Fp);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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.