You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can Gök edited this page Nov 27, 2023
·
2 revisions
What is a Platform in StarkSharp?
StarkSharp offers integration for a range of platforms, each of which provides methods to manage Starknet interactions. Since there are so many platforms supported, StarkSharp requires you to specify your platform. To do so, you'll need to define the platform within the code.
Specifying the Platform
To create a platform in StarkSharp, follow the steps below:
Import Necessary Libraries
Ensure you've imported the required StarkSharp libraries.
usingStarkSharp.Platforms;
Platform Definition
A platform can be defined using the [Platform].New method. This method expects an argument PlatformConnectorType.[Type].