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