Skip to main content
You are here: Credenza EVM Provider

Overview

Overview

Use the Credenza EVM provider as a custodial interface to manage keys and sign transactions. Integrate this provider with Web3 libraries to authenticate your application and sign transactions.

Installation

Install EVM Provider Package

Add the Credenza EVM provider to your project by installing the package using npm. Run npm i @credenza3/evm-provider in your project's terminal to make the provider available for use.

Verify Installation

Confirm the Credenza EVM provider package is installed correctly by checking your project's node_modules directory for @credenza3/evm-provider or verifying its entry in package.json.

Provider Implementation

Initialize CredenzaProvider

Instantiate CredenzaProvider to create a provider object. This object manages keys and signs transactions, setting up the core component for interaction with Credenza3's backend.

Connect to Credenza3 Backend

The CredenzaProvider connects to the Credenza3 backend automatically upon initialization. This connection enables the provider to leverage Credenza3's secure infrastructure for key management and transaction signing.

Ensure EIP-1193 Compatibility

The CredenzaProvider implements the Eip1193Provider interface. This implementation ensures your application can use the CredenzaProvider with existing Web3 libraries, such as ethers.js, without requiring modifications.

EIP-1193 Standard

The CredenzaProvider implements the EIP-1193 standard. This means it is compatible with ethers.js and other common Web3 libraries without additional configuration.