Skip to content

Add support for conditional dependencies to V3 #7424

@michalbrabec

Description

@michalbrabec

Describe the feature

Some plugins may want to provide additional (optional) features if another plugin is available. For example, a plugin that affects the connection may also perform additional actions on the connection.ethers or connection.viem objects if the corresponding plugins are installed. If either plugin is not installed, then it should not cause an error.

an example of plugin that would use that feature can be found here: https://github.com/Amxx/hardhat-predeploy/tree/optional-dependencies

The context is outlined in [Public] Conditional plugins

Metadata

Metadata

Assignees

Labels

type:KREnd-to-end implementation of a KR

Projects

Status

In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions