You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below hash computation + signing of the transaction can be replaced by the use of the ExecutionV1 or ExecutionV3 type from starknet-rs. It exposes an API to compute the transaction hash and the signature. The only part that can be a little annoying is that it requires an access to a ConnectedAccount for the signature computation (which doesn't make a lot of sense imo).
Either use a ConnectedAccount with a filled in provider, or keep the current signature derivation and just compute the hash with the type.
I am a Experience Rust / Cairo smart contract developer with experience working on projects such as Just Art Peace, Dojo, Karst, TBA, and Shinigami. Before transitioning to Cairo development, I was a backend developer specializing in Rust.
The below hash computation + signing of the transaction can be replaced by the use of the
ExecutionV1
orExecutionV3
type from starknet-rs. It exposes an API to compute the transaction hash and the signature. The only part that can be a little annoying is that it requires an access to aConnectedAccount
for the signature computation (which doesn't make a lot of sense imo).Either use a
ConnectedAccount
with a filled in provider, or keep the current signature derivation and just compute the hash with the type.ef-tests/crates/ef-testing/src/evm_sequencer/utils.rs
Line 125 in a422e0f
The text was updated successfully, but these errors were encountered: