Adapter initialization: DeepBook

The following code initializes DeepBookMessageAdapter and adds it to Connector.

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

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

See also

Connector configuration

Connection settings window