Build wallets, decentralized applications, digital payments, tokenized assets, enterprise financial infrastructure, renewable energy marketplaces, and AI-powered blockchain services with a modern, modular SDK.
Documentation • API Reference • Examples • Playground • Changelog
PowerChain Web3.js is the official JavaScript and TypeScript SDK for the PowerChain Network, providing a production-ready development platform for enterprise blockchain, programmable finance, renewable energy infrastructure and AI-native applications.
Designed for developers, enterprises, financial institutions, utilities, governments and ecosystem partners, the SDK delivers a modular, strongly typed and extensible API that unifies blockchain infrastructure, digital assets, programmable payments, treasury management, tokenised renewable energy, carbon markets, AI-powered automation and enterprise services through a consistent developer experience.
Built using a modern layered architecture, PowerChain Web3.js supports Node.js, browsers, serverless platforms, edge runtimes and mobile applications while maintaining a stable, backwards-compatible public API. Tree-shakeable ES Modules, OpenAPI, GraphQL, JSON-RPC, OpenTelemetry, Semantic Versioning, signed package provenance and enterprise-grade tooling enable teams to build secure, observable and scalable applications from prototype to production.
PowerChain Web3.js is organised into a layered architecture that cleanly separates application frameworks, SDK modules, middleware, transport protocols and blockchain infrastructure. This modular design enables excellent maintainability, extensibility and long-term compatibility across every supported runtime.
PowerChain Web3.js layered architecture illustrating the application, SDK, middleware, transport and blockchain infrastructure layers.
| Layer | Components |
|---|---|
| Applications | Next.js • React • Vue • Angular • Node.js • Mobile • Serverless |
| SDK Modules | Wallet • Payments • Treasury • Exchange • Marketplace • AI • Energy • Governance |
| SDK Core | Client • Middleware • Plugins • Authentication • Events • Caching |
| Transport | REST • JSON-RPC • GraphQL • WebSocket • Streaming APIs |
| Infrastructure | PowerChain Network • Solana • Helius • Jupiter • Pyth • Enterprise Services |
For the complete technical architecture, see ARCHITECTURE.md.
PowerChain combines enterprise cloud architecture with modern blockchain infrastructure to simplify application development.
- Enterprise-grade SDK
- TypeScript First
- Stable Public APIs
- Modular Architecture
- Tree Shakeable Packages
- Plugin Framework
- Middleware Pipeline
- Production Ready
- Payments
- Treasury
- Exchange
- Wallets
- Settlement
- Billing
- Payroll
- Escrow
- Marketplace
- Wallets
- Programs
- Transactions
- SPL Tokens
- Token-2022
- Cross-Chain
- Smart Contracts
- Transaction Simulation
- Address Lookup Tables
- GridOS™
- Solar
- Wind
- Battery Storage
- Hydrogen
- Energy Marketplace
- Renewable Energy Certificates
- Carbon Credits
- Financial Copilot
- Treasury Copilot
- Risk Engine
- Fraud Detection
- AI Agents
- Forecasting
- Workflow Automation
| Category | Features |
|---|---|
| Wallet | Wallets, Accounts, Signing, Recovery |
| Blockchain | Transactions, Programs, Tokens, Metadata |
| Payments | Checkout, Billing, Invoices, Settlement |
| Treasury | Accounts, Liquidity, Forecasting |
| Exchange | Swap, Bridge, Portfolio |
| Marketplace | Products, Orders, Escrow |
| Energy | Renewable Assets, GridOS™, Carbon Credits |
| AI | Agents, Copilot, Risk, Analytics |
| Enterprise | Identity, Audit, Policy Engine |
| Developer | CLI, Playground, Examples |
pnpm add @powerchain/web3.jsnpm install @powerchain/web3.jsyarn add @powerchain/web3.jsimport { PowerChainClient } from "@powerchain/web3.js";
const client = new PowerChainClient({
network: "mainnet",
});
const wallet = await client.wallet.create();
console.log(wallet.address);
const payment = await client.payments.create({
amount: 100,
currency: "USDC",
recipient: wallet.address,
});
const quote = await client.exchange.quote({
inputMint: "...",
outputMint: "...",
amount: 1000000,
});apps/
packages/
contracts/
programs/
registry/
runtime/
platform/
schemas/
specifications/
examples/
templates/
developer/
docs/
tests/
benchmarks/
tools/
scripts/
| Package | Description |
|---|---|
@powerchain/web3.js |
Core SDK |
@powerchain/sdk |
Enterprise SDK |
@powerchain/react |
React Integration |
@powerchain/react-ui |
UI Component Library |
@powerchain/vue |
Vue SDK |
@powerchain/angular |
Angular SDK |
@powerchain/node |
Node.js Runtime |
@powerchain/python |
Python SDK |
@powerchain/go |
Go SDK |
@powerchain/rust |
Rust SDK |
@powerchain/flutter |
Flutter SDK |
@powerchain/cli |
Developer CLI |
@powerchain/testing |
Testing Framework |
@powerchain/codegen |
OpenAPI Code Generator |
- Node.js
- Browser
- Bun
- Deno
- React Native
- Electron
- Cloudflare Workers
- Vercel Edge Runtime
- Next.js
- React
- Vue
- Angular
- Astro
- Remix
- Nuxt
- Svelte
| Metric | Target |
|---|---|
| SDK Initialisation | < 50 ms |
| Wallet Creation | < 100 ms |
| Transaction Build | < 20 ms |
| Bundle Size | < 150 kB (gzip) |
| Memory Usage | < 20 MB |
Optimised with:
- Tree Shaking
- Lazy Loading
- HTTP Keep-Alive
- Request Batching
- Automatic Retry
- Streaming APIs
- OpenTelemetry
- Response Caching
| Component | Version |
|---|---|
| Node.js | 20 LTS+ |
| TypeScript | 5.x |
| pnpm | 10+ |
| npm | 10+ |
| Browser | Modern Browsers |
| PowerChain Mainnet | ✅ |
| PowerChain Testnet | ✅ |
| Solana Mainnet | ✅ |
| Solana Devnet | ✅ |
PowerChain follows enterprise software engineering and cloud security best practices.
- OAuth 2.1
- OpenID Connect
- JWT
- API Keys
- Passkeys
- Service Accounts
- Role-Based Access Control (RBAC)
- Attribute-Based Access Control (ABAC)
- Policy Engine
- Apache-2.0
- CodeQL
- SBOM Generation
- Package Provenance
- Signed Releases
- Secret Scanning
- Dependency Review
- Licence Auditing
- GDPR-ready Architecture
- SOC 2-aligned Controls
- ISO/IEC 27001-aligned Practices
- Audit Logging
- Data Protection
Applications
│
▼
PowerChain Web3.js
│
────────────────────────────────────
Wallet
Transactions
Contracts
Payments
Events
Crypto
Providers
────────────────────────────────────
│
HTTP • JSON-RPC • GraphQL • WebSocket
│
PowerChain Network
Production-ready examples include:
- Wallet Authentication
- Payments
- Treasury Dashboard
- Token Swaps
- AI Financial Copilot
- Renewable Energy Marketplace
- Governance Portal
examples/
├── nextjs/
├── react/
├── vue/
├── react-native/
├── node/
├── express/
├── fastify/
├── nestjs/
├── electron/
├── docker/
└── kubernetes/
- Getting Started
- Architecture
- SDK Guide
- API Reference
- Wallet
- Payments
- Treasury
- Exchange
- Marketplace
- Energy
- AI Platform
- Governance
- Security
- Deployment
- Tutorials
- Examples
- Migration Guides
- Release Notes
pnpm install
pnpm build
pnpm lint
pnpm test
pnpm typecheck- v1.0.0-beta
- Beta v1.1
- Local Emulator
- Developer Sandbox
- Mobile SDKs
- Enterprise Connectors
- Additional Language SDKs
- Expanded AI Services
| Stage | Status |
|---|---|
| Alpha | Experimental |
| Beta | Current |
| Release Candidate | Planned |
| Stable | Planned |
| Long-Term Support | Planned |
PowerChain follows:
- Semantic Versioning
- Conventional Commits
- Keep a Changelog
- Signed Releases
- Automated Publishing
We welcome contributions from developers and ecosystem partners.
Please review:
CONTRIBUTING.mdCODE_OF_CONDUCT.mdSECURITY.mdGOVERNANCE.md
before opening issues or pull requests.
- GitHub Discussions
- GitHub Issues
- Changelog
- Roadmap
- Release Notes
- Documentation
- API Reference
- Tutorials
- Examples
- Enterprise Support
Licensed under the Apache License 2.0.
See LICENSE for details.
