/token-vend

Vue.js application for accepting SLP Token payments, using the BitBox API, and notifying the iozeta CryptoVend for vending machines.

Primary LanguageVueMIT LicenseMIT

token-vend

Vue.js application for accepting SLP Token payments using the Bitsocket & SLPDB API then notifies the iozeta CryptoVend of the specified token payments for use in vending machines.

Demonstration using SPICE Token

SPICE Token Demo

Project Discussion & Demo w/CryptoCandy Token

TokenVend Project Discussion & Demo

Running and Installation

This project is a Vue.js application, running on top of Node JS and NPM. After installing Node and NPM locally, the following steps will setup and configure the application.

git clone https://github.com/SLPVH/token-vend.git

cd token-vend

npm install

Edit the .env.local file. This file contains your SLP token settings and iozeta CryptoVend settings.

vim .env.local

Add the following lines, setting the config values to your own.

VUE_APP_IOZETA_VEND_IP=[CRYPTOVEND LOCAL IP]
VUE_APP_IOZETA_VEND_USER=[CRYPTOVEND USER]
VUE_APP_IOZETA_VEND_PASS=[CRYPTOVEND PASS]
VUE_APP_SLP_SYMBOL=[SLP TOKEN SYMBOL]
VUE_APP_BCH_ADDRESS=[BITCOIN CASH PAYMENT ADDRESS]
VUE_APP_SLP_ADDRESS=[SLP PAYMENT ADDRESS]

The following command can be used to build the project into a web application. See https://vuejs.org/ for detailed documentation on running Vue JS applications.

vue-cli-service build