xJonathanLEI / starknet-rs

Complete Starknet library in Rust™
https://starknet.rs
Apache License 2.0
281 stars 96 forks source link

Allow explicit configuration of interactive signer #647

Closed tarrencev closed 1 month ago

tarrencev commented 1 month ago

The current is_interactive_signer interface doesn't support conditionally interactive signers depending on the execution context. In particular, session signers can be interactive or non-interactive depending on whether the session token contains the necessary scopes to sign a transaction or not.

This PR allows us to explicitly configure the is_interactive_signer parameter and allows us more control over how it is set.