|
|
4 주 전 | |
|---|---|---|
| apps | 4 주 전 | |
| packages | 4 주 전 | |
| .gitignore | 4 주 전 | |
| README.md | 4 주 전 | |
| bun.lock | 4 주 전 | |
| docker-compose.yml | 4 주 전 | |
| package.json | 4 주 전 |
krypco is a hybrid blockchain: a private permissioned layer anchored to a public chain. This monorepo holds the marketing site, portal, and Phase 5 local hybrid prototype.
krypco/
├── apps/
│ ├── portal/ # Next.js 15 — marketing + /portal
│ ├── indexer/ # Phase 5 hybrid sim API (:4091)
│ └── relayer/ # Watches anchors, logs public posts
├── packages/
│ ├── config
│ └── mavi-core # shared create/encrypt for mavi (portal + future extension)
├── docker-compose.yml # optional anvil private :8545 + public :8546
└── docs/
bun install
bun run dev # portal → http://localhost:3000
# optional: real local private + public EVM (anvil)
bun run chains:up
# private http://127.0.0.1:8545 public http://127.0.0.1:8546
# terminal A — private sim + explorer API
bun run dev:indexer
# terminal B — posts real public commitment txs when public anvil is up
bun run dev:relayer
# terminal C — portal
bun run dev
Without Docker, the indexer still runs a private-layer sim; anchors wait for the relayer until public RPC is available.
Secrets live in apps/portal/.env.local (gitignored). Never put m2ms_… or brai_… in NEXT_PUBLIC_*.
| Kind | Shape | Where |
|---|---|---|
| User auth (browser) | pk_briven_auth_… |
NEXT_PUBLIC_BRIVEN_AUTH_KEY |
| AI agent | brai_… |
BRIVEN_AI_AGENT_KEY (server) |
| Machine client (M2M) | m2m_… + m2ms_… |
BRIVEN_M2M_CLIENT_ID / BRIVEN_M2M_CLIENT_SECRET |
Status page: /portal/machine-auth.
OTP / magic email needs a working Briven sender domain before login codes arrive in the inbox.
packages/mavi-core. Portal UI: http://localhost:3000/portal/mavi/portal/mavi/*apps/mavi-extension (create/import/unlock vault). Load unpacked after bun run --cwd apps/mavi-extension build. Pack: bun run ext:packbun run dev # portal
bun run dev:indexer
bun run dev:relayer
bun run build
bun run typecheck
apps/portal/app/globals.css.docs/superpowers/specs/.