Flutter passkey signing demo for soroban smart wallets.
android-screen-rec.mov
This demo is experimental and uses the passkey branch of the stellar flutter sdk.
To obtain the credentials it uses the flutter credential manager package, but any other package can be used. The scope of this app is to show how you can use the stellar flutter sdk in the context of soroban passkeys.
- Clone this repo.
- Create and deploy your DAL file as described here. You can take this and replace the fingerprint before you deploy it to your own server (rp_id).
- In the
.envfile from the root of the project, replace the value ofrp_idwith your own.
- Build and deploy the
webauthn-factorysoroban contract located in thecontractsfolder. Update.envwith the new contract id. - Build and install the
webauthn-secp256r1contract. Initialize thewebauthn-factorywith the wasm hash of the installed webauthn-secp256r1 contract. - Build and deploy the
chicken-egg-vcontract. Update.envwith the new contract id.
The demo is only tested on android until now.