Adapter initialization: STON.fi

The following code initializes StonFiMessageAdapter and adds it to Connector.

Connector connector = new Connector();
...
var messageAdapter = new StonFiMessageAdapter(connector.TransactionIdGenerator)
{
	WalletAddress = "<Your TON wallet address>",
	Mnemonic = "<Your 24-word mnemonic>".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