As a proof of concept this version currently can transfer PicoMoney DevCredits. Please sign up and click the button to issue yourself some devcredits.
SMS service is done using Twilio. Feel free to fork and customize it to use another service.
You need your credentials from Twilio and from your chosen OpenTransact provider.
For local development I recommend Pow which allows you to place the following in a .powenv file.
# OAuth credentials for OpenTransact provider eg https://picomoney.com/apps export OPENTRANSACT_KEY="..." export OPENTRANSACT_SECRET="..." # OpenTransact url for asset you wish to use export OPENTRANSACT_URL="http://picomoney.dev/devcredits" # Display name of Asset export OPENTRANSACT_NAME="DevCredits" # Register at http://twilio.com for these export TWILIO_KEY="..." export TWILIO_SECRET="..." export TWILIO_NUMBER="..." # Optional AdSense account id export ADSENSE="..."
On Heroku use:
heroku config:add OPENTRANSACT_KEY:... OPENTRANSACT_SECRET:... etc.
- I want to modularize most of the business logic into a Phone class.
- An installation should be able to support more than one OpenTransact asset at a time.