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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-monad-dapp

v1.3.4

Published

A full-stack starter template with React & Hardhat to develop, deploy, and test Solidity smart contracts on the Monad network.

Readme

A full-stack starter template built with React, Hardhat, and Next.js to develop, deploy, and test Solidity smart contracts on the Monad network. It’s tailored for speed and hackathon productivity – zero configuration needed.


📦 Features

  • Hardhat for Monad: Pre-configured for Monad’s parallel EVM Layer 1.
  • 🎛️ Wagmi: React Hooks for seamless blockchain interaction.
  • 🌈 RainbowKit: Easy-to-use wallet connector.
  • 🧬 Privy: Secure user data management.
  • TailwindCSS: Utility-first CSS framework.
  • 🧱 Next.js: Optimized for production-ready apps.
  • 🔗 DataContext Integration: Includes a DataContext file with Ether.js contract interaction functions for streamlined blockchain communication.

🚀 Quickstart

npx create-monad-dapp <your-dapp-name>
cd <your-dapp-name>
pnpm install # or yarn install
npx hardhat compile # to compile contracts
npx hardhat test # to run tests
npx hardhat run scripts/deploy.js --network monad  # to deploy contracts
pnpm run dev # or yarn start # to start the React app

🔧 Environment Setup

Create a .env file in the root directory and add:

PRIVATE_KEY=
NEXT_PUBLIC_PROJECT_ID= // From Reown SDK 

🔐 Use your Metamask private key and respective API IDs.


🛠️ Development

🔨 Compile Contracts

npx hardhat compile

🧪 Run Tests

npx hardhat test

✍️ Write Contracts

  • Place them in the ./contracts/ folder
  • Example: Replace Greeter.sol with your custom .sol file

✍️ Write Tests

  • Place them in the ./test/ folder
  • Format: <contract-name>.test.js

⛓️ Deploy to Monad Testnet

Make sure you're connected to the Monad testnet and have funds.

Update scripts/deploy.js with your contract name and run:

npx hardhat run --network monad scripts/deploy.js

📜 Contract deployed to: 0x... – paste this address into src/App.js


💻 Start the React App

pnpm run dev # or yarn start

Visit http://localhost:3000 to see your app live.


📂 File Structure

create-monad-dapp/
├── contracts/           # Solidity contracts
├── test/                # Hardhat test files
├── scripts/             # Deployment scripts
├── src/                 # Frontend in Next.js App Router
│   ├── app/             # App Router entry point
│   ├── components/      # Reusable React components
│   ├── styles/          # CSS and Tailwind styles
│   ├── App.js           # Main frontend app
│   ├── artifacts/       # ABI and Bytecode
│   └── ...
├── .env                 # Environment variables
├── hardhat.config.js    # Hardhat config
├── tailwind.config.js   # Tailwind setup
└── README.md            # You're here!

---

## 🔗 Resources

- [Monad Documentation](https://www.monad.xyz/ecosystem)
- [Hardhat Docs](https://hardhat.org/hardhat-runner/docs)
- [RainbowKit](https://www.rainbowkit.com)
- [Wagmi](https://wagmi.sh)

---

## 🤝 Contributing

We welcome contributions! Please read our [contributing guidelines](CONTRIBUTING.md) for details.

---

## ⚖️ License

Licensed under the [MIT License](https://github.com/Kali-Decoder/create-monad-dapp/blob/main/LICENSE).

---

## ⭐️ Show Some Love

If this starter kit helped you, drop a star ⭐️ and connect with me:

<a href="https://x.com/itsNikku876" target="_blank">
  <img src="https://img.shields.io/twitter/follow/itsNikku876?style=social" alt="twitter" />
</a>