Skip to content

kacperkoza34/claim-page

Repository files navigation

Hedera Claiming page

Getting Started

  1. Install project dependencies using npm:

    pnpm install
  2. Create a .env file in the root directory of the project with the following environment variables:

    VITE_HEDERA_NETWORK=testnet
    VITE_HEDERA_SMART_CONTRACT_ID=0.0.12345
    
    VITE_WALLET_CONFIG_NAME=My app
    VITE_WALLET_CONFIG_DESCRIPTION=My app description
    VITE_WALLET_CONFIG_ICON_URL=https://myappicon.example/
    VITE_WALLET_CONFIG_APP_URL=https://walletconfginurl.example/

Available Scripts

Start project in dev mode

pnpm run dev

Build project

pnpm run build

Serve static files after build

pnpm run preview

Run linter

pnpm run lint

Deployment with github pages

  1. Fork repo
  2. On your forked repo go to Settings

Alt text

  1. Go to Pages

Alt text

  1. Enable GitHub Actions

Alt text

  1. Go to Actions

Alt text

  1. Select Deploy static content to pages

Alt text

  1. Run workflow with yor details

Alt text

Alternatively you can set you environment variables in repo setting. Variables set in that way take priority over values provided in Run workflow form.

Alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published