Skip to content

bitswipe-stack/lamassu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lamassu ATM Process Improvement Documentation


Background

BitSwipe has been contracted to assist a client with their conversion of fiat currency to Bitcoin. This client receives fiat currency from their deployed Lamassu ATMs and needs to convert this currency to Bitcoin in order to pay their ATM customers. In the process, the client receives a percent of each transaction in the form of revenue.

Current process

  1. The client receives fiat currency from the Lamassu ATM and deposits the currency into their bank account.
  2. The client then wires this currency over to a BitSwipe bank account.
  3. BitSwipe wires these funds to the Kraken exchange.
  4. BitSwipe exhanges these funds for Bitcoin.
  5. BitSwipe sends Bitcoin to the client’s wallet.
  6. The client uses the new Bitcoin to pay customer when they deposit fiat currency into the Lamassu ATM.

Proposed process

  1. The client receives fiat currency from the Lamassu ATM.
  2. The Lamassu server initiates an exchange of fiat currency to Bitcoin on the client’s behalf.
  3. The Lamassu server sends the Bitcoin to the customer’s wallet
  4. The client deposits fiat currency received from the ATM to their bank account and then wires these funds to their Kraken account.

Technical background

The Lamassu ATM runs on open source technology. The front-end ATM interface runs on javascript and Ruby and the back-end server runs on Javascript. There are various plugins for wallets (BitGo, Bitcoind, Coinapult, Blockchain.info, GreenAddress) and exchanges (Kraken, Bitstamp, Coinbase, Coinapult, Coinfloor, itBit).


Implementation Requirements for Kraken API

Signup

Create an API key

Under settings, and API, create a new key:

https://www.kraken.com/u/settings/api

Assign it the following permissions:

Copy down the API Key and Private Key shown.

Configuring in your admin

Open the 'Third Party Services / Kraken' panel in your Lamassu admin. Input the API Key and Private Key credentials, clicking Submit:

Then navigate to the 'Global Settings / Wallet Settings' panel. Select Kraken from the Exchange and Ticker drop-down list under the tab for each currency that you'd like to enable trading for:

Testing

Test trades by placing purchases at the machine and ensure fiat is converted into the relevant cryptocurrency in your Kraken balances.

Documentation Articles


TODO

  • Research implementation for cloud infrastructure
  • Kubernetes or Docker
  • Simplify setup process
  • Security and penetration testing
  • Automate server configuration
  • Documentation updates and fix broken links
  • Process improvement for user experience
  • Engineering team call