https://github.com/leighmcculloch/soroban-webauthn
Soroban Webauth Account Contract
https://github.com/leighmcculloch/soroban-webauthn
Last synced: 24 days ago
JSON representation
Soroban Webauth Account Contract
- Host: GitHub
- URL: https://github.com/leighmcculloch/soroban-webauthn
- Owner: leighmcculloch
- Created: 2023-09-23T09:20:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-07T11:41:51.000Z (about 1 year ago)
- Last Synced: 2024-10-11T15:42:54.194Z (8 months ago)
- Language: JavaScript
- Homepage: https://leighmcculloch.github.io/soroban-webauthn/
- Size: 86.9 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Soroban Webauthn Account Contract
| :warning: Code in this repo is demo material only. It has not been audited. Do not use to hold, protect, or secure anything. |
|-----------------------------------------|This repo contains [Soroban] contracts that demonstrate account abstraction on [Stellar], by supporting [Webauthn].
Contracts:
- `contract-webauthn-factory` – A Soroban factory contract that deploys and initializes new deployments of webauthn contract accounts.
- `contract-webauthn-ed25519` – A Soroban account contract that is initialized with a ed25519 public key for a Webauthn device (passkey from a browser, computer, phone, Yubikey, etc). This contract acts as an account on network, holding assets, etc, and is controlled by the Webauthn device's signatures.
- `contract-webauthn-secp256r1` – A Soroban account contract that is initialized with a ecdsa secp256r1 public key for a Webauthn device (passkey from a browser, computer, phone, Yubikey, etc). This contract acts as an account on network, holding assets, etc, and is controlled by the Webauthn device's signatures.Also:
- `web-app-demo` – A demo web application deployed at https://leighmcculloch.github.io/soroban-webauthn. The demo interacts with the Stellar Test Network. The demo registers a device for webauthn, deploys an account contract for the device, and performs some transactions with it.
https://github.com/leighmcculloch/soroban-webauthn/assets/351529/b326562a-cadf-40db-aa75-f2823c8d2554
[Stellar]: https://stellar.org
[Soroban]: https://soroban.stellar.org
[Webauthn]: https://www.w3.org/TR/webauthn-2/