mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 05:37:56 +00:00
4a3694c831
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow - Fixed 28 files (21 screens + 7 components) - Preserved elevation for Android compatibility - All React Native Web deprecation warnings resolved Files fixed: - All screen components - All reusable components - Navigation components - Modal components
32 lines
858 B
TypeScript
32 lines
858 B
TypeScript
/**
|
|
* Pezkuwi/Bizinikiwi blockchain utilities
|
|
*/
|
|
|
|
import type { BlockchainNetwork } from '../types/blockchain';
|
|
import { getCurrentNetworkConfig } from './endpoints';
|
|
|
|
/**
|
|
* Pezkuwi blockchain network configuration
|
|
* Uses BETA endpoint from centralized endpoints.ts (source of truth)
|
|
*/
|
|
export const PEZKUWI_NETWORK: BlockchainNetwork = {
|
|
name: 'Pezkuwi',
|
|
endpoint: getCurrentNetworkConfig().wsEndpoint,
|
|
chainId: 'pezkuwi',
|
|
};
|
|
|
|
/**
|
|
* Default endpoint (reads from environment variables)
|
|
*/
|
|
export const DEFAULT_ENDPOINT = getCurrentNetworkConfig().wsEndpoint;
|
|
|
|
/**
|
|
* Get block explorer URL for a transaction
|
|
* @param txHash - Transaction hash
|
|
* @returns Block explorer URL
|
|
*/
|
|
export function getExplorerUrl(txHash: string): string {
|
|
// Update with your actual block explorer URL
|
|
return `https://explorer.pezkuwichain.app/tx/${txHash}`;
|
|
}
|