aboutsummaryrefslogtreecommitdiffstats
path: root/config/samples/index.sample.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-05-31 10:52:00 -0700
committerAdam Soltys <[email protected]>2021-06-09 16:06:45 -0700
commitef2e67a7dce5c49a74ffca9440d0a256f69f9853 (patch)
tree5e11ce83b1120e3e75e711696dc0ad10eff39ce8 /config/samples/index.sample.js
parentc5374c599a9d96507bff6ff6d5b9e1f355e89eff (diff)
downloadcoinos-server-ef2e67a7dce5c49a74ffca9440d0a256f69f9853.tar.gz
coinos-server-ef2e67a7dce5c49a74ffca9440d0a256f69f9853.zip
move sample config
Diffstat (limited to 'config/samples/index.sample.js')
-rw-r--r--config/samples/index.sample.js85
1 files changed, 0 insertions, 85 deletions
diff --git a/config/samples/index.sample.js b/config/samples/index.sample.js
deleted file mode 100644
index 407fbed6..00000000
--- a/config/samples/index.sample.js
+++ /dev/null
@@ -1,85 +0,0 @@
-const private = require("./private.json") || {}
-const debug = require('debug')('test')
-
-const dbOptions = private.connection[process.env.NODE_ENV || "development"]
-let lnurl;
-
-try {
- lnurl = require("./lnurl");
-} catch(e) {
- debug("lnurl config not found");
-}
-
-const btcasset = "5ac9f65c0efcc4775e0baec4ec03abdde22473cd3cf33c0419ca290e0751b225";
-const cadasset = "e749f7326d0ba155ec1d878e23458bc3f740a38bf91bbce955945ee10d6ab523";
-const usdtasset = "4dddd1d0d0beeaee17df7722b512906cc5bc660c81225083b72b05820ecd3d91";
-
-module.exports = {
- dbOptions: dbOptions,
- lnurl,
- clientVersion: private.CLIENT_VERSION,
- private: private,
- vapid: {
- url: "https://coinos.io/",
- publicKey: private.VAPID_PUBLIC_KEY,
- privateKey: private.VAPID_PRIVATE_KEY
- },
- knex: {
- client: 'mysql2',
- connection: dbOptions
- },
- ipstack: "2e1805258268b4992ebac06e20fc1865", // optional, set default currency based on IP
- jwt: private.jwt,
- port: 3119,
- facebook: private.facebook,
- bitcoin: {
- masterkey: private.BITCOIN_KEY, // get from bitcoin-cli dumpwallet "walletfile"
- username: "user",
- password: "password",
- network: "regtest",
- port: 18443,
- zmqrawblock: "tcp://127.0.0.1:18506",
- zmqrawtx: "tcp://127.0.0.1:18507"
- },
- liquid: {
- masterkey: private.LIQUID_KEY, // get from elements-cli dumpwallet "walletfile"
- blindkey: '0e66557c1dfa0c7daa371314ffd763979d3f7c5db69380e5c15ea72b85453c2e',
- wallet: "coinos",
- 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',
- },
- maker: [ // special account with username "maker" places orders on the exchange
- {
- c1: btcasset,
- c2: cadasset,
- currency: "CAD",
- amount: 0.001,
- askMultiplier: 1.01,
- bidMultiplier: 0.99,
- },
- {
- c1: btcasset,
- c2: usdtasset,
- currency: 'USD',
- amount: 0.001,
- askMultiplier: 1.01,
- bidMultiplier: 0.99,
- }
- ],
- mailgun: {
- domain: "coinos.io",
- apiKey: private.MAILGUN_KEY
-
- },
- imap: private.IMAP_SETTINGS
-}