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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@eveworld/create-eve-dapp

v0.0.7

Published

A binary for bootstrapping an EVE Frontier decentralized application

Downloads

43

Readme

@eveworld/create-eve-dapp 🚀

The @eveworld/create-eve-dapp package is a command-line tool that helps you scaffold a new decentralized application (dApp) project, specifically designed for the EVE Frontier ecosystem. You can choose between a Smart Assembly Base or a DApp Scaffold to kickstart your development.

✨ Features

  • 🏗️ Smart Assembly Base: Easily customize and extend the Smart Assembly.
  • 🖼️ DApp Scaffold: Build your custom dApp from scratch.
  • ⚡ Built with Vite, Material UI, TailwindCSS, React Router, and Viem for modern, fast, and flexible development.

📖 Table of Contents

  1. Prerequisites
  2. Quick Start
  3. Development Options
  4. License

⚙️ Prerequisites

Before starting, make sure you have the following installed:

  • 📦 pnpm v8: Install with npm install --global pnpm@8
  • 🖥️ Node.js v18+: Use nvm use 18 to switch to Node v18 or later.

Important: Ensure you are using pnpm v8 to avoid any package resolution issues during installation.


🚀 Quick Start

1. Initialize a New DApp

Run this command to scaffold a new dApp:

npx @eveworld/create-eve-dapp my-dapp

Alternatively, to create a DApp Scaffold:

npx @eveworld/create-eve-dapp --type scaffold my-dapp

2. Navigate to the Project Directory

cd my-dapp

3. Install Dependencies

Install all the required dependencies using pnpm:

pnpm install

4. Set Up Environment Variables

Clone the provided .envsample file to create a local .env file:

cp .envsample .env

Then, configure the following environment variables in your .env file:

VITE_SMARTASSEMBLY_ID=
VITE_GATEWAY_HTTP="https://blockchain-gateway-nebula.nursery.reitnorf.com"
VITE_GATEWAY_WS="wss://blockchain-gateway-nebula.nursery.reitnorf.com"

This setup will allow your dApp to connect to the specified blockchain indexer.

5. Run the Development Server

To start the development server, run:

pnpm run dev

Open http://localhost:3000 in your browser to view your dApp.

6. Build for Production

When you're ready to deploy your dApp, generate a production-ready bundle:

pnpm run build

Or, to specify production mode explicitly:

pnpm run build --mode prod

🛠️ Development Options

You have two main options when using this tool:

  1. Customize the Smart Assembly Base for your project.
  2. Start fresh with a DApp Scaffold to build your dApp from scratch.

To get started with either option:

npx @eveworld/create-eve-dapp my-dapp

Or, for a scaffolded dApp:

npx @eveworld/create-eve-dapp --type scaffold my-dapp

Then follow these steps:

cd my-dapp
pnpm install
pnpm run dev

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.