Files
pezkuwi-api/README.md
Satoshi Qazi Muhammed 65399e28e1 docs: generate the API reference for developers.pezkuwichain.io
Add TypeDoc (0.28.20) and `yarn docs`, which builds the reference for the
nine public API packages from src/ into build-docs/, with a landing page
and a getting-started guide whose examples were run against the live
network. The PR workflow builds it so a broken doc comment or config is
caught before merge.

docs/ held only a redirect to polkadot.js.org; it now holds the guide
sources. The README, packages/api/README.md and three CHANGELOG entries
linked to js.pezkuwichain.app, a domain that is not ours and is listed
for sale; they now point to developers.pezkuwichain.io, the Pezkuwi
Portal, or the upstream polkadot.js.org pages the entries came from.
2026-11-12 03:19:39 +04:00

71 lines
1.7 KiB
Markdown

# @pezkuwi/api
Promise and RxJS APIs for interacting with PezkuwiChain and Bizinikiwi-based networks.
**Developed by Dijital Kurdistan Tech Institute**
## Overview
This library provides a clean wrapper around all the methods exposed by a PezkuwiChain/Bizinikiwi network client and defines all the types exposed by a node.
## Documentation
The API reference and a getting-started guide are at [developers.pezkuwichain.io](https://developers.pezkuwichain.io).
## Installation
```bash
# Using npm
npm install @pezkuwi/api
# Using yarn
yarn add @pezkuwi/api
```
## Quick Start
```javascript
import { ApiPromise, WsProvider } from '@pezkuwi/api';
// Connect to a PezkuwiChain node
const wsProvider = new WsProvider('wss://rpc.pezkuwichain.io');
const api = await ApiPromise.create({ provider: wsProvider });
// Query chain info
const chain = await api.rpc.system.chain();
console.log(`Connected to ${chain}`);
```
## Packages
| Package | Description |
|---------|-------------|
| @pezkuwi/api | Main API package |
| @pezkuwi/api-derive | Derived API methods |
| @pezkuwi/types | Type definitions |
| @pezkuwi/rpc-core | RPC core functionality |
| @pezkuwi/rpc-provider | RPC providers (WS, HTTP) |
## Tutorials
Looking for a walkthrough? [Getting started](https://developers.pezkuwichain.io/documents/Getting_started.html) connects, reads chain state, follows blocks and sends a transfer.
## Changelog
If you are an existing user, please track the [CHANGELOG](CHANGELOG.md) when changing versions.
## Links
- Website: https://pezkuwichain.io
- Developer docs: https://developers.pezkuwichain.io
- Wiki: https://wiki.pezkuwichain.io
- GitHub: https://github.com/pezkuwichain
## License
Apache-2.0
## Author
Dijital Kurdistan Tech Institute