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

create-porto-web-app

v0.1.5

Published

Scaffold the Porto Web App (Vite + React + TypeScript + Porto + wagmi)

Readme

create-porto-web-app

Scaffold the Porto Web App - A complete Vite + React + TypeScript + Porto + wagmi template with mobile & web support

npm version License: MIT

🚀 Quick Start

# ✅ CORRECT - Use npx to create your app
npx create-porto-web-app@latest my-app
cd my-app
npm install
npm run dev

⚠️ Important: Always use npx create-porto-web-app (not npm install create-porto-web-app). This is a scaffolder tool, not a regular package.

✨ What You Get

  • ⚡ Vite + React + TypeScript - Lightning fast development
  • 🔐 Porto Integration - Next-gen account stack with passkeys
  • 📱 Mobile & Web Support - Responsive design with WebAuthn
  • 🌐 RISE Testnet Ready - Pre-configured for gasless transactions
  • 🎨 Modern UI - Glassmorphism design with neumorphic elements
  • 🔧 HTTPS Development - mkcert integration for local HTTPS

🔑 How Porto Works

Porto is a next-generation account stack for Ethereum that replaces traditional seed phrases with passkeys (WebAuthn). Here's how it works:

Traditional Wallets vs Porto

  • Traditional: Seed phrase → Private key → Address
  • Porto: Passkey → WebAuthn → Account abstraction → Gasless transactions

Key Benefits

  • 🔐 No Seed Phrases - Use your device's biometrics (fingerprint, face ID)
  • ⛽ Gasless Transactions - Built-in account abstraction
  • 📱 Cross-Platform - Works on mobile and desktop
  • 🛡️ Enhanced Security - Hardware-backed authentication
  • 🌐 Web Standards - Built on WebAuthn and FIDO2

How Passkeys Work

  1. Registration: User creates a passkey using device biometrics
  2. Authentication: WebAuthn verifies identity without exposing private keys
  3. Transaction: Porto handles account abstraction for gasless execution
  4. Signing: Passkey signs the transaction securely

📱 Mobile & Web Support

This template includes:

  • Responsive Design - Adapts to mobile and desktop screens
  • WebAuthn Polyfills - Ensures compatibility across browsers
  • HTTPS Requirements - WebAuthn requires secure contexts
  • Touch-Friendly UI - Optimized for mobile interactions

🛠️ Development

Prerequisites

  • Node.js 16+
  • Modern browser with WebAuthn support
  • HTTPS for mobile testing (included with mkcert)

Available Scripts

npm run dev      # Start development server (HTTPS)
npm run build    # Build for production
npm run preview  # Preview production build
npm run lint     # Run ESLint

Mobile Testing

For mobile testing, the dev server runs on HTTPS with mkcert:

  • Desktop: https://localhost:5173
  • Mobile: https://[your-ip]:5173 (ensure HTTPS)

🌐 RISE Testnet

The app is pre-configured for RISE testnet:

  • Chain ID: 11155931
  • RPC: https://testnet.riselabs.xyz
  • Explorer: https://testnet.riselabs.xyz
  • Features: Gasless transactions, account abstraction

📦 What's Included

my-app/
├── src/
│   ├── components/
│   │   ├── WalletConnect.tsx    # Porto wallet connection
│   │   └── SimpleDApp.tsx       # Demo dApp with transactions
│   ├── config.ts                # wagmi + Porto configuration
│   └── ...
├── public/
├── vite.config.ts               # HTTPS + mkcert setup
├── tsconfig.json               # TypeScript configuration
└── package.json                # Dependencies & scripts

🔧 Configuration

The template includes:

  • wagmi - React hooks for Ethereum
  • viem - TypeScript interface for Ethereum
  • Porto - Passkey-based wallet integration
  • @tanstack/react-query - Data fetching and caching
  • vite-plugin-mkcert - Local HTTPS certificates

📚 Learn More

❓ Troubleshooting

Common Issues

❌ Error: EPERM: operation not permitted

# This happens when you try to install instead of using npx
npm i create-porto-web-app  # ❌ WRONG

# Use npx instead
npx create-porto-web-app my-app  # ✅ CORRECT

❌ Error: Cannot find path 'test-local'

# Make sure you're in the right directory
cd my-app  # Navigate to your created app
npm run dev

❌ Mobile WebAuthn not working

  • Ensure you're using HTTPS (included with mkcert)
  • Try https://localhost:5173 on desktop first
  • For mobile: https://[your-ip]:5173

🤝 Contributing

Contributions welcome! Please feel free to submit a Pull Request.

📄 License

MIT © Chris Wilder


Built with ❤️ by Chris Wilder - Making Web3 accessible with passkeys