ErgoMixer, ZeroJoin Mixer for ERG and Tokens

Starting from v3, we have an admin version of ErgoMixer which refills token and fee emission boxes automatically using mixer’s income.
Also, in the admin panel which me, @anon2020s, have access to, we can add/remove support for new tokens, add rings, change fee/byte, etc. All running mixers will adapt to new parameters within a few minutes.

How client are getting the parameters?

parameters are stored on blockchain (not data input though), clients scan the blockchain for new parameters every few minutes.

So for example this address:
https://api.ergoplatform.com/api/v0/transactions/boxes/byAddress/unspent/9hUjrNWLTXBU4qkGSA6ssCG8Fe7WpPKT5HW4E5zUr3YJ1HSo1rB

Is where clients scan to see what tokens/rings are supported.
Each box is showing a support for a specific token. Also boxes have the special mixer’s token so no one else can create one.
So adding support for a new token is as simple as creating such box specifying token id, rings, decimal, etc.

Dynamic fee factor is also stored in the above boxes. This factor is currently 1000 meaning mixer will pay 1000 nano ergs per byte of the transaction.

Information about mixing levels (currently 30, 60, 90, 180) and their respective prices are stored in token emission boxes in this address:

https://api.ergoplatform.com/api/v0/transactions/boxes/byAddress/unspent/2mBWMdKsUAa73zuGrwJTW9SPWrTCNq6Cee8gGhorrwdsyHRiBnPUujMhYTiBdRQmhhyGZdYsjjpoM4vVPtwyGzzUWKAxgucqwMQYqFX9RuT4uiHAPon2Bw4QrUXWsi6LtFrPsSyrubBpv6NuQ2Emh87zusUrb3PBxzFez9xqmL5ycMpbzXYFEr7kxiqDHyyweEmqkPfrntKS3G3ssonduZSwRKonLXtEJBEa4DiHgfgd43Uz5phAS8ng2BjWGjQKpTvpDvw536LuEdz3JNhuYn3tANCo5JGd1kKNYx1dm9zMcW8XQEiZCtGaFd4REQAa4xdL8RWHvLhjPnDNe8H2MePXZqQGVsuE4y67MTKvzQGe4SbWMJJ5zAkom4ehyc4gZA9zEZvamEF2vEu8LRumHbCNRmDVBMzqm8UnwauU9mFPXN4VAcMjXUdhJoyn8UrDQvBZL2izDXpsQxccpot7J5n5eQ2dnGjCwTkLJMNc7paaDWtExbdpF3iYhpstGzctD6PuCKZx8JrbwJxKLUVkGLDnvXruYn4HwNq1izyr64E7vVomuykGZWiLN8zTo3NiPc28nzr48w54wRvQ63EKtSZzsNYUXeqQ4Vh4nKHMV5BpfwPUPbdRiiZ5P5avMK9NWjpLfDrbMLP18WPNK8RVL3837Xw23WUXo4ZL6vNFYBW6QDsqCtWvQiWP7xwnQig4tJaS9WwbVpbbpBNkJHG8xzNBUNUbXHPCqMh2LGQTQvoEkzmZwNNRUgt7hu6SvfiXe6i5LFA5WsWWqY9ndLm72wdYZvo8eYA2PZdsxja2AcFdCmqVesrgMAh9Vb6bhQUZK1haXdkyJfdEkN5doFHBYFnvJimi8SzENbE2JUwTyAYaTr9TP57aSTHCU2kx2izBEsWhuM3NcxCqAJFAwACQ3QAw7QFErfLLXHHC3nvGXnDhMn9JhzmFDFV34

Also, max fee parameter specifying maximum amount of fee deductible from fee emission boxes are stored in each of the fee emission boxes here:

https://api.ergoplatform.com/api/v0/transactions/boxes/byAddress/unspent/4B8vRwhxhAJb8TuN4RZpBeLmAkQUtf7a4QaYqqSCZAQHjyhzgVLGiFTPp9CaZRbssRnVHAzqUKtBBCWjfMSxpi1Z59H7sj1E8o6XFqYCRYFp1n2aC6tYptFLrrX3c1jXBhcsS7NNU5NLHSuCNC6bDf9KYhxfgQTtYkozrGk2qzB3aB8mmaC8ZHaAfzvQmSzcxGwtTyquk4yfeR9tsvrvhGPeyv6Ys74Q3VqQoVkuSMq21gRY5wgBz4gq6tTBY1Xv4BkHoFQm2wx8TWQc8Rof81DCePanX598Z9ZJzaDLnT5TDjQpECKPXvuuxLivbbFjtc4FZ65xTSHGk2uHsohRAMrMiug5aVa7UXwoRRLomvCrg8MbyowkuiQXcZWu8ue3QBTLuL5yy6yqxs2SYDPiFHqJhU3ag94Tb5Q2bPaJcAgomJehtn9BB5L9GoLe6Mx9Jti6F1WXgrGcuHeBQnXpiS8pRMN845AxseExzyvksmj4gyXEJqgookbneHtPuDW3QefeWH4LH13AvmXhm8QFTYdAFRuhXMBwJJbXL1yBcLE4nexa7d2AY7Hndr7gfecxRY4UnypdpLnpTTec5vEppaDrEx6KQ4gdeiDyJLmJCGHeB

Any of these parameters can be changed transparently without needing to release a new version for the ErgoMixer.

5 Likes