This repository contains a demo application that demonstrates how to use the Casper Wallet Sign & Verify message.
To get started with this template, follow the steps below:
- Clone the repository: Clone this repository to your local machine.
- Install dependencies: Install the necessary dependencies by running
yarn install
. - Copy environment variables: Copy the
.env.example
file to.env
(cp .env.example .env
) and fill in the required environment variables. - Run the development server: Start the development server by running
yarn dev
. - Open the application: Open your web browser and navigate to
http://localhost:3000
to see the application in action. - Install Casper Wallet: Make sure to have installed Casper Wallet.
This project includes the following npm scripts:
yarn dev
: Starts the development server.yarn build
: Builds the application for production.yarn start
: Starts the application in production mode.yarn type-check
: Runs TypeScript to check for type errors.yarn lint
: Runs ESLint to catch issues.yarn lint:fix
: Runs ESLint to catch and fix issues.yarn format
: Runs Prettier to format all code.yarn commit
: Runs Commitizen for commit message prompts.yarn reinstall
: Deletesnode_modules
andyarn.lock
, then reinstalls dependencies.