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