Overview
Understanding the basics of Passport
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.
Last updated