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-demo-starknetkit-dapp

v1.0.0

Published

Create a Starknetkit dApp with one command

Readme

create-starknetkit-app

A command-line tool for bootstrapping Starknet dApps with a single command. This package creates a modern, ready-to-go Starknet dApp based on the official demo dApp from Argent Labs, pre-configured with StarknetKit and starknet-react.

Overview

create-starknetkit-app provides a streamlined way to start building on Starknet by replicating the same structure and functionality as the Argent demo dapp repository. It generates a Next.js application pre-configured with:

  • StarknetKit - A comprehensive toolkit for building dApps on Starknet
  • starknet-react - React hooks for Starknet
  • TailwindCSS - For styling
  • TypeScript - For type safety

The generated dApp includes examples for common operations like:

  • Wallet connection/disconnection
  • Network switching
  • Transaction execution
  • Message signing
  • ERC-20 token interaction
  • Session key management

Requirements

  • Node.js 20.x or later
  • pnpm package manager (recommended)

Getting Started

To create a new Starknet dApp, run one of the following commands:

# Using npx
npx create-demo-starknetkit-app

Follow the interactive prompts to give your project a name. The CLI will then:

  1. Create a new directory with your project name
  2. Copy the template files into the directory
  3. Install dependencies
  4. Set up the project structure

Development

Once complete, you can navigate to your project and start the development server:

To start development:

cd your-project-name

# Start the development server
pnpm dev

# Build for production
pnpm build

# Start the production server
pnpm start

Project Structure

The generated project follows a modern Next.js application structure, identical to the Argent demo dApp:

your-project-name/
├── public/
├── src/
│   ├── abi/
│   ├── app/            # Next.js app directory
│   ├── components/     # Main react components
│   ├── connectors/     # Wallet connectors
│   ├── constants/
│   └── helpers/
├── .eslintrc.json
├── .gitignore
├── .prettierrc
├── next.config.ts
├── package.json
├── postcss.config.cjs
├── tailwind.config.ts
└── tsconfig.json

Features

The generated dApp includes fully functional examples of:

  • Wallet Connection: Connect with StarknetKit or individual wallet connectors
  • Transaction Management: Send and monitor transactions
  • Message Signing: Sign and verify messages
  • Network Management: Switch between mainnet and testnet
  • Token Integration: Add ERC-20 tokens to your wallet
  • Session Keys: Implement and manage session keys

Learn More

Maintenance

This package aims to stay in sync with the argentlabs/demo-dapp-starknet repository. We maintain compatibility through:

  • Regular reviews of the original repository for updates
  • Version tracking to identify which commit of the original repository each release corresponds to
  • Manual synchronization to ensure the template includes the latest features and best practices

The current template version is based on commit cea58e6c021da4fe08cabd80ee2f090fa16c59bd of the original repository. When significant updates are made to the demo dApp, we release new versions of this package with the updated template.

Checking for Updates

You can manually check if your installation is up-to-date with the original repository by running:

npx create-demo-starknetkit-app --check-updates

Syncing the Template

For maintainers of this package, you can sync the template with the latest version of the demo dApp by running:

npm run sync-template

This will:

  1. Clone the latest version of the demo-dapp-starknet repository
  2. Update your local template files
  3. Update the commit hash reference in package.json and README.md

After syncing, you should commit the changes and publish a new version of the package.

A GitHub Actions workflow is also available for manual triggering, which will perform the sync operation and create a pull request with the changes for review.