There are two ways you can run the Paper Wallet locally:
- Download the latest
dist.ziprelease, extract the contents and open theindex.htmlfile in your browser. - Clone the repo and run
pnpm devto run a local version.
By default, the Paper Wallet uses the Protokol mainnet when generating a wallet.
However, it comes bundles with multiple network options that you can switch to, making it usable on for example devnet and bridgechains.
If you run a public bridgechain, you can have your network added by creating a PR that adds the name, pubkeyHash and WIF to the existing list of networks.
If the network you want to use is not listed in the dropdown, you can switch to custom networks in the modal, fill in the pubkeyHash and WIF values of the network you want to use, and press Save to apply it. That's it!
The Paper Wallet has the following requirements:
List of commands
# Install dependencies
pnpm install
# Compiles and hot-reloads for development
pnpm dev
# Compiles and minifies for production
pnpm build
# Typecheck
pnpm typecheck
# Lint the code
pnpm lint
# Run your tests
pnpm test:e2e
pnpm test:unit
# Generate release zips
pnpm task:release
# Deploy on GitHub pages
pnpm task:deployCompany AI skills and security guardrails for coding agents come from protokol/protokol-ai, distributed as Agent Skills.
They are not committed — skills-lock.json pins them and the postinstall
hook refreshes them on every install:
"postinstall": "npx -y skills update -y --copy || true"update compares each skill's GitHub tree hash against the lock and re-copies
only what changed, so a normal install is cheap. The || true keeps a flaky
network from breaking pnpm install. A fresh clone restores exactly the pinned
skills into .claude/skills/ (and .agents/skills/ for other agents) — no
extra step. Both directories are gitignored.
To pull in new skills or re-seed the lock:
npx skills add protokol/protokol-ai --skill '*' -a claude-code -y --copySecurity guardrails (security-dangerous-commands, security-git-safety,
security-secret-protection, security-exfiltration-prevention,
security-file-protection, security-database, security-package-install,
security-prompt-injection) ship deterministic PreToolUse hooks. On
hook-capable agents (Claude Code, Cline, Kiro CLI) they hard-block the action;
elsewhere they are advisory instruction only.
Optional extras, installed from upstream so they stay fresh — they land in the
same lock, so postinstall refreshes them too:
npx skills add obra/superpowers -a claude-code # skip the 3 protokol-core forks
npx skills add mattpocock/skills --skill handoff -a claude-code
npx skills add shadcn/improve -a claude-code # audit -> plans for cheaper modelsIf you discover a security vulnerability within this package, please send an e-mail to info@protokol.com. All security vulnerabilities will be promptly addressed.
This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, under the following terms:
You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
You may not use the material for commercial purposes. For commercial purposes please reach out to info@protokol.com.
If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
Read the rest of the obligatory license legal code.
