{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
},
"DbConnections": {
"Knoks_Main": "Server=(localdb)\\MSSQLLocalDB;Initial Catalog=Knoks_Main;Integrated Security=True;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=False;TrustServerCertificate=True",
"Knoks_Prices": "Server=(localdb)\\MSSQLLocalDB;Initial Catalog=Knoks_Prices;Integrated Security=True;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=False;TrustServerCertificate=True"
//"LDI_Operate": "Server=ldi-dev-db-01.c8dtz9bpuq62.us-east-1.rds.amazonaws.com;Initial Catalog=LDI_Operate;User ID=Master_01;Password=Kuku#123;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=False;TrustServerCertificate=True"
//"LDI_Reports": "Server=(localdb)\\ProjectsV13;Initial Catalog=LDI_Reports;Integrated Security=True;Persist Security Info=False;Pooling=True;MultipleActiveResultSets=False;Connect Timeout=60;Encrypt=False;TrustServerCertificate=True"
},
"JwtIssuerOptions": {
"Issuer": "Knoks.Api.Jwt",
"Audience": "http://localhost:52281/",
"ValidFor": "1.00:00:00"
},
"PasswordOptions": {
"Version": "V1",
"Peper": "!@#123aBc",
"Prf": "HMACSHA256",
"IterationCount": 20000,
"NumBytesRequested": 32
},
"DocumentOptions": {
"Replace": false,
"UploadDirectoryPath": "C:/TestDoc/",
"DownloadDirectoryPath": "C:/TestDoc/"
},
"SwaggerInfo": {
"Title": "Knoks API",
"Version": "v1",
"Description": "Note: all API responses are wrapped as { \"result\": { }, \"error\": { \"id\": 1, \"msg\": \"string\" } }
When the \"result\" has a value then \"error\" value is null and vice versa.",
"License": {
"Name": "Copyright © 2016 Knoks. All Rights Reserved.",
"Url": "http://Knoks.com/license"
},
"Contact": {
"Name": "Techman",
"Email": "techman@Knoks.com",
"Url": "http://Knoks.com/tech-support"
}
},
"PlivoSmsSettings": {
"AuthId": "MAZDHLMGRINJY3M2MWZT",
"AuthToken": "NzFiYjJiNjVlZjc1MGIzN2M5ODdjYzBjZTg3YTZl",
"BaseAddress": "https://api.plivo.com/v1/Account"
},
"TwilioPhoneSettings": {
"AccountSid": "ACd9847cf167126a6df23867a0bb7e4f34",
"AuthToken": "b95f607caa90d393080b6871bef046c0"
},
"AwsEmailSettings": {
"RegionSystemName": "us-east-1",
"AccessKeyId": "AKIAJSGS3JYBSNIXNNFQ",
"SecretAccessKey": "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",
"FromEmail": "no-reply@knoks.io"
},
"DocuSigneSignatureSettings": {
"Username": "d52f8286-2fd7-46e4-94a7-d32c72d0f841",
"Password": "8c2bec326b",
"IntegratorKey": "48f93e3f-00be-4e5c-88d8-aa6cf6d74164",
"EndpointUrl": "https://demo.docusign.net/restapi/v2/",
"EventNotificationUrl": "http://ngrok/v1/Services/DocuSign/EventNotification/{loanRequestAndUserUid}"
},
"KnokSettings": {
"MAD": 21,
"MAREntry": 20,
"MARExit": 20,
"MaxSL": 25,
"MinAP": 5,
"MaxAP": 10000,
"KnokPriceForCreator": 10,
"MinEntrySpread": 5,
"MinHighEntrySpread": 5,
"MinExitSpread": 5,
"KnokFeedExpirationHours": 24, //1 day
"Multiplier": 100,
"DurationCRTAggrItems": [
{
"MinRange": 1,
"MaxRange": 3,
"Period": "1H"
},
{
"MinRange": 4,
"MaxRange": 9,
"Period": "2H"
},
{
"MinRange": 10,
"MaxRange": 21,
"Period": "4H"
}
]
},
"CommonSettings": {
"ExchangesInfoUpdateHours": 24
},
"CEX": {
"AllowedCurrencies": [
"BTC",
"ETH",
"USD",
"USDT"
]
},
"Binance": {
"AllowedCurrencies": [
"BTC",
"ETH",
"USD",
"USDT"
]
},
"Bitfinex": {
"AllowedCurrencies": [
"BTC",
"ETH",
"USD",
"USDT"
],
"ReplaceSymbols": { "USDT": "USDT" }
/* "nice_ccy_names": {
"EUR": "Euro",
"JPY": "Japanese Yen",
"GBP": "Pound Sterling",
"USD": "US Dollar",
"BTC": "Bitcoin",
"ETH": "Ethereum",
"EOS": "EOS",
"LTC": "Litecoin",
"XRP": "Ripple",
"BCH": "Bitcoin Cash",
"IOT": "Iota",
"NEO": "NEO",
"ETC": "Ethereum Classic",
"OMG": "OmiseGO",
"XMR": "Monero",
"DSH": "Dash",
"TRX": "TRON",
"ZEC": "Zcash",
"BTG": "Bitcoin Gold",
"SAN": "Santiment",
"ZRX": "0x",
"EDO": "Eidoo",
"ETP": "ETP",
"QTM": "Qtum",
"BAT": "Basic Attention Token",
"SNT": "Status",
"AID": "AidCoin",
"REP": "Augur",
"QSH": "QASH",
"YYW": "YOYOW",
"DAT": "Streamr",
"GNT": "Golem",
"TNB": "Time New Bank",
"FUN": "FunFair",
"SPK": "SpankChain",
"RLC": "iExec",
"ELF": "aelf",
"AVT": "Aventus",
"MNA": "Decentraland",
"RCN": "RCN",
"SNG": "SingularDTV",
"NEC": "Ethfinex Nectar Token",
"RRT": "Recovery Right Tokens",
"IOS": "IOSToken",
"AIO": "Aion",
"REQ": "Request Network",
"RDN": "Raiden",
"LRC": "Loopring",
"WAX": "WAX",
"DAI": "Dai Stablecoin",
"CFI": "Cofound.it",
"AGI": "SingularityNET",
"BFT": "BnkToTheFuture",
"MTN": "Medicalchain",
"ODE": "Odem"
}
*/
},
"Bittrex": {
"ReplaceSymbols": { "TUSD": "USDT" },
"AllowedCurrencies": [
"BTC",
"ETH",
"USD",
"USDT"
]
},
"HUOBI": {
"AllowedCurrencies": [
"BTC",
"ETH",
"USD",
"USDT"
]
},
"OKEx": {
"AllowedCurrencies": [
"BTC",
"ETH",
"USD",
"USDT"
]
},
"AccountTransactionsSettings": {
"NewUserFreeCreditAmount": 50
},
"EthereumConnectionSettings": {
"KnokTokenContractAddress": "0xea4c690e7560070071643960f20ba984c8a922cd",
"Web3TargetAddress": "http://localhost:8545",
"KnokTokenContractAbi": "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"unitsOneEthCanBuy\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseApproval\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalEthInWei\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseApproval\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_decimals\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"}],\"name\":\"OwnershipRenounced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"}]",
"DemoContractOwnerAddress": "",
"DemoContractOwnerPrivateKey": ""
}
}