frontend to submit setIdentity + requestJudgement on polkadot-sdk chains using polkadot-api.
Setting it up with Nix is the recommended way, since it takes care of setting up dependencies & environment. Visit https://nixos.org/download/ and follow the installation instructions.
Once you have cloned the repo, and opened a terminal within this repo, you can run nix-shell
to start.
After entering the Nix shell for the first time, you'll need to run the setup script manually:
scripts/setup.sh
For debugging, simply run nix-shell --command "bun dev"
For building, just run nix-shell --command "bun run build"
First of all, make sure you set up your environment correctly. Those versons are recommended to prevent issues on debug or building. Please make sure you
curl -fsSL https://bun.sh/install | bash -s "bun-v1.1.35"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
nvm install 22
Then, just run and visit http://localhost:3333
bun install
Before debugging or building, make sure to have the .env
file:
cp .env.example .env
You might edit it to set your endpoints. If debugging, Vite will restart on edit.
bun dev
To generate/update scale metadata
bunx [email protected] update # or bun metadata
To build the App, run
bun run build
Docs can be found at
You can also generate it via comand
bunx papi-generate-docs --config .papi/polkadot-api.json --output docs/