Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 678 Bytes

USECASES.md

File metadata and controls

28 lines (16 loc) · 678 Bytes

WalletApp: App that uses antidote

walletapp

This app provides services to credit and debit money, and buy and spend vouchers. Inorder to use this application

  1. Start a antidote node at "[email protected]"
  2. Start erlang shell: erl -name NODE@HOST -cookie COOKIE
  3. Call methods in walletapp: credit, debit, getbalance, buyvoucher, usevoucher, getvouchers

or

Use script runclient.sh

walletclient

A test for walletapp, which could be initiated by walletclient:run/2.

runclient.sh

This script startup a single node antidote cluster and runs the walletclient