Modules

Komet modules are the plug-and-play toolkit for dApps to build onboarding and transaction journeys that enable an easy, one-click experience for users. These modules are responsible for the different states users go through during the app cycle.

1. Start_Session

A session starts with:

  • Partner onboarding(Verification).

  • User Auth-login using social login.

The session gets over for the user in the following cases:

  • Social login expires

  • Uninstalling the app

  • Removing the app from the background

2. Wallet and User info

Deploys the wallet for the user, distributes the private key into pieces, and stores these encrypted pieces across multiple storages.

Gets user data for the existing user:

》Wallet address

》Username

》Transaction details

3. Transaction Initiation

Initiates the transaction after 2FA input from the user for the transactions.

The transaction could be of the following types:

》personal_sign

》signTyped_data

》sendTransaction

》signTransaction

》eth_Sign (legacy)

》eth_sign (standard)

4. Balance and Transaction updates

Fetches the updated balance and transaction state for the user.

Transaction_states:

  • Successful | Update the balance for the user

  • Pending | Cancel or Speed-up the transaction

  • Failed

Last updated

Was this helpful?