OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Create Near App

Create Near App is a command-line scaffolder that generates starter projects for applications backed by the NEAR blockchain. It offers Next.js frontend choices and JavaScript or Rust contract templates, including frontend-only and contract-only project configurations.

Independent OpenViST project profile, based on linked sources.

Create Near App — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when beginning a NEAR project and you want to choose starter frontend and contract components from the command line.

Who it is for

  • Developers starting a NEAR application who want a generated project structure.
  • Teams choosing between a Next.js frontend, a JavaScript or Rust contract, or a combination of these components.

Documented uses

  • Generate a NEAR project through interactive CLI prompts.
  • Choose a Next.js Pages Router or App Router frontend.
  • Scaffold a JavaScript or Rust smart contract, with or without a frontend.
  • Optionally install dependencies from the generated package.json files.
Before you choose

Requirements & limits

The documented setup uses Node.js and npx from a command line. The repository is public and identifies MIT licensing; its README also states MIT and Apache 2.0 license terms.

  • Node.js targets version 16+ for JavaScript contracts and 18+ for frontend or gateway work.
  • Frontend choices include Next.js Pages Router and App Router.
  • Contract choices are JavaScript and Rust, and either component can be omitted.
  • The --install option installs dependencies from all package.json files.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Generate a NEAR starter project

Create a project scaffold with the frontend and contract combination you need.

Before you start

  • A current Node.js installation: version 16+ for JavaScript contracts and 18+ for frontend or gateway work.
  • A terminal and access to npx.

Steps

  1. Run the command below.

    Documented command
    npx create-near-app@latest
  2. Follow the interactive prompts to choose the project configuration.

  3. Read the README.md created in the new project and follow its next instructions.

Expected outcome

A generated NEAR project containing the selected starter components.

Guide limitations

  • The generator's README directs users to the generated project's README for subsequent steps.
  • Node.js version targets differ between JavaScript contracts and frontend or gateway work.
Source-based practical guide

Select scaffold components with CLI arguments

Specify a project name, frontend option, and contract option without answering interactive prompts.

Before you start

  • A current Node.js installation appropriate to the selected project components.
  • A terminal and access to npx.

Steps

  1. Run the command below with a value selected for each required option.

    Documented command
    npx create-near-app --frontend next-app|next-page|none --contract js|rs|none
  2. Add --install if you want the CLI to install dependencies from all package.json files.

  3. Follow the README.md in the generated project.

Expected outcome

A scaffold configured for the chosen frontend and contract options, with dependency installation included if requested.

Guide limitations

  • When using CLI arguments, all arguments are required except --install.
  • The documented frontend choices are next-app, next-page, or none; contract choices are js, rs, or none.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
10 October 2026
Original website title
near/create-near-app · Official homepage title · retained in its source language