Initialization of Synthetix Adapter
The code below demonstrates how to initialize the SynthetixMessageAdapter and pass it to the Connector.
Connector Connector = new Connector();
...
var messageAdapter = new SynthetixMessageAdapter(Connector.TransactionIdGenerator)
{
SubAccountId = "<Your value>",
PrivateKey = "<Your value>".To<SecureString>(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...