neotheprogramist / cairo-webauthn

Cairo verification of webauthn authentication credentials
GNU General Public License v3.0
0 stars 0 forks source link

Feature/2-1-webauthn-account #19

Closed piniom closed 10 months ago

piniom commented 10 months ago

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.