Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 943 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 943 Bytes

Pi Network SDK

GitHub npm

Unofficial Pi Network SDK

Features

  • An uncompiled (rewritten) version of the SDK
  • True Typescript support

Installation

Install with npm or yarn:

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)