This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mt = PhpStrings.Explode(" ", PhpDateTime.MicroTime()); | |
var NONCE = mt[1].ToString() + PhpStrings.Substring(mt[0], 2, 6); //unixTimestamp.ToString();// | |
var Key = "K-118c9ea0493dd2dfdede8ad7b5e2e74cd4f5dcf1"; | |
var secret = "S-cf324dce5d87475dfd61cba02ecf89d725058b86"; | |
var myParameters = "nonce=" + NONCE + "&pair=BTC_USD&quantity=10&price=10&type=buy"; | |
var url = "https://api.exmo.com/v1/order_create"; | |
var Sign = Hash(myParameters, secret); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Codaxy.WkHtmlToPdf; | |
using Nancy; | |
using Nancy.Responses; | |
using System.Diagnostics; |