Links
🔐

Account Management

Integrate account management seamlessly
Our infrastructure handles either account (web2) or wallet (web3) implementation, depending on your set up.

Account Implementation

Each time a ConnectAccount method is called, we fetch the Emotes associated with the user through our Reference Core API.
It is then accessible through the API of the core package via this method :
KinetixCore.Metadata.GetUserAnimationMetadatas(Action<AnimationMetadata[]>
_Callback);
If you integrated our optional UI Package, the UI will automatically ask the Core Package to get the User's Emotes, and then refresh the inventory of the users with the Emotes available for this userID.
You need to create an unique and immutable _UserId for each one of your user. You can for example use the UserID of the distribution's platform.
Each time an user logs in with their email or username in your game:
KinetixCore.Account.ConnectAccount(string _UserId);
Each time an user logs out:
KinetixCore.Account.DisconnectAccount();
The account module of our SDK only accept one user at the time. Any attempt to log in another user will disconnect the previous one.

Wallet Implementation

Each time a ConnectWallet method is call, we fetch the emotes owned by the users through our provider (Alchemy).
It is then accessible through the API of the core package via this method :
KinetixCore.Metadata.GetUserAnimationMetadatas(Action<AnimationMetadata[]>
_Callback);
If you integrated our optional UI Package, the UI will automatically ask the Core Package to get the User's Emotes, and then refresh the inventory of the users with the emotes available for this wallet address.
We handle multi wallets, so you can register multiple wallets address if the user is logged on multiple addresses in your application. We encourage you to verify your users' wallets.
Each time an user logged in on your app with their wallet:
KinetixCore.Account.ConnectWallet(string _WalletAddress);
Each time an user logged out for a specific Wallet Address:
KinetixCore.Account.DisconnectWallet(string _WalletAddress);
Each time an user logged out on your app:
KinetixCore.Account.DisconnectAllWallets();