Skip to main content
You are here: Web SDK

Install Web SDK

Overview

Install the Credenza Web SDK to incorporate powerful digital rights management features into your applications. Discover how to enrich functionality with extensions and smoothly initialize your setup.

Install SDK

Execute Installation Command

To install the Credenza Web SDK, use the npm install command with the correct package name. Run the following command:

npm install @credenza3/core-web

Use the Correct npm Command

Ensure you use 'npm install @credenza3/core-web' to prevent potential installation issues. Double-check your command before proceeding.

Verify Installation

After running the installation command, verify the installation by checking for the presence of @credenza3/core-web in your node_modules directory.

  • Navigate to your project's root directory.

  • Open the node_modules folder.

  • Look for the @credenza3/core-web folder.

Ensure no errors occurred during the installation process.

  • Review the console output for any error messages.

  • If errors are present, double-check the command syntax and your network connection.

Explore Extensions

Understand OAuth Extension

The OAuthExtension package (@credenza3/core-web-oauth-ext) manages OAuth clients within Credenza. It enables secure authentication and authorization processes.

Explore Account Extension

The AccountExtension, available as @credenza3/core-web-account-ext, plays a key role in managing user accounts within the Credenza system. It allows for comprehensive handling of user data, integrating seamlessly with other extensions to provide a holistic view of user engagement and behavior.

  • Manages user account details

  • Facilitates secure access to user information

  • Supports seamless user data updates

  • Ensures user data consistency across the system

Investigate Sui Extension

The SuiExtension package @credenza3/core-web-sui-ext connects the SDK to the Sui network seamlessly. By utilizing this extension, developers can integrate Sui's blockchain capabilities into the Credenza ecosystem. The extension requires configuration with the relevant Sui network name, enabling efficient interaction with Sui's infrastructure.

Review EVM Extension

The EvmExtension package (@credenza3/core-web-evm-ext) is used for Ethereum Virtual Machine (EVM) integration. It allows the SDK to interact with EVM-based blockchains, facilitating tasks such as smart contract interactions and token transactions.