Passport SDK v8
  • 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
    • Credenza Core Web SDK (Auth)
    • Ethers.js
    • Installation
    • Usage
    • Passport Instance Properties
    • Passport Static Properties
    • Modes
  • Appendix IA: Transaction UI v3.0 (now part of Passport)
    • Installation
    • Usage
    • Apple Pay
    • Google Pay
    • Methods
    • Events
  • Appendix II: MetaMembership Contract Access
  • Appendix III: Ledger Contract Access
  • Appendix IV: Decentralized Commerce Configuration
  • Appendix V: Migration From Previous Passports
Powered by GitBook
LogoLogo

©2023 Credenza. All rights reserved.

On this page

Overview

Understanding the basics of Passport

Email feedback@credenza3.com for comments or questions regarding this document.

Credenza Passport is a versatile ID solution with a customizable authentication process, granting account holders access to a custodial blockchain wallet spanning multiple blockchains, currently including Ethereum, Chilliz Chain, Polygon, and Sui. By integrating the Credenza Passport SDK, any client platform can incorporate this functionality, enabling customers to link their Credenza Passport wallet. This connection facilitates the retrieval of assets (such as NFTs and cryptocurrencies) stored within the wallet, offering additional benefits or privileges associated with blockchain-aware memberships.

The Passport product comprises three tiers of accessible functionality, with Passport serving as the foundational authentication mechanism.

It supports various authentication methods, configurable upon instantiation. Alongside numerous OAuth providers (like Ticketmaster and Spotify), we offer password-based authentication and passwordless link-based authentication to verify accounts. Passwordless authentication confirms the account owner's request for access, eliminating the risks associated with forgotten or compromised passwords. Ultimately, Credenza can support any OAuth login system.

At the next level, Passport interacts with smart contracts, particularly those developed and licensed by Credenza. Passport introduces a crucial abstraction layer, simplifying interaction with our smart contracts to the level of any API, thanks to our JavaScript libraries. This approach includes mapping the contract to the blockchain using the contract schema (known as an "Application Bytecode Interface" or ABI) service, along with a blockchain address for the contract, to create a JavaScript object as if it were local.

Finally, Passport functions as a payment authorization system, accommodating both cryptocurrencies and Credenza-provisioned stored value wallets. Credenza offers a standard ERC20 contract for representing stored value and can create unique "tokens" for clients. Additionally, we can utilize existing cryptocurrencies and integrate with Stripe to handle fiat currencies like dollars via credit cards.

Our aim is to make Passport implementation as seamless as possible, prioritizing flexibility to address any scenario, whether migrating existing applications retroactively or establishing brand-new applications solely dedicated to running Credenza apps and services. This guide walks through the implementation of each scenario and subsequent account management operations. Moreover, Passport's programmable wallet capability stands out, enabling access to user asset information, attributes, and crypto balances, as well as executing blockchain actions on behalf of the user. This guide offers insights into leveraging this technology to establish identity, access Credenza's smart contracts, and conduct financial transactions using Credenza stored value contracts or third-party cryptocurrencies on EVM-compliant blockchains or the Sui blockchain.

NextAccount Lifecycle

Last updated 1 year ago