├── .gitignore ├── .jshintignore ├── .jshintrc ├── .tm_properties ├── .travis.yml ├── COPYING ├── Dockerfile ├── Procfile ├── Procfile-dev ├── README.md ├── circle.yml ├── config.js ├── db ├── ddoc-ticker.js ├── ddoc.js ├── index.js └── setup.js ├── deploy ├── deploy.conf ├── jobs ├── lastblockjob.js ├── tickerjob.js ├── watchpaymentjob.js └── webhooksjob.js ├── lib ├── bcrpc.js ├── bitcoinrpc.js ├── helper.js ├── invoices.js ├── payments.js ├── sanitycheck.js ├── validate.js └── webhooks.js ├── log.js ├── package.json ├── public ├── css │ ├── bootstrap-theme.css │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css │ └── styles.css ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── images │ ├── expired.png │ ├── info.png │ ├── refresh.png │ ├── subtlenet2.png │ └── void.png └── js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── reloadinvoice.js │ └── reloadpayment.js ├── routes ├── api │ ├── index.js │ ├── invoices.js │ └── pay.js ├── index.js ├── invoices.js ├── notify.js ├── pay.js ├── paymentqr.js ├── redirect.js └── utils │ ├── invoices.js │ └── pay.js ├── server.js ├── start.sh ├── tests ├── .keep ├── barontester │ ├── barontester.conf.example │ ├── barontester.sh │ ├── postwatcher.js │ └── testinvoices │ │ ├── metadataid.json │ │ ├── multi-1st.json │ │ ├── multi-2nd.json │ │ ├── simple.json │ │ └── simple100.json ├── helpertests.js └── invoicehelpertests.js └── views ├── error.ejs ├── invoice.ejs └── pay.ejs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | public 3 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true 3 | } 4 | -------------------------------------------------------------------------------- /.tm_properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/.tm_properties -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/.travis.yml -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/Dockerfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: node server.js | ./node_modules/.bin/bunyan -o short 2 | -------------------------------------------------------------------------------- /Procfile-dev: -------------------------------------------------------------------------------- 1 | web: nodemon server.js | ./node_modules/.bin/bunyan -o short 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/README.md -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/circle.yml -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/config.js -------------------------------------------------------------------------------- /db/ddoc-ticker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/db/ddoc-ticker.js -------------------------------------------------------------------------------- /db/ddoc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/db/ddoc.js -------------------------------------------------------------------------------- /db/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/db/index.js -------------------------------------------------------------------------------- /db/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/db/setup.js -------------------------------------------------------------------------------- /deploy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/deploy -------------------------------------------------------------------------------- /deploy.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/deploy.conf -------------------------------------------------------------------------------- /jobs/lastblockjob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/jobs/lastblockjob.js -------------------------------------------------------------------------------- /jobs/tickerjob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/jobs/tickerjob.js -------------------------------------------------------------------------------- /jobs/watchpaymentjob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/jobs/watchpaymentjob.js -------------------------------------------------------------------------------- /jobs/webhooksjob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/jobs/webhooksjob.js -------------------------------------------------------------------------------- /lib/bcrpc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/bcrpc.js -------------------------------------------------------------------------------- /lib/bitcoinrpc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/bitcoinrpc.js -------------------------------------------------------------------------------- /lib/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/helper.js -------------------------------------------------------------------------------- /lib/invoices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/invoices.js -------------------------------------------------------------------------------- /lib/payments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/payments.js -------------------------------------------------------------------------------- /lib/sanitycheck.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/sanitycheck.js -------------------------------------------------------------------------------- /lib/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/validate.js -------------------------------------------------------------------------------- /lib/webhooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/lib/webhooks.js -------------------------------------------------------------------------------- /log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/log.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/package.json -------------------------------------------------------------------------------- /public/css/bootstrap-theme.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/bootstrap-theme.css -------------------------------------------------------------------------------- /public/css/bootstrap-theme.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/bootstrap-theme.css.map -------------------------------------------------------------------------------- /public/css/bootstrap-theme.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/bootstrap-theme.min.css -------------------------------------------------------------------------------- /public/css/bootstrap.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/bootstrap.css -------------------------------------------------------------------------------- /public/css/bootstrap.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/bootstrap.css.map -------------------------------------------------------------------------------- /public/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/bootstrap.min.css -------------------------------------------------------------------------------- /public/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/css/styles.css -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/fonts/glyphicons-halflings-regular.svg -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /public/images/expired.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/images/expired.png -------------------------------------------------------------------------------- /public/images/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/images/info.png -------------------------------------------------------------------------------- /public/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/images/refresh.png -------------------------------------------------------------------------------- /public/images/subtlenet2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/images/subtlenet2.png -------------------------------------------------------------------------------- /public/images/void.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/images/void.png -------------------------------------------------------------------------------- /public/js/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/js/bootstrap.js -------------------------------------------------------------------------------- /public/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/js/bootstrap.min.js -------------------------------------------------------------------------------- /public/js/reloadinvoice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/js/reloadinvoice.js -------------------------------------------------------------------------------- /public/js/reloadpayment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/public/js/reloadpayment.js -------------------------------------------------------------------------------- /routes/api/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/api/index.js -------------------------------------------------------------------------------- /routes/api/invoices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/api/invoices.js -------------------------------------------------------------------------------- /routes/api/pay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/api/pay.js -------------------------------------------------------------------------------- /routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/index.js -------------------------------------------------------------------------------- /routes/invoices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/invoices.js -------------------------------------------------------------------------------- /routes/notify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/notify.js -------------------------------------------------------------------------------- /routes/pay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/pay.js -------------------------------------------------------------------------------- /routes/paymentqr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/paymentqr.js -------------------------------------------------------------------------------- /routes/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/redirect.js -------------------------------------------------------------------------------- /routes/utils/invoices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/utils/invoices.js -------------------------------------------------------------------------------- /routes/utils/pay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/routes/utils/pay.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/server.js -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/start.sh -------------------------------------------------------------------------------- /tests/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/barontester/barontester.conf.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/barontester.conf.example -------------------------------------------------------------------------------- /tests/barontester/barontester.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/barontester.sh -------------------------------------------------------------------------------- /tests/barontester/postwatcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/postwatcher.js -------------------------------------------------------------------------------- /tests/barontester/testinvoices/metadataid.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/testinvoices/metadataid.json -------------------------------------------------------------------------------- /tests/barontester/testinvoices/multi-1st.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/testinvoices/multi-1st.json -------------------------------------------------------------------------------- /tests/barontester/testinvoices/multi-2nd.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/testinvoices/multi-2nd.json -------------------------------------------------------------------------------- /tests/barontester/testinvoices/simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/testinvoices/simple.json -------------------------------------------------------------------------------- /tests/barontester/testinvoices/simple100.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/barontester/testinvoices/simple100.json -------------------------------------------------------------------------------- /tests/helpertests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/helpertests.js -------------------------------------------------------------------------------- /tests/invoicehelpertests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/tests/invoicehelpertests.js -------------------------------------------------------------------------------- /views/error.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/views/error.ejs -------------------------------------------------------------------------------- /views/invoice.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/views/invoice.ejs -------------------------------------------------------------------------------- /views/pay.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baronpay/baron/HEAD/views/pay.ejs --------------------------------------------------------------------------------