npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@solarpunkltd/stellar-dapplink

v0.0.1

Published

**stellar-dapplink** is a project focused on enabling interoperability between Stellar blockchain accounts and passkey-based authentication (WebAuthn). The goal is to allow users to securely manage Stellar accounts using modern, passwordless authenticatio

Readme

Overview

stellar-dapplink is a project focused on enabling interoperability between Stellar blockchain accounts and passkey-based authentication (WebAuthn). The goal is to allow users to securely manage Stellar accounts using modern, passwordless authentication methods.

Features

  • Passkey (WebAuthn) authentication for Stellar accounts
  • Provides interoperability between dApps so you can use the same wallet with different dapps
  • Secure key management and signing
  • Example flows for account creation, authentication, and transaction signing
  • Modular design for integration with other Stellar or WebAuthn projects

Getting Started

Prerequisites

  • Node.js (version v22.0.0 or higher)
  • yarn
  • A supported browser for WebAuthn (only Chrome is supported as of now)

Installation and Usage

git clone https://github.com/Solar-Punk-Ltd/stellar-dapplink.git
cd stellar-dapplink
yarn install
npm run dev

Example usage

import { AuthProvider } from './src/Provider/Auth';

function App() {
  const handleCreate = (passKey) => {
    // Use passKey to connect the user's Stellar wallet
    // Redirect or update UI as needed
  };

  return <AuthProvider domain="https://your-app-domain.com" onCreate={handleCreate} />;
}
  • Identity Selection: Users can choose from their available passkeys, providing a familiar and secure login experience.
  • Wallet Connection: After authentication, the selected passkey can be linked to a Stellar account for secure transaction signing and account management.
  • Redirection: Once authenticated, you can programmatically redirect users back to the original website or update the application state.

Authentication Flow

The core of this project is the seamless authentication of users via passkeys (WebAuthn), allowing them to select their identity and connect their Stellar wallet. This is achieved using the AuthProvider React component and the @solarpunkltd/passkey-kit library, which is a fork of passkey-kit

identity creation flow 1

identity creation flow 2

identity creation flow 3

AuthProvider Component

The AuthProvider component renders a secure iframe that handles passkey-based authentication. When a user initiates authentication, they are prompted to select a passkey (identity) from their device. Upon successful authentication, the selected passkey is returned and can be used to connect the user's Stellar wallet.

See the example videos below: The user authenticates from different domains and then uses the chat functionality from the same and identity. same passkeys

The user authenticates from different domains with different identities. different passkeys

Session Key Management

Signing all transactions one-by-one in a dApp can be frustrating. Creating a temporary key and authorizing it to sign transactions is a solution for this problem. This way you only sign the authorization transaction with a passkey and the session key stored securely locally in IndexedDB. We utilize smart wallets' addSigner functionality to add the session key to the authorized signers list. See more at ithaca.xyz

session keys

Passkey Library

This project uses @solarpunkltd/passkey-kit for handling passkey creation, authentication, and key management. This library abstracts the WebAuthn API and provides a simple interface for integrating passkey authentication into your app.

Example Flow and Application

  1. User visits your site and clicks "Login".
  2. AuthProvider opens a passkey selection prompt.
  3. User selects a passkey or generates a new one identity and authenticates.
  4. App receives the passkey and connects it to the user's Stellar wallet.
  5. User is redirected or the UI updates to reflect the connected state.

An example application of this library can be found at @solarpunkltd/smart-stellar-demo

Contributing

Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.