Awesome
Soroban Flutter Passkey Demo
Flutter passkey signing demo for soroban smart wallets.
https://github.com/user-attachments/assets/965a336f-85c6-474d-81f2-8b2e9211a0aa
Getting Started
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.
Setup
- 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
.env
file from the root of the project, replace the value ofrp_id
with your own.
Optional:
- Build and deploy the
webauthn-factory
soroban contract located in thecontracts
folder. Update.env
with the new contract id. - Build and install the
webauthn-secp256r1
contract. Initialize thewebauthn-factory
with the wasm hash of the installed webauthn-secp256r1 contract. - Build and deploy the
chicken-egg-v
contract. Update.env
with the new contract id.
Notes
The demo is only tested on android until now.