Skip to main content
Version: SDK V2

ECDSA Ownership Module

This is a basic module that determines "ownership" of the smart account. Smart Accounts are not able to initiate their own transactions on chain and so an Externally Owned Account is needed to sign transactions before they can be sent on chain. The ECDSA ownership module allows us to use a traditional EOA to achieve this.

Installation


npm install @biconomy/modules

Integration


import { ECDSAOwnershipValidationModule, DEFAULT_ECDSA_OWNERSHIP_MODULE } from "@biconomy/modules";

const module = await ECDSAOwnershipValidationModule.create({
signer: signer, // you will need to supply a signer from an EOA in this step
moduleAddress: DEFAULT_ECDSA_OWNERSHIP_MODULE
})

Once initialized it can be passed to the smart account create method to create a smart account.

Was this page helpful?