In this PR I've developed a rust struct WebauthnAccount that implements Account and ExecutionEncoder traits. This should allow for the webauthn protocol to eventually be used in authorizing __execute__ transactions. The code is not tested yet. Also due to recent changes in the main repo, both abigen and serde::Serialize are used. This discrepancy will be removed in the future when I converge on the final implementation.
Also I've moved the webauthn logic away from Contract down to a separate starknet::component, this change should help with code maintainability.
In this PR I've developed a rust struct WebauthnAccount that implements Account and ExecutionEncoder traits. This should allow for the webauthn protocol to eventually be used in authorizing __execute__ transactions. The code is not tested yet. Also due to recent changes in the main repo, both abigen and serde::Serialize are used. This discrepancy will be removed in the future when I converge on the final implementation. Also I've moved the webauthn logic away from Contract down to a separate starknet::component, this change should help with code maintainability.