Pi Network SDK
Unofficial Pi Network SDK
Features
- An uncompiled (rewritten) version of the SDK
- True Typescript support
Installation
npm install @pinetwork-js/sdk
yarn add @pinetwork-js/sdk
Usage
const { Pi } = require('@pinetwork-js/sdk');
Pi.init({ version: '2.0' });
import { Pi } from '@pinetwork-js/sdk';
Pi.init({ version: '2.0' });
Documentation
- Official documentation from the Pi Network Core Team (you don't need to write the types, the package includes them)