GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 1Shot-API/prf-wallet: A reference implementation for a PRF-based wallet

BranchesTags
Open more actions menu

Latest commit

 

History

214 Commits
214 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills/react-doctor
.agents/skills/react-doctor
 
 
.changeset
.changeset
 
 
.cursor
.cursor
 
 
.github/workflows
.github/workflows
 
 
examples
examples
 
 
packages
packages
 
 
spec/credentials
spec/credentials
 
 
.editorconfig
.editorconfig
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.base.json
tsconfig.base.json
 
 

Repository files navigation

Open Wallet Standard (OWS)

1Shot API Open Wallet Standard — open-source reference implementation for WebAuthn PRF non-custodial wallets. See the 1Shot API blog post for motivation.

Use of 1Shot-hosted public infrastructure is subject to the Public Infrastructure Terms and Acceptable Use Policy. By accessing or using those hosted services, you agree to those terms.

OWS defines a three-layer iframe architecture: Host Layer → Branding Layer → Signing Layer. The Signing Layer is published on-chain (EIP-8244) as immutable plain JavaScript with zero dependencies.

Architecture

Host Layer                  @1shotapi/ows-provider          EIP-1193 for viem/ethers
  └── Branding Layer        @1shotapi/ows-wallet-utils      Your branding + signing UX
        └── Signing Layer   @1shotapi/ows-signer            KMS/HSM-style curve signing
              ▲
              └── @1shotapi/ows-signer-utils marshals EVM/Bitcoin/etc. → digest → sign
Layer Package Published
Shared types @1shotapi/ows-types Yes
Signing Layer @1shotapi/ows-signer Yes (plain JS, on-chain)
Branding ↔ Signing SDK @1shotapi/ows-signer-utils Yes
Host ↔ Branding SDK @1shotapi/ows-wallet-utils Yes
Host Layer provider @1shotapi/ows-provider Yes
On-chain deploy @1shotapi/ows-onchain Yes
Demos examples/* No

Cross-frame messaging for Host ↔ Branding uses postmate (external package, not vendored here).

Quick start

Requirements: Node.js 22+

git clone https://github.com/1Shot-API/open-wallet.git
cd open-wallet
npm install
npm run build
npm test

Run the OWS demos

Copy .env.example to .env and set NGROK_AUTHTOKEN and optionally NGROK_DOMAIN (your reserved ngrok domain) for HTTPS passkey testing.

# Terminal 1 — general-purpose Branding Layer + Signing Layer (single ngrok tunnel)
npm run dev:general-wallet

# Terminal 2 — Host Layer app (reads NGROK_DOMAIN from repo root .env)
npm run dev -w @1shotapi/ows-example-host

See examples/general-wallet/README.md and examples/host/README.md for details.

Repository layout

packages/
  ows-types/            Shared types and errors (all layers)
  ows-signer/           Plain JS Signing Layer — no build step
  ows-signer-utils/     Branding Layer ↔ Signing Layer (evm.signMessage, etc.)
  ows-wallet-utils/     Host Layer ↔ Branding Layer (Postmate RPC wrappers)
  ows-provider/         EIP-1193 provider for Host Layer apps
  ows-onchain/          EIP-8244 compress → deploy → serve
examples/
  general-wallet/       General-purpose Branding Layer demo (MetaMask-style)
  host/                 Host Layer reference application
  shared/               Demo mocks for credentials (not published)

Signing Layer design

@1shotapi/ows-signer is intentionally minimal — a curve-based signing primitive (starting with secp256k1), not a chain-aware wallet. Chain-specific marshalling (EIP-191, EIP-712, etc.) lives in @1shotapi/ows-signer-utils so the on-chain artifact stays small and stable.

Monorepo tooling

npm workspaces + Changesets for independent @1shotapi/* package versioning.

npm run changeset          # describe a change
npm run version-packages   # bump versions + changelogs
npm run release            # build + publish to npm

Status

Scaffold only — package structure and OWS branding are in place. Signer logic, SDKs, and on-chain pipeline are forthcoming.

Agent Skills

Build a Branding Layer in another repository with the published skill from 1Shot-API/skills:

npx skills add 1Shot-API/skills/ows-branding-layer -g -a cursor -y
# or from this monorepo: npm run skills:install

License

MIT — see LICENSE.

About

A reference implementation for a PRF-based wallet

Topics

embedded-walletprfwalletwebauthn

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.