Etherspot Developer Documentation home page
Search...
⌘K
V1 Docs
Etherspot
Etherspot
Search...
Navigation
Modular SDK
Uninstall Module Details
Home
Prime SDK
Modular SDK
RemoteSigner SDK
Skandha
Arka
TransactionKit
API Endpoints
GitHub
Discord
System Status
Modular SDK
Introduction
Chains Supported
Installation
Instantiation
Functions
Module Details
Uninstall Module Details
Batching Transactions
Modular SDK examples
Run Modular SDK examples
Get Address
Install Module
List all Modules
UnInstall Module
Get previous Module
Generate Module deinitData
Transfer native funds
Transfer erc20
Transfer NFT
Paymaster Sponsor Transaction
Contracts
Contract Deployments
SessionKeyValidator SDK
Introduction
Chains Supported
Instantiation
Functions
SessionKeyValidator SDK examples
Run SessionKeyValidator SDK examples
Enable SessionKey
Disable SessionKey
Rotate SessionKey
ERC20-Transfer with SessionKey Signature
On this page
Install Module
Uninstall Module
Get deinitData
Modular SDK
Uninstall Module Details
This page will contain detailed information on how to uninstall a module from the Modular Wallet and how to prepare deinitData for module installation
Install Module
Module can be installed on a Etherspot Modular wallet with some pre-requisite checks before transaction is sent to bundler
Module is not installed yet on the wallet
Module is a valid contract address
Uninstall Module
Module can be uninstalled from wallet via
uninstall
SDK function
Module uninstallation is associated with deinitData which contains the data needed to complete module removal from wallet storage
previous module address
optional module specific deinit data which is used during uninstall process
Get deinitData
Uninstallation needs deinitData which has 2 essential components:
previous module address
module specific deinitData (this is an optional argument and replaced by default deinitData if there is no need of module specific data)
DeinitData can be generated using the SDK helperfunction:
generateModuleDeInitData
moduleType
module (moduleAddress)
moduleDeInitData (module specific deInitData or defaulted deinitData -
0x00
)
Example to generate DeinitData and uninstall is at:
module-uninstall-example
If you want to take a look at the SDK code in more detail then you can check these functions out
here on Github
.
Module Details
Batching Transactions
Assistant
Responses are generated using AI and may contain mistakes.