xJonathanLEI / starknet-rs

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

Allow explicit configuration of interactive signer #647

Closed tarrencev closed 3 months ago

tarrencev commented 3 months 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.