diff options
| author | Adam Soltys <[email protected]> | 2020-06-23 14:39:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-06-23 14:39:41 -0700 |
| commit | d6af21064d106e6179d76e0dddee049c5e7c0fc5 (patch) | |
| tree | d6cf57a7659a6e60ad80992c8f93dcc59c11c770 /config/samples/index.sample.js | |
| parent | 3c46dc86b753cdfd71da7b8bb86710032668b5eb (diff) | |
| download | coinos-server-d6af21064d106e6179d76e0dddee049c5e7c0fc5.tar.gz coinos-server-d6af21064d106e6179d76e0dddee049c5e7c0fc5.zip | |
lnurl auth
Diffstat (limited to 'config/samples/index.sample.js')
| -rw-r--r-- | config/samples/index.sample.js | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/config/samples/index.sample.js b/config/samples/index.sample.js new file mode 100644 index 00000000..64070063 --- /dev/null +++ b/config/samples/index.sample.js @@ -0,0 +1,49 @@ +const dbOptions = require("./config.json")[process.env.NODE_ENV || "development"]; +const lnurl = require("./lnurl"); + +module.exports = { + lnurl, + clientVersion: "x11111xx11xx11x11x11111111xx1111111xx111", + vapid: { + url: "https://coinos.io/", + publicKey: + "xxxxxx111xxxx1xxx111xxxxxxxxxxxxxxxxx_x-xxx1xxx1xxxxxxxx1xxxxxxxxx1x1xxxxxxxx1xxx1xxxxx", + privateKey: "1xxx1x1xxxxx1xxx1x-xx_xxxx1xxxxx1x1xxx1x1x1" + }, + dbOptions, + ipstack: "2e1805258268b4992ebac06e20fc1865", // optional, set default currency based on IP + jwt: '2ad260b2202ad557b205ba17c7d8d62c69ffc95021b6147597c32eb30e3cf899', + port: 3119, + facebook: { + appToken: '290368338052652|WorpE7Brn61TTKUOQUyy1T8cKvc', + specialFriend: '10102176487832944', + }, + bitcoin: { + username: "user", + password: "password", + network: "regtest", + port: 18443, + zmqrawblock: "tcp://127.0.0.1:18506", + zmqrawtx: "tcp://127.0.0.1:18507" + }, + liquid: { + username: "user", + password: "password", + network: "regtest", + port: 18882, + zmqrawblock: "tcp://127.0.0.1:18602", + zmqrawtx: "tcp://127.0.0.1:18603", + btcasset: "b2e15d0d7a0c94e4e2ce0fe6e8691b9e451377f6e46e8045a86f7c4b5d4f0f23", // find with elements-cli dumpassetlabels + }, + lna: { + server: 'localhost:10001', + tls: '/home/user/.lnd.testa/tls.cert', + macaroon: '/home/user/.lnd.testa/data/chain/bitcoin/testnet/admin.macaroon', + }, + lnb: { + server: 'localhost:10002', + tls: '/home/user/.lnd.testb/tls.cert', + macaroon: '/home/user/.lnd.testb/data/chain/bitcoin/testnet/admin.macaroon', + id: '029654df009f907a2f513d944fc9456c6cac5f3a9c34dab85289e1425856c1b0fe', // find with lightning-cli getinfo + }, +} |
