diff options
| author | Adam Soltys <[email protected]> | 2020-12-17 11:02:19 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-12-17 11:02:19 -0800 |
| commit | 51d5bfcdc5f60af06b9d83c4789693b457741222 (patch) | |
| tree | dbbccc5acb841413bbaf5d2e3680becc2006907f /config/samples | |
| parent | cd4fa5d347586a470b19e616161e08f0f1a82b93 (diff) | |
| download | coinos-server-51d5bfcdc5f60af06b9d83c4789693b457741222.tar.gz coinos-server-51d5bfcdc5f60af06b9d83c4789693b457741222.zip | |
update sample config
Diffstat (limited to 'config/samples')
| -rw-r--r-- | config/samples/index.sample.js | 22 | ||||
| -rw-r--r-- | config/samples/lnurl.sample.js | 17 |
2 files changed, 29 insertions, 10 deletions
diff --git a/config/samples/index.sample.js b/config/samples/index.sample.js index aef2c1be..9ab7f42a 100644 --- a/config/samples/index.sample.js +++ b/config/samples/index.sample.js @@ -7,6 +7,10 @@ try { l.warn("lnurl config not found"); } +const btcasset = "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225"; +const cadasset = "e749f7326d0ba155ec1d878e23458bc3f740a38bf91bbce955945ee10d6ab523"; +const usdtasset = "4dddd1d0d0beeaee17df7722b512906cc5bc660c81225083b72b05820ecd3d91"; + module.exports = { lnurl, clientVersion: "x11111xx11xx11x11x11111111xx1111111xx111", @@ -25,6 +29,7 @@ module.exports = { specialFriend: '10102176487832944', }, bitcoin: { + masterkey: 'tprv8ZgxMBicQKsPfBhnpvyFH3PxL7sWhT3bVzk4WE77QRoARn2xxzisfQph34Vv25RnJ5kpoDZunJvy7dSGSSRBkTDkqqVH12W8ikKtWfyj1zw', // get from bitcoin-cli dumpwallet "walletfile" username: "user", password: "password", network: "regtest", @@ -33,6 +38,9 @@ module.exports = { zmqrawtx: "tcp://127.0.0.1:18507" }, liquid: { + masterkey: 'tprv8ZgxMBicQKsPe2qXQ8U9qMQKGE5M3qTKbacCG5nrjsBYCB4AbNeRiJR2rPm86S7UoVLd9ubEmHSVtnZqSrJc76BzKrkhuiPYReNWiFzWWVR', // get from elements-cli dumpwallet "walletfile" + blindkey: '0e66557c1dfa0c7daa371314ffd763979d3f7c5db69380e5c15ea72b85453c2e', + wallet: "coinos", username: "user", password: "password", network: "regtest", @@ -46,4 +54,18 @@ module.exports = { tls: '/home/user/.lnd.testa/tls.cert', macaroon: '/home/user/.lnd.testa/data/chain/bitcoin/testnet/admin.macaroon', }, + maker: [ // special account with username "maker" places orders on the exchange + { + c1: btcasset, + c2: cadasset, + currency: "CAD". + amount: 0.001, + }, + { + c1: btcasset, + c2: usdtasset, + currency: 'USD', + amount: 0.001, + } + ], } diff --git a/config/samples/lnurl.sample.js b/config/samples/lnurl.sample.js index d4cfe410..6de87c11 100644 --- a/config/samples/lnurl.sample.js +++ b/config/samples/lnurl.sample.js @@ -19,16 +19,13 @@ module.exports = { macaroon: "/home/user/.lnd.sima/data/chain/bitcoin/regtest/admin.macaroon" } }, - store: { - backend: "knex", + store: { + backend: 'knex', config: { - client: "mysql", + client: 'sqlite3', connection: { - host: "localhost", - user: "root", - password: "password", - database: "coinos" - } - } - } + filename: './lnurl-server.sqlite3', + }, + }, + }, }; |
