Skip to content

Latest commit

 

History

159 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The Grid Frontend is built with the following stack:

Getting Started

Note

We are using Next 16 with React 19, follow these steps:

Clone the repo:

git clone https://github.com/AIPowerGrid/grid-frontend.git
  • pnpm install ( we have legacy-peer-deps=true added in the .npmrc)
  • Create a .env.local file by copying the example environment file: cp env.example.txt .env.local
  • Add the required environment variables to the .env.local file.
  • pnpm run dev

You should now be able to access the application at http://localhost:3000.

Architecture

The console is a Next.js backend-for-frontend for Grid core. Browser components call same-origin /api handlers; those server handlers attach the authenticated Grid session key. Accounts, API keys, usage, workers, validator scorecards, and payouts live in Grid core. The console does not require direct database access.

Production currently deploys on Vercel. The checked-in Cloudflare/OpenNext import is incomplete and is not a supported deploy path until its package, Worker configuration, build, and runtime smoke tests are committed together.

Validator Account Pairing

The released local operator app creates and keeps a dedicated validator signer and scoped key on the node. A personal wallet or Console-created key is not required to start a node.

The new Console pairing flow is under review, not a public enablement. It pairs an existing node with an existing human account for private status visibility. The human approves in the Console, compares a code, then confirms separately in the local app. No node keys, payout rights, account merges, or economic authority are transferred. Core migration 0030, the node client, and a supervised canary must land before enabling Core's default-off VALIDATOR_PAIRING_ENABLED flag.

Run pnpm build, pnpm test:auth-smoke, and pnpm test:validator-pairing for local verification. pnpm test:validator-pairing --ui starts a test-only mock Core/sign-in fixture for browser QA; it uses no real accounts or production keys. See validator DOX for contracts and rollout gates. Preview.12 does not yet contain local-app pairing controls.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages