Skip to content

Instantly share code, notes, and snippets.

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;
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);