LIT-Protocol / js-sdk

The Lit Protocol SDK provides developers with a framework for implementing Lit functionality into their own applications.
https://developer.litprotocol.com
MIT License
92 stars 55 forks source link

fix(contracts-sdk): ensure provided provider and signer instances are… #478

Closed Ansonhkg closed 1 month ago

Ansonhkg commented 1 month ago

Description

Resolves an issue where a provided signer or provider instance given to LitContracts was not being used, instead defaulting to a new provider with Chronicle RPC URL. This fix prioritizes the provided instances in the constructor arguments.