Adapter initialization: Dexalot

The following code initializes DexalotMessageAdapter and adds it to Connector.

Connector connector = new Connector();
...
var messageAdapter = new DexalotMessageAdapter(connector.TransactionIdGenerator)
{
	WalletAddress = "<Your wallet address>",
	PrivateKey = "<Your private key>".To<SecureString>(),
};
connector.Adapter.InnerAdapters.Add(messageAdapter);
...

Set the wallet credentials and any other required properties described on the Connector configuration page.

See also

Connector configuration

Connection settings window