miximus icon indicating copy to clipboard operation
miximus copied to clipboard

Abstract ether to arbiatry erc20 token.

Open barryWhiteHat opened this issue 6 years ago • 4 comments

This will allow use with any token. To do this we need to replace

    mapping (bytes32 => bool) roots;
    mapping (bytes32 => bool) nullifiers;

with

    mapping (address => bytes32 => bool) roots;
    mapping (address => bytes32 => bool) nullifiers;

where address is the token address being mixed.

barryWhiteHat avatar May 02 '18 12:05 barryWhiteHat

https://github.com/barryWhiteHat/miximus/pull/13 ?

Where the 'zero address' could be Ether.

Alternatively you could split the logic into a common backend contract, which can be reused by multiple frontend contracts supporting different token types (e.g. ERC-721, ERC-20)

HarryR avatar Jul 09 '18 12:07 HarryR

@davidp94 can you give an update re #13

Yeah so that is the current plan. But that PR is for the old version based upon javascipt. This PR needs to be updated to work with python and add tests, update the example scripts.

barryWhiteHat avatar Jul 10 '18 02:07 barryWhiteHat

I need to rewrite it accordingly to the new version - I will try to update within the following days

we could definitely develop a UI that would let anyone use miximus with any erc20 compatible tokens. any designer here?

On Tue 10 Jul 2018 at 03:21 barryWhiteHat [email protected] wrote:

@davidp94 https://github.com/davidp94 can you give an update re #13 https://github.com/barryWhiteHat/miximus/pull/13

Yeah so that is the current plan. But that PR is for the old version based upon javascipt. This PR needs to be updated to work with python and add tests, update the example scripts.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/barryWhiteHat/miximus/issues/7#issuecomment-403678395, or mute the thread https://github.com/notifications/unsubscribe-auth/AYtbNTvc7XoBM61qD2bRhHu1zp75nqXfks5uFA_FgaJpZM4TvX3_ .

davidp94 avatar Jul 10 '18 05:07 davidp94

Ah cool that sounds gr8 :)

@nvonpentz was interested in UI. @nvonpentz are you still interested? We should make an issue for this and do a call on gitter. Once we have tokens and an idea about transaction abstraction we should be ready for a UI. But would also like to get a better idea about https://github.com/barryWhiteHat/miximus/issues/23

barryWhiteHat avatar Jul 11 '18 15:07 barryWhiteHat