/website-testnet

The Iron Fish testnet website.

Primary LanguageTypeScriptMozilla Public License 2.0MPL-2.0

website-testnet

The website for the Iron Fish testnet. The rest of the Iron Fish website can be found in iron-fish/website.

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Create an .env.local file. You can copy the existing template (cp .env.template .env.local)

NEXT_PUBLIC_API_URL=https://api-staging.ironfish.network
NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY=pk_live_5395524DA68DA294
NEXT_PUBLIC_LOCAL_USER=false

Then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Scripts

  1. Add nps using either yarn global add nps or npm i nps -g
  2. Run nps for a list of scripts to run in the repo.

Commit Hooks

By default we run a precommit hook which runs nps care. If needed, you can avoid this hook by adding a --no-verify flag, e.g. git commit -m "cool" --no-verify

Alternate Port

Run npm run dev -- -p 4040 or yarn dev -p 4040 to run the server locally on a different port than 3000 (the default)