Passport SDK v5.0
  • Overview
  • Account Lifecycle
  • Integration
    • Client Side Enablement
    • Credenza Presence (Optional Visual Elements)
    • Account Provisioning (Sign-up)
      • New Authentication System
      • Existing Authentication System - New Customer
      • Existing Authentication System - Existing Customer
  • Passport Subsequent Logins
  • Post-Login Capabilities
    • Account Information Access
    • Blockchain Wallet Access
  • Smart Contract Interactions
    • Instantiating The Contract Object (Server-Side)
    • Instantiating The Contract Object (Client-side)
    • Calling Contracts
  • Monetary Transactions
  • Appendix I: Passport Configuration Options
    • Magic
    • Ethers.js
    • Installation
    • Usage
    • Passport Instance Properties
    • Passport Static Properties
    • Modes
    • Supported query params
  • Transaction UI v3.0 (now part of Passport)
    • Magic
    • Ethers.js
    • Installation
    • Usage
    • Apple Pay
    • Google Pay
    • Methods
    • Events
  • Appendix II: MetaMembership Contract Access
  • Appendix III: Ledger Contract Access
  • Appendix IV: Decentralized Commerce Configuration
Powered by GitBook
LogoLogo

©2023 Credenza. All rights reserved.

On this page
  1. Post-Login Capabilities

Blockchain Wallet Access

In addition, an ethers web3 provider is generated so that participating website can authorize blockchain transactions on behalf of the user. Ethers is a library that provides a powerful Javascript abstraction of the blockchain which, when used with Credenza’s libraries, makes interacting with a smart contract as easy as working with any Javascript library.

But before we get to Ethers, there are several native methods available to query the assets and attributes of the wallet that bypass any smart contract interaction. Specifically, Passport has a method called getNFTs that is designed to query all NFTs owned by a wallet. In the spirit of token-gating, it can be very valuable to confirm ownership of an NFT to permit access to digital content or a physical space.

PreviousAccount Information AccessNextSmart Contract Interactions

Last updated 2 years ago