Deploy to Testnet

  1. Deploy program to the Testnet, please refer to the documentation.

Declare Environment Variables:

Create a .env file; .env.example will let you know what variables are expected.

  • VITE_NODE_ADDRESS: The network address used by the contract.
  • VITE_CONTRACT_ADDRESS: The program ID of the deployed contract within your application.

Using Yarn

  1. Install Yarn

  2. Install dependencies the project

    yarn install
    yarn build
  3. How to run

  • yarn dev - starts app in dev mode
  • yarn build - creates production build
  • yarn start - runs local server with production build