本页面尚未提供您的语言版本,显示其他语言版本。

Warning

This exchange has permanently shut down (May 2019 — hacked and liquidated). This connector is no longer operational. Documentation is preserved for historical reference.

Adapter initialization Cryptopia

The code below demonstrates how to initialize the CryptopiaMessageAdapter and send it to Connector.

			Connector Connector = new Connector();				
			...				
			var messageAdapter = new CryptopiaMessageAdapter(Connector.TransactionIdGenerator)
			{
				Key = "<Your API Key>".To<SecureString>(),
				Secret = "<Your API Secret>".To<SecureString>(),
			};
			Connector.Adapter.InnerAdapters.Add(messageAdapter);
			...	
							

Connection settings window