Skip to content

holonym-foundation/zk-frontend

Repository files navigation

Welcome

Repo for frontend at https://app.holonym.id (formerly https://whoisthis.wtf).

⚠️ Please do this before contributing

If you have priviliges to commit to master, please add this to .git/hooks/pre-commit to prompt. Doing so will make it difficult to accidentally commit without completing a checklist. It is important not to commit to the main branch until you have done these manual tests in the checklist, which cannot be easily automated. This will give you the checklist and make sure you've confirmed succesful completion of this checklist before allowing you to commit :)

#!/bin/sh

branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "main" ]; then
  echo "\x1B[1;31mWARNING: YOU'RE ATTEMPTING TO COMMIT TO THE MASTER\033[0m Are you sure you want to do this? Have you done the following four items:
	  * Gone through every page you changed at tested that it looks good on all browser sizes, multiple browsers, and mobile?
	  * Manually tested wallet UX flows on a browser with a connected wallet, disconnect wallet, incognito and mobile?
	  * Checked that payments are not broken? (unlikely to break but important to not break)
	if you are sure about commiting these changes to master, type \033[;33m global thermonuclear war commit\033[0m"

	exec < /dev/tty
	read response
	if [ "$response" = "global thermonuclear war commit" ];
	then
		echo OK
	else 
		exit 1
	fi
fi

Setup

First, install Node.js 16. We recommend using nvm to manage your Node.js versions.

Clone the repo.

git clone https://github.com/holonym-foundation/zk-frontend.git

Install dependencies with yarn.

yarn install

Run the development server.

yarn dev

Other required services

Note that this repo is only the frontend and is not fully functional on its own.

To fully function, the following servers must also be running:

Another note: This frontend and the relayer use ZK circuits and call smart contracts defined in id-hub-contracts.

About

Frontend for Holonym

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •