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