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
.
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.
- Add nps using either
yarn global add nps
ornpm i nps -g
- Run
nps
for a list of scripts to run in the repo.
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
Run npm run dev -- -p 4040
or yarn dev -p 4040
to run the server locally on a different port than 3000 (the default)