Skip to main content

Installing & Importing PWR SDK

Use PWR SDK to easily read, send transactions, and easily interact with the PWR Chain

First step of building on PWR Chain is installing and importing the PWR SDK. This SDK is available in many coding languages, and helps developers read data, send transactions, and easily interact with PWR Chain.

Installing SDK

You will install the PWR Chain SDK library the same way you do for each language:

npm install @pwrjs/core
// or
yarn add @pwrjs/core
// or
pnpm add @pwrjs/core

Importing SDKs

After you have installed sdks, you can import them in your project:

import { PWRJS, PWRWallet } from '@pwrjs/core';
// or
const { PWRJS, PWRWallet } = require('@pwrjs/core');

Once you have installed and imported the PWR SDK into your application you can start to the next sections to learn about everything you need to build your project.

You can jump to PWR Chain examples on github for more examples.