s-tikhomirov / kyce Goto Github PK
View Code? Open in Web Editor NEWPrivacy-preserving Ethereum token exchange with KYC
Privacy-preserving Ethereum token exchange with KYC
Following the build instrutions, after npm run build
:
ERROR in ./app/exchange.js
Module not found: Error: Can't resolve '../contracts/bin/exchange.js' in '/home/sergei/Documents/code/kyce/app'
@ ./app/exchange.js 17:24-63
@ ./app/vm.js
@ ./app/index.js
@ multi babel-polyfill ./app/index.js
ERROR in ./app/contract.js
Module not found: Error: Can't resolve '../contracts/bin/dbgtoken.js' in '/home/sergei/Documents/code/kyce/app'
@ ./app/contract.js 17:24-63
@ ./app/vm.js
@ ./app/index.js
@ multi babel-polyfill ./app/index.js
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `webpack --progress --colors`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/sergei/.npm/_logs/2018-03-08T14_24_13_782Z-debug.log
Ethereum has precompiled contracts for elliptic curve addition and scalar multiplication on alt_bn128 and pairing checks EIP-213.
Our paper says: "We suggest an accumulator based on bilinear maps due to Camenisch et al.
A question on implementation of some other crypto in Ethereum (the author tries to implement some fancy crypto with given primitives, turns out it is possible, at least the answer says so).
The question is, can we implement our accumulator using Ethereum crypto primitives?
See also: Vitalik on pairings on elliptic curves
Moved to issue 1 at kyce2.
W.r.t. best practices and stuff. Use Zeppelin? Basically, a simple token that consults an external contract (KYCContract
) to approve or reject the transfer.
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.