The software that runs the Lamassu Bitcoin Machine.
> curl -L https://git.io/n-install | bash -s -- -y lts
> . ~/.bash_profile
> npm install yarn -g
> git clone -b https --single-branch https://github.com/lamassu/lamassu-machine.git
> cd lamassu-machine
> ./setup.sh
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
> 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:
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.