Initialization of PumpSwap Adapter

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

Connector Connector = new Connector();
...
var messageAdapter = new PumpSwapMessageAdapter(Connector.TransactionIdGenerator)
{
	WalletAddress = "<Your value>",
	PrivateKey = "<Your value>".To<SecureString>(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...

Connection settings window