Documentation Index
Fetch the complete documentation index at: https://docs.sequence.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Start with an implicit session which is restricted to contracts built by Sequence.
Alternatively, you can choose to add a IPermissions object to each Sign In call, if you want to connect to an
explicit session directly.
Learn how to construct permissions.
Recover wallet from storage
This function returns null when no wallet is found.
IWallet wallet = SequenceWallet.RecoverFromStorage();
Create an Interface to Sign In
SequenceConnect connect = new SequenceConnect();
Get Ecosystem Config
Get configuration data from the Ecosystem. This includes data such as the name, description, enabled chains and auth providers.
EcosystemConfig config = await connect.GetEcosystemConfig();
string name = config.name;
EcosystemAuthProvider[] authProviders = config.enabledProviders;
Sign In with Email
string email = "your.mail@example.com";
IWallet wallet = await connect.SignInWithEmail(email);
Sign In with Google
IWallet wallet = await connect.SignInWithGoogle();
Sign In with Apple
IWallet wallet = await connect.SignInWithApple();
Sign In with Passkey
IWallet wallet = await connect.SignInWithPasskey();
Sign In with Mnemonic
IWallet wallet = await connect.SignInWithMnemonic();