Table of Contents

Initialization of Gate.io Adapter

The code below demonstrates how to initialize the GateIOMessageAdapter and pass it to the Connector.

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

Connection settings window