This plugin enables Lamassu machines to obtain bitcoin pricing information from Coinfloor and to execute trades on Coinfloor. It implements the ticker
and trader
plugin interfaces of the Lamassu Rakía platform.
Run these four commands:
cd /usr/local/lib/node_modules/lamassu-server
npm install lamassu-coinfloor
cd /usr/local/lib/node_modules/lamassu-admin
npm install lamassu-coinfloor
Run:
node /usr/local/lib/node_modules/lamassu-server/node_modules/lamassu-coinfloor/setup
Enter the user ID, cookie, and passphrase, hitting Enter after each. The field for passphrase will remain blank when pasting the value.
When complete, you'll see 'Success' and the machine will begin to use Coinfloor as ticker and trader.
Variable | Description |
---|---|
url |
Optional. If set, overrides the default URL to Coinfloor's WebSocket API. |
user_id |
Required for trading. The numeric identifier of a Coinfloor user. |
cookie |
Required for trading. The authentication cookie for the specified user. |
passphrase |
Required for trading. The passphrase of the specified user. |