Changes: - Update Pezkuwi endpoint color to Kurdistan Green (Kesk: #00A94F) - Document complete Kurdistan color palette in README: * Kesk (Green): #00A94F - Primary color * Sor (Red): #EE2A35 - Accent color * Zer (Gold): #FFD700 - Secondary accent * Spi (White): #FFFFFF - Backgrounds * Black: #000000 - Text - Add comprehensive logo update instructions - Add TODO comment for logo replacement after build:images Next step: Replace pezkuwichain_logo.png and run yarn build:images
4.9 KiB
Pezkuwi SDK UI
A Portal into the Pezkuwi Blockchain Network
This is a branded version of Polkadot.js Apps, customized for the Pezkuwi blockchain. It provides a comprehensive interface for interacting with the Pezkuwi network, including wallet management, staking, governance, and blockchain exploration.
🎯 Features
- 🔍 Blockchain Explorer - Browse blocks, transactions, and chain state
- 💰 Wallet Management - Create and manage accounts
- 🎯 Staking Interface - Stake tokens and manage validators
- 🗳️ Governance - Participate in on-chain governance
- 🔧 Developer Tools - Extrinsics, RPC calls, and chain state queries
- 📊 Analytics - View network statistics and metrics
🌐 Accessing the Application
Hosted Version
Visit https://pezkuwichain.app/sdk to access the hosted version.
Local Development
See the Development section below to run locally.
📘 About This Project
This UI is based on Polkadot.js Apps and has been customized for the Pezkuwi blockchain:
- ✅ Pre-configured with Pezkuwi network endpoints (
wss://pezkuwichain.app:9944) - ✅ Branded with Pezkuwi logos and colors
- ✅ Optimized for Pezkuwi-specific features and pallets
🛠️ Development
Prerequisites
- Node.js >= 18.14
- Yarn >= 1.22
Getting Started
-
Install Dependencies
yarn install --frozen-lockfile -
Start Development Server
yarn run start -
Access the UI Open http://localhost:3000 in your browser
Build for Production
# Build web version
yarn run build:www
# Build desktop app (Electron)
yarn run build:release:electron
📦 Project Structure
The repo is split into multiple packages:
packages/apps- Main applicationpackages/apps-config- Chain configurations and endpointspackages/apps-electron- Desktop applicationpackages/page-*- Individual page components- And many more...
🔗 Network Configuration
The Pezkuwi network is configured in:
- File:
packages/apps-config/src/endpoints/production.ts - Endpoint:
wss://pezkuwichain.app:9944 - Chain Info:
info: 'pezkuwi'
🎨 Branding & Customization
Kurdistan Color Palette
Pezkuwi SDK UI uses the Kurdistan flag colors:
| Color Name | Hex Code | Usage |
|---|---|---|
| Kesk (Green) | #00A94F |
Primary color, main UI elements |
| Sor (Red) | #EE2A35 |
Accent color, alerts, important actions |
| Zer (Gold/Yellow) | #FFD700 |
Secondary accent, highlights |
| Spi (White) | #FFFFFF |
Backgrounds, cards |
| Black | #000000 |
Text, borders |
The primary brand color (Kesk Green #00A94F) is used in:
- Chain endpoint configuration (
packages/apps-config/src/endpoints/production.ts) - UI theme elements
- Primary buttons and active states
Updating the Pezkuwi Logo
Current Status: Using placeholder logo
To update:
-
Replace the logo file:
# Copy your logo to the chains directory cp /path/to/pezkuwichain_logo.png packages/apps-config/src/ui/logos/chains/pezkuwi.png -
Run the image conversion script:
yarn run build:imagesThis generates TypeScript exports in
packages/apps-config/src/ui/logos/chains/generated/ -
Update the endpoint configuration: Edit
packages/apps-config/src/endpoints/production.ts:import { chainsPezkuwiPNG } from '../ui/logos/chains/index.js'; // In the Pezkuwi endpoint config: ui: { color: '#00A94F', logo: chainsPezkuwiPNG // Changed from chainsPolkadotCircleSVG }
Adding Custom Chain Types
If Pezkuwi uses custom types, add them to:
packages/apps-config/src/api/spec/pezkuwi.ts
🧪 Testing
# Run all tests
yarn run test:all
# Run specific test
yarn run test:one <test-file>
📝 Scripts
yarn start- Start development serveryarn build- Build for productionyarn build:www- Build web versionyarn build:electron- Build desktop appyarn lint- Run linteryarn test- Run tests
🔐 Security
This is a critical application for interacting with the Pezkuwi blockchain. Please:
- Always verify you're on the correct URL
- Keep your private keys secure
- Use hardware wallets for large amounts
- Report security issues to: security@pezkuwichain.app
📄 License
Apache-2.0
Original Polkadot.js Apps: https://github.com/polkadot-js/apps
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
📞 Support
- Website: https://pezkuwichain.app
- Main Web App: ../web
- Issues: GitHub Issues
Based on Polkadot.js Apps | Customized for Pezkuwi Blockchain