mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 21:47:56 +00:00
24be8d4411
Restructured the project to support multiple frontend applications: - Move web app to web/ directory - Create pezkuwi-sdk-ui/ for Polkadot SDK clone (planned) - Create mobile/ directory for mobile app development - Add shared/ directory with common utilities, types, and blockchain code - Update README.md with comprehensive documentation - Remove obsolete DKSweb/ directory This monorepo structure enables better code sharing and organized development across web, mobile, and SDK UI projects.
27 lines
437 B
TypeScript
27 lines
437 B
TypeScript
/**
|
|
* Blockchain-related type definitions
|
|
*/
|
|
|
|
export interface WalletAccount {
|
|
address: string;
|
|
name?: string;
|
|
source?: string;
|
|
}
|
|
|
|
export interface BlockchainNetwork {
|
|
name: string;
|
|
endpoint: string;
|
|
chainId?: string;
|
|
}
|
|
|
|
export interface Transaction {
|
|
hash: string;
|
|
from: string;
|
|
to: string;
|
|
amount: string;
|
|
timestamp: number;
|
|
status: 'pending' | 'success' | 'failed';
|
|
}
|
|
|
|
// Add more blockchain types as needed
|