Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.22 KB

File metadata and controls

31 lines (18 loc) · 1.22 KB

Swift Passkey Kit for Soroban Smart Wallets

Warning

Code in this repo is demo material only. It has not been audited. Do not use to hold, protect, or secure anything.

This is an experimental library for creating and managing Soroban smart wallets using passkeys.

Getting started

You can learn what soroban smart wallets are on this Stellar page. The official Stellar developer docs regarding smart wallets can be found here.

This Swift Passkey Kit is inspired by the TypeScript PasskeyKit provided by kalepail.

Demo app

You can find a demo app using this library in this GitHub repo: swift-soroban-passkey-demo.

Probably the best way to familiarize yourself with the functionality of the passkey kit is to use the demo app by cloning it's repo.

Functionality

  • create wallet
  • connect wallet
  • create keyIds and public keys for new secp256r1 signers
  • add/update/remove secp256r1 and ed25519 signers
  • add/update/remove policies
  • sign auth entries with secp256r1, ed25519 and policy signers