/lamassu-machine

Software that controls the Lamassu Bitcoin machine

Primary LanguageJavaScriptThe UnlicenseUnlicense

lamassu-machine

The software that runs the Lamassu Bitcoin Machine.

Mac OS X environment setup

> curl -L https://git.io/n-install | bash -s -- -y lts
> . ~/.bash_profile
> npm install yarn -g

Installing

> git clone -b https --single-branch https://github.com/lamassu/lamassu-machine.git
> cd lamassu-machine
> ./setup.sh

Running

In a separate window start a fake bill validator, and use the outputted ttys number on the next command, like /dev/ttys008.

> ruby fake_id003.rb

run lamassu-machine

> node bin/lamassu-machine --mockTrader --mockCam --mockBillDispenser \
--mockBTC 1KAkLnhU1BpvgjQUgLk1HF4PEgh4asFNS8 --mockBv /dev/ttys008

Replace --mockBTC with one of your BTC addresses, and --mockBv with the value you got above.

Now, in a new terminal:

> open ui/start.html

and you should get this:

Start screen

When the screen asks you to insert a bill, navigate to the terminal where you opened the mock bill validator, and input 1Enter to insert a one dollar bill.