/eth-mixer

Moved to GitLab

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

eth-mixer

Just a simple mixer for ether to learn about smart contracting. Users can deposit ether into the contract using deposit(), and withdraw the funds to a different address using withdraw().

As of right now, this contract is mostly pointless because all these transactions are recorded on the blockchain. Thus, this mixer doesn't actually anonymize its users.

Installation

If you don't already have truffle installed:

sudo npm i -g truffle

Clone the repo

git clone https://github.com/keith24/eth-mixer.git
cd eth-mixer.git

Running Tests

You need to have testrpc running (see below).

truffle test

Usage

You may want to experiment with testrpc since this is alpha software.

sudo npm i -g ethereumjs-testrpc &&\
testrpc

Once you're ready to deploy:

truffle compile
truffle migration