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.
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
You need to have testrpc
running (see below).
truffle test
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