Skip to content

Instantly share code, notes, and snippets.

@adrianhopebailie
Last active November 21, 2016 11:32
Show Gist options
  • Save adrianhopebailie/61ae9344f5836cd001de828e2211caee to your computer and use it in GitHub Desktop.
Save adrianhopebailie/61ae9344f5836cd001de828e2211caee to your computer and use it in GitHub Desktop.
Sample ilp-kit config
API_DB_URI=postgres://<user>:<password>@localhost/ilpkit
API_GITHUB_CLIENT_ID=<github client id>
API_GITHUB_CLIENT_SECRET=<github client secret>
API_HOSTNAME=<domain name of ilp-kit instance>
API_MAILGUN_API_KEY=<mailgun api key>
API_MAILGUN_DOMAIN=<mailgun domain>
API_PORT=3100
API_PRIVATE_HOSTNAME=localhost
API_PUBLIC_HTTPS=1
API_PUBLIC_PATH=/api
API_PUBLIC_PORT=443
API_SECRET=<api secret>
BLUEBIRD_WARNINGS=0
CLIENT_HOST=<domain name of ilp-kit instance>
CLIENT_PORT=3010
CLIENT_PUBLIC_PORT=443
CLIENT_TITLE=<public name of ilp-kit instance>
LEDGER_ADMIN_USER=<admin username>
LEDGER_ADMIN_PASS=<admin password>
LEDGER_CURRENCY_CODE=ZAR
LEDGER_CURRENCY_SYMBOL=R
LEDGER_ILP_PREFIX=<ledger prefix e.g.: za.zar.hopebailie.>
LEDGER_RECOMMENDED_CONNECTORS=<accounts on ledger running connectors>
CONNECTOR_ENABLE=true
CONNECTOR_LEDGERS={"us.usd.nexus.":{"plugin":"ilp-plugin-bells","currency":"USD","options":{"identifier":"adrian@nexus.justmoon.com","password":"REMOVED"}},"lu.eur.pineapplesheep.":{"plugin":"ilp-plugin-bells","currency":"EUR","options":{"identifier":"adrian@pineapplesheep.ilp.rocks","password":"REMOVED"}},"za.zar.hopebailie.":{"currency":"ZAR","plugin":"ilp-plugin-bells","options":{"account":"https://zar-ilp.hopebailie.com/ledger/accounts/adrian","password":"REMOVED"}}}
CONNECTOR_LOG_LEVEL=info
CONNECTOR_MAX_HOLD_TIME=100
CONNECTOR_PEERS=us.usd.nexus.stefan,lu.eur.pineapplesheep.pineapplesheep,us.usd.cornelius.sharafian
CONNECTOR_PORT=4000
## This shows the connector ledgers expanded
## DELETE BEFORE USING
{
"us.usd.nexus.": {
"plugin": "ilp-plugin-bells",
"currency": "USD",
"options": {
"identifier": "adrian@nexus.justmoon.com",
"password": "REMOVED"
}
},
"lu.eur.pineapplesheep.": {
"plugin": "ilp-plugin-bells",
"currency": "EUR",
"options": {
"identifier": "adrian@pineapplesheep.ilp.rocks",
"password": "REMOVED"
}
},
"za.zar.hopebailie.": {
"currency": "ZAR",
"plugin": "ilp-plugin-bells",
"options": {
"account": "https://zar-ilp.hopebailie.com/ledger/accounts/adrian",
"password": "REMOVED"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment