Skip to content

Managing Smart Accounts on Multiple Chains

AbstractJS was built from the ground-up to serve the needs of teams working in both single and multi-chain environments. Until now, using Smart Account SDKs for multichain operations has been quite cumbersome. While it was theoretically possible to work with Smart Accounts across chains, building such flows made the code long and difficult to read.

That's why AbstractJS comes with a built-in utility type called a MultichainAccount. MultichainAccount manages and keeps track of multiple Smart Account deployments across different chains. It lazily deploys accounts chain-by-chain, only when they're needed.

Beyond this, it manages address derivations for chains which don't derive contract addresses in the same way as Ethereum (namely zkSync and other Elastic Chain chains).

All of this combines to give developers a pleasurable experience when dealing with Smart Accounts in a multichain environment.

Guide

This will be a short guide, presenting an overview of the functionalities of the MultichainSmartAccount type.