Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

159 Commits

PowerChain™

Developer onboarding: Start with DEVELOPMENT.md, the canonical guide for setup, environment configuration, verification, and releases.

Programmable infrastructure for renewable energy, digital assets, and enterprise applications.

PowerChain

VersionLicenseRuntimeExecutionSecurity

Quick start · Documentation · Energy Protocol · Governance · Contributing


Overview

PowerChain is an open-source, multi-service platform for building renewable-energy infrastructure, enterprise software, programmable digital assets, and blockchain-integrated applications.

This monorepo brings together the PowerChain web platform, backend services, shared schemas, SDKs, Solana programs, Anza Pinocchio/SVM implementations, Sui contracts, developer tools, AI skills, and protocol documentation.

PowerChain is currently a beta platform. Some components are production-oriented foundations, while others remain experimental or roadmap work. Documentation identifies implementation status where practical; performance figures are targets unless backed by published benchmarks.

Platform capabilities

DomainCapabilities
Renewable energyEnergy assets, telemetry, Proof of Generation concepts, certificates, settlement, trading, funding, carbon workflows
BlockchainSolana SVM, Anchor, Pinocchio, SPL Token, Token-2022, Sui Move, cross-chain architecture
EnterpriseSaaS workspaces, identity, RBAC, audit-ready services, CRM/ERP foundations, billing and administration
Financial infrastructureWallets, payments, checkout, treasury, escrow, exchange, portfolio and marketplace primitives
Developer platformTypeScript SDKs, Rust programs, REST APIs, schemas, examples, validation scripts and local tooling
ApplicationsNext.js dashboard, documentation portal, merchant energy platform, faucet portal and operational interfaces

Architecture

Users, operators, developers, and enterprises
│
▼
Web applications and developer portals
│
▼
SDKs • REST APIs • RPC • WebSocket
│
▼
Energy • Identity • Treasury • Carbon • SaaS
│
▼
PVM architecture • Solana SVM • Sui Move
│
▼
Programs • Oracles • Validators • Data services

See the architecture documentation for detailed diagrams and subsystem boundaries.

Repository structure

apps/ Web, backend, dashboard, docs, checkout and portal applications
contracts/ Sui and chain-specific smart-contract sources
packages/ SDKs, shared libraries, integrations, schemas and UI modules
programs/ Anchor, Solana SVM, Pinocchio and token program workspaces
skills/ Versioned PowerChain AI and operational skills
scripts/ Build, validation, release, migration and workspace automation
docs/ Architecture, protocols, governance, API and developer documentation
config/ Shared version and platform configuration

Quick start

Prerequisites

  • Node.js 22 or newer
  • Corepack
  • pnpm 11
  • Rust and Cargo for Rust programs
  • Solana CLI and Anchor CLI for Anchor workflows

Install

corepack enable
corepack prepare pnpm@11.0.0 --activate
pnpm install:workspace
pnpm install:check

Copy environment defaults before starting local services:

cp .env.example .env
pnpm env:check

Run the web platform

pnpm dev:web

Run the backend

pnpm db:generate
pnpm dev:backend

Build and verify

pnpm typecheck
pnpm lint
pnpm test
pnpm docs:check
pnpm platform:verify
pnpm build

Solana and SVM programs

pnpm programs:doctor
pnpm anchor:build
pnpm anchor:test
pnpm svm:build
pnpm svm:test

Program IDs and network configuration must be reviewed before deployment. Placeholder IDs are for local compilation only.

Core workspaces

WorkspacePurpose
apps/webPrimary Next.js platform and dashboard
apps/backendFastify API, Prisma data access and backend services
packages/schemasShared runtime validation and API contracts
packages/energy-iotEnergy, telemetry, marketplace and RWA utilities
packages/saasSaaS plans, roles, limits and subscription logic
packages/solanaSolana and Token-2022 integration utilities
packages/suiSui client and contract integration
programs/powerchainAnchor-based PowerChain program
programs/svmNative SVM and Pinocchio implementations
skillsVersioned domain skills for PowerChain workflows

Documentation

TopicDocument
Documentation indexdocs/README.md
Introductiondocs/INTRODUCTION.md
Architecturedocs/architecture/README.md
Energy Protocoldocs/protocols/ENERGY.md
Governancedocs/governance/GOVERNANCE.md
Improvement proposalsdocs/governance/pips/README.md
APIdocs/API.md
Developer guidesdocs/developers/README.md
Roadmapdocs/ROADMAP.md
Work trackingdocs/TODO.md
Glossarydocs/GLOSSARY.md

Development standards

PowerChain uses:

  • Semantic Versioning and Changesets
  • Conventional Commits
  • TypeScript strictness and shared schema validation
  • Rust formatting and Clippy guidance
  • Pull-request review and CODEOWNERS
  • Security review for protocol, authentication and asset-handling changes
  • Documentation updates for public API and protocol changes

Read CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md before contributing.

Security

Do not report vulnerabilities in public issues. Follow the private disclosure process in SECURITY.md.

Never commit seed phrases, private keys, validator identities, API tokens, database credentials, or production secrets. Faucet signing and wallet authentication must remain server-side and non-custodial.

Governance

Significant protocol changes should follow the PowerChain Improvement Proposal process. Start with the PIP guide and proposal template.

Release status

Current workspace version: 1.0.0-beta.1

Beta releases may contain breaking changes. Review CHANGELOG.md, Changesets, migration files, and deployment notes before upgrading.

Support

For usage questions and responsible support channels, see SUPPORT.md. For implementation work, include the affected package, reproduction steps, runtime versions, and relevant logs without secrets.

License

Licensed under the Apache License 2.0.

Copyright © 2026 PowerChain Foundation. All rights reserved.

About

PowerChain is a Solana-based protocol and infrastructure platform for building tokenized ecosystems, renewable-energy infrastructure, real-world asset applications, enterprise software, and blockchain-integrated financial products.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages