@pinetwork-js/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

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)

Package Sidebar

Install

npm i @pinetwork-js/sdk

Weekly Downloads

49

Version

0.7.0

License

PiOS

Unpacked Size

64 kB

Total Files

46

Last publish

Collaborators

  • b-derouet