onbloc / adena-wallet-sdk

An SDK that provides TypeScript-based library to interact with the Adena Wallet and TM2 Wallets.
MIT License
2 stars 1 forks source link

feat: add TM2 wallet provider type to the SDK #7

Closed jinoosss closed 1 month ago

jinoosss commented 2 months ago

What type of PR is this?

What this PR does:

This PR introduces a new tm2 wallet provider type to the SDK, enabling support for the tm2 wallet provider. This addition extends the SDK’s capabilities by allowing it to interact with different types of wallet providers.

Key Changes:

  1. Added tm2 Wallet Provider:

    • The tm2 wallet provider has been added to the walletProviders.
    • Logic for interacting with the tm2 provider, such as handling transactions and retrieving account information, has been implemented.
  2. Maintaining Consistency with Existing Providers:

    • The tm2 provider follows the existing structure of wallet providers in the SDK.
    • Implemented the tm2 wallet provider to enable social login based on web3-auth
    • Ensured that the implementation is clean and scalable, keeping in line with the current design patterns.