Skip to content

sharafian/twilius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twilius

Codius image for a twilio sender

On second thought, it might be hard to make this a codius image because it needs some secrets.

To set up the server:

$ export TWILIO_ACCOUNT="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
$ export TWILIO_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
$ export TWILIO_NUMBER="+1555XXXXXXX"

$ export ILP_PLUGIN='ilp-plugin-xrp-escrow'
$ export ILP_CREDENTIALS='{"server":"wss://s.altnet.rippletest.net:51233","secret":"..."}'

$ PORT=7000 node index.js

To use the server (with ilp-curl):

$ ilp-curl localhost:7000 --json -F to='+15551234567' -F text='hello'

About

codius image for twilio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published