Welcome to Dev3
  • ➕Create a Dev3 App
  • 🤖SDK
    • 📖Introduction
    • ⚙️Initialization
    • ➡️Importing Contracts
    • 🤝User Authentication
      • Options
    • 🔍Query Contracts
      • Function Parameters
    • ⚡Execute Contracts
      • Execution Options
    • 🛠️Deploy Contracts
      • Deployment Options
    • 📖Address Book
    • ❓FAQ
      • Out of gas error
  • INTEGRATIONS
    • 🔷Chainlink Feeds
    • 🔷Chainlink Subscriptions
      • 🎲VRF Subscriptions
      • 🧮Functions Subscriptions
      • 🤖Upkeep Subscriptions
    • 🎆OriginTrail DKG
    • 📽️OriginTrail DKG Video Tutorial
    • 📊Polyflow Analytics
  • Pricing
    • 💸Dev3 Pricing Plans
    • 💸Polyflow Pricing Plans
  • 🚀Guides
    • 👾Launching an NFT Collection
      • Step 1: Upload assets
      • Step 2: Upload metadata
      • Step 3: Deploy contracts
  • 🏫Resources
    • 👨‍💻Developer Resources
Powered by GitBook
On this page
  1. SDK

User Authentication

How to let your users connect their wallet to your application.

PreviousImporting ContractsNextOptions

Last updated 2 years ago

It is often required to connect the user's wallet to your application in order to display other parts of the platform or fetch the state for the given user's wallet address.

With the SDK, you don't have to take care of integrating wallet support inside your project.

Simply obtain the SDK instance as explained in section and run following:

This will return the User object with the wallet address he has connected with. The User returned by our framework has also proved to own the address he had connected with.

Live example

A full list of the allowed options to configure before an authorization request is generated is explained in the .

Run this flow on a live coding environment

🤖
🤝
authorization options docs
here!
Authorization code
Authorization example