Skip to content

Instantly share code, notes, and snippets.

@jondubois
Created August 19, 2023 08:08
Show Gist options
  • Save jondubois/ba12b2e41207fac2c89ec058147b0ba2 to your computer and use it in GitHub Desktop.
Save jondubois/ba12b2e41207fac2c89ec058147b0ba2 to your computer and use it in GitHub Desktop.
sas-dex-modules-config.json
{
"modules": {
"lisk_dex_sas_clsk": {
"moduleEnabled": true,
"modulePath": "node_modules/capitalisk-dex",
"passiveMode": false,
"tradeHistorySize": 100,
"dexEnabledFromHeight": 1,
"signatureBroadcastDelay": 15000,
"signatureFlushInterval": 15000,
"signatureMaxBatchSize": 40,
"transactionSubmitDelay": 15000,
"multisigExpiry": 186400000,
"multisigExpiryCheckInterval": 60000,
"orderBookSnapshotFinality": 15,
"orderBookSnapshotFilePath": "./dex-snapshot-sas-clsk.json",
"orderBookSnapshotBackupDirPath": "./dex-snapshot-sas-clsk-backups",
"orderBookSnapshotBackupMaxCount": 20,
"baseChain": "clsk",
"priceDecimalPrecision": 4,
"apiDefaultPageLimit": 100,
"apiMaxPageLimit": 100,
"apiMaxFilterFields": 10,
"readBlocksInterval": 3000,
"components": {
"logger": {
"fileLogLevel": "info",
"consoleLogLevel": "info"
}
},
"chains": {
"clsk": {
"moduleAlias": "capitalisk_chain",
"chainCryptoLibPath": "node_modules/ldpos-chain-crypto",
"keyIndexDirPath": "data",
"multisigAddress": "clsk00056d619372518555c682d7d602701f410b3a11",
"memberAddress": "",
"passphrase": "",
"requiredConfirmations": 0,
"orderHeightExpiry": 20000,
"readMaxBlocks": 100,
"readMaxTransactions": 100,
"exchangeFeeBase": "20000000",
"exchangeFeeRate": 0.007,
"minOrderAmount": "1000000000",
"dividendStartHeight": 0,
"dividendHeightInterval": 10000,
"dividendHeightOffset": 101,
"dividendRate": 0.9,
"dexDisabledFromHeight": null,
"dexMovedToAddress": "",
"minPartialTake": "100000000"
},
"sas": {
"moduleAlias": "sas_chain",
"chainCryptoLibPath": "node_modules/ldpos-chain-crypto",
"keyIndexDirPath": "data",
"multisigAddress": "sas00045c7bf11ef55d947f19b297c5b78a28fd1054",
"memberAddress": "",
"passphrase": "",
"requiredConfirmations": 0,
"orderHeightExpiry": 10000,
"readMaxBlocks": 100,
"readMaxTransactions": 100,
"exchangeFeeBase": "20000000",
"exchangeFeeRate": 0.007,
"minOrderAmount": "1000000000",
"dividendStartHeight": 0,
"dividendHeightInterval": 5000,
"dividendHeightOffset": 51,
"dividendRate": 0.9,
"dexDisabledFromHeight": null,
"dexMovedToAddress": "",
"minPartialTake": "100000000"
}
}
},
"lisk_dex_sas_clsk_http_api": {
"moduleEnabled": true,
"modulePath": "node_modules/capitalisk-dex-http-api",
"port": 8071,
"enableCORS": true,
"dexModuleAlias": "lisk_dex_sas_clsk",
"components": {
"logger": {
"fileLogLevel": "error",
"consoleLogLevel": "error"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment