Skip to content

DingoMacaroni/zokrates.js

 
 

Repository files navigation

zokrates-api

This is a Node.js wrapper around ZoKrates.

Instructions

This library is meant to be used through Docker containers running a Linux OS. In the Dockerfile that will be running this library, you need to include the ZoKrates library as a builder, as such:

  FROM zokrates/zokrates:0.4.11 as builder

In the same Dockerfile, you then need to copy over the ZoKrates executable as well.

  COPY --from=builder /home/zokrates/zokrates /app/zokrates
  COPY --from=builder /home/zokrates/.zokrates* /app/stdlib

From then, you can import and use ZoKrates as any other standard Node library.

About

This is a Node.js wrapper around ZoKrates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 52.5%
  • JavaScript 43.0%
  • Dockerfile 3.7%
  • Makefile 0.8%