Skip to content

OriginProtocol/charm-dapp

Repository files navigation

tw-banner

vite-starter

Starter template to build onchain applications with thirdweb and vite.

Features

  • thirdweb & vite pre-installed and configured to reduce setup steps
  • ConnectButton to onboard users to your application

Installation

Install the template using thirdweb create

  npx thirdweb create app --vite

Environment Variables

To run this project, you will need to add the following environment variables to your .env file:

CLIENT_ID

To learn how to create a client ID, refer to the client documentation.

Run locally

Install dependencies

yarn

Start development server

yarn dev

Create a production build

yarn build

Preview the production build

yarn preview

Additional Resources

Need help?

For help or feedback, please visit our support site