GithubHelp home page GithubHelp logo

seresistvanandras / mixeth Goto Github PK

View Code? Open in Web Editor NEW
54.0 8.0 6.0 16.78 MB

MixEth: efficient, trustless coin mixing service for Ethereum

License: GNU General Public License v3.0

TeX 85.06% JavaScript 6.59% MATLAB 1.77% Solidity 6.58%
ethereum privacy-enhancing-technologies blockchain coinshuffle cryptocurrency privacy-preserving state-channels state-channel counterfactual

mixeth's People

Contributors

seresistvanandras avatar yahgwai avatar

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

mixeth's Issues

[proposal] Don't require users to be always online

Decred's PoS Voting Service Provider (VSP) voting uses a mechanism that lets users vote even if their node if offline. The way it works is there are multiple addresses attached to each ticket:

  • the commitment address (after revocation/voting the funds go here)
  • the voting address (controls on-chain voting)
  • the change address
    When voting via VSP (as opposed to solo-voting, ie. running an always-online node), there's a 1-of-2 multisig used for the voting address, so either the user or the VSP can vote on the given ticket.

See the IsSStx function in dcrd for more details and the PoS docs for a description on how tickets work. There's also a good informal review on IsSStx by Matheus Degiovani here.

What if a similar mechanism could be used in MixEth so that users don't need to be always online without giving anyone access to their funds?

[Help with Implementation] Error when executing TestMixEth.js

Hello!

I have done the following so far:

  1. ganache-cli --deterministic
  2. truffle migrate
    This step executes without error, and the first account generated by ganache (in this case, 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1) is charged for the contract creation transactions.
  3. truffle test/TestMixEth.js
    The first couple of tests pass without error i.e. Chaum Pedersen Proof Verification, Generalized ECDSA Signature Verification, Contract: ECLibraryTest
    But then I get this:

Screenshot 2019-10-28 at 11 41 44 PM

and this..

Screenshot 2019-10-28 at 11 42 13 PM

While trying to debug the "Invalid address error" I tried editing values within TestMixEth.js for:
  1. pubKeyX and pubKeyY (the original values present in the file are pubKeyX = '0x1ec64fdd678f8528c981fbdd742e8c79fa91c6f7bfdfbebf2f99f74df6f09589'; pubKeyY = '0x118caf99d37bd0f75cd9efa455261f8806c14bae4ddee43690aff3bc1b6eef48')

  2. "Value" parameter passed to depositEther

  3. The parameter passed to ContractInstance.Shuffles

but these led to a dead end. Could you please help me figure out what I'm doing wrong?

Thanks a bunch! Very cool project btw :)

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.