Join our
Discord!
LogoLogo
SupraScan ExplorerStarKey WalletDiscord
MoveVM
  • Network
  • Oracles
  • Automation
  • SupraNova
  • Guides
MoveVM
  • Overview
  • Getting Started
    • Install Supra CLI with Docker
    • Create a Supra Account
    • Create a Move Package
      • Initialize a Package
      • Write a Module
      • Compile and Publish
      • Interact with a Package
    • Create a dApp with StarKey
  • Network Information
  • Token Standards
  • Learn Move 101
    • Getting Started with Move
    • Unsigned Integers in Move
    • Math Operations in Move
    • Using Vectors in Move
    • Reading Resource Data with borrow_global
    • Passing Data in Move: Value vs. Reference
    • Adding Elements with vector::push_back
    • Emitting Events with event::emit
  • Move Book
    • Getting Started
      • Modules and Scripts
      • Move Tutorial
    • Primitive Types
      • Integers
      • Bool
      • Address
      • Vector
      • Signer
      • References
      • Tuples and Unit
    • Basic Concepts
      • Local Variables and Scope
      • Equality
      • Abort and Assert
      • Conditionals
      • While, For, and Loop
      • Functions
      • Structs and Resources
      • Constants
      • Generics
      • Type Abilities
      • Uses and Aliases
      • Friends
      • Packages
      • Package Upgrades
      • Unit Tests
    • Global Storage
      • Structure
      • Operators
    • Reference
      • Standard Library
      • Coding Conventions
  • TypeScript SDK
    • Guides
      • Create Supra Accounts
      • Publish a Package
    • Documentation
    • Repository
  • Rest API
    • Mainnet
      • Accounts
      • Faucet
      • Transactions
      • Block
      • View
      • Consensus
      • Events
      • Tables
    • Testnet
      • Accounts
      • Faucet
      • Transactions
      • Block
      • View
      • Events
      • Tables
  • Developer Resources
    • Supra Dapp Templates
    • Supra Move VS Code Extension
  • Links
    • Supra DevHub
    • SupraScan Block Explorer
    • StarKey Wallet
    • Live Data Feeds
    • Whitepapers
    • Security Audits
    • Supra's Official GitHub
Powered by GitBook
On this page
  • Prerequisites
  • How to use:
  • Running Your Project:
  • Templates Available in the Package:
  • Contribution:
Edit on GitHub
  1. Developer Resources

Supra Dapp Templates

PreviousTablesNextSupra Move VS Code Extension

Welcome to , your go-to starter kit for dapp development on the Supra network. This npm package allows developers to bootstrap their dapps with ease and efficiency.

Prerequisites

Before getting started, ensure the following:

  • installed.

  • installed.

How to use:

Follow these steps to create your dapp:

1

Navigate to your desired directory:

cd your/workspace
2

Run the following command:

npx @supranpm/supra-dapp-templates
3

Follow the CLI prompts:

  • Name your project.

  • Choose a template.

Running Your Project:

After you've selected your template and completed the setup, here’s how you can execute and run your project assuming you have used Supra StarKey Wallet Dapp Template:

1

Navigate to your project directory.

cd your/project-name
2

Build & Run the Frontend of the Dapp.

npm run build
npm start
3

And your project should be up and running! Connect to your Starkey Wallet

Templates Available in the Package:

npx @supranpm/supra-dapp-templates offers multiple templates to accelerate dapp development:\

  • Basic Smart Contract Template: Boilerplate smart contract for quick access.

  • Supra SDK Dapp Template: Sample Supra SDK with StarKey Wallet integration for building a to-do list dApp and Frontend Integration.

  • Supra StarKey Wallet Dapp Template: A Spin the Wheel dapp built on Supra MoveVM Testnet with Supra_framework, StarKey Wallet & Frontend Integration

  • SupraVRF Move Template: Template for dapps using Supra dVRF on MoveVM.

Contribution:

We welcome contributions to enhance the functionality, add more dapp templates, or improve the user experience of this package. Here’s how you can contribute:

  • Fork the main repository on GitHub.

  • Clone the forked repository to your local machine.

  • Make your changes and push them.

  • Submit a pull request to the main repository.

@supranpm/supra-dapp-templates
Node.js and npm
Python 3.6+
LogoGitHub - Entropy-Foundation/Supra-dapp-templates: This package provides a starter kit for dapp developers to bootstrap easily on the Supra network.GitHub