Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-torus-app

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-torus-app

The easiest way to get started with Web3 is by using `create-torus-app`. This CLI tool enables you to quickly start building a new Web3 application, with everything set up for you. You can create a new app using the default Torus template, or by using one

  • 0.4.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Create Torus App

The easiest way to get started with Web3 is by using create-torus-app. This CLI tool enables you to quickly start building a new Web3 application, with everything set up for you. You can create a new app using the default Torus template, or by using one of the official Torus examples. To get started, use the following command:

npx create-torus-app
# or
yarn create torus-app

To create a new app in a specific folder, you can send a name as an argument. For example, the following command will create a new Torus app called my-app in a folder with the same name:

npx create-torus-app my-app
# or
yarn create torus-app

Options

create-torus-app comes with the following options:

  • -e, --example [name]|[github-url] - An example to bootstrap the app with. You can use an example name from the official Torus examples or a GitHub URL. The URL can use any branch and/or subdirectory.
  • --example-path <path-to-example> - In a rare case, your GitHub URL might contain a branch name with a slash (e.g. bug/fix-1) and the path to the example (e.g. foo/bar). In this case, you must specify the path to the example separately: --example-path foo/bar
  • --use-npm - Explicitly tell the CLI to bootstrap the app using npm. To bootstrap using yarn we recommend to run yarn create torus-app

Why use Create Torus App?

create-torus-app allows you to create a new Torus app within seconds. It is officially maintained by Torus Labs, and includes a number of benefits:

  • Interactive Experience: Running npx create-torus-app (with no arguments) launches an interactive experience that guides you through setting up a project.
  • Zero Dependencies: Initializing a project is as quick as one second. Create Torus App has zero dependencies.
  • Offline Support: Create Torus App will automatically detect if you're offline and bootstrap your project using your local package cache.
  • Support for Examples: Create Torus App can bootstrap your application using an example from the Torus examples collection (e.g. npx create-torus-app --example [name][github-url]).

FAQs

Package last updated on 02 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc