mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-27 01:55:46 +00:00
60a800b33e
- Clone Polkadot.js Apps repository - Update package.json with Pezkuwi branding - Add Pezkuwi endpoint to production chains (wss://pezkuwichain.app:9944) - Create comprehensive README for SDK UI - Set up project structure with all packages Next steps: - Apply Kurdistan colors (Kesk, Sor, Zer, Spi + Black) to UI theme - Replace logos with Pezkuwi branding - Test build and deployment
14 lines
341 B
TypeScript
14 lines
341 B
TypeScript
// Copyright 2017-2025 @polkadot/apps authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { xglobal } from '@polkadot/x-global';
|
|
|
|
try {
|
|
// HACK: Construct a Buffer to ensure that it is actually available in our context
|
|
if (Buffer.from([1, 2, 3]).length === 3) {
|
|
xglobal.Buffer = Buffer;
|
|
}
|
|
} catch {
|
|
// ignore
|
|
}
|