2.1.9 • Published 4 months ago

@pirichain/core v2.1.9

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
4 months ago

Pirichain API Package


Pirichain is blockchain system that based on dPos (Delegated Proof of Stake) and has it own environment to create wallet and token, transactions, sending or storing data as a transaction, delegation.

This repo is created for base API call and returns with json format. Some functions may not exists in this repo cause of private usage on commercial account. Some functions are added after major updates or urgent minors not with fix.

- Pirichain Technology


You can access the npm library prepared for this repository at: https://www.npmjs.com/package/@pirichain/core

Installation

You can install it using your preferred package manager or with npm to use the Pirichain API.

npm install @pirichain/core

Getting Started

It is recommended to use modular import for using the package.

import pirichain from '@pirichain/core';

const {Wallet, Transaction, ...} = new pirichain({
    isMainNet: true, //this is default but you can use false for testnet
    testNetServer: 'https://testnet.pirichain.com', //this is default, but you can define your testnet endpoint which you build for yourself
    mainNetServer: 'https://core.pirichain.com' //this is default, and you have to leave this as a mainnet endpoint which provied by pirichain community.
})

You need to use POST methods for the endpoints. Additionally, some methods may differ for mainNet and testNet. For more detailed and up-to-date API documentation, you can access it at https://api.pirichain.com and refer to the Postman collection documents specified at that address.

Feel free to mark issues that you have.

2.1.9

4 months ago

2.1.6

4 months ago

2.1.8

4 months ago

2.1.7

4 months ago

2.1.4

4 months ago

2.1.3

4 months ago

2.1.5

4 months ago

2.1.2

5 months ago

2.1.1

6 months ago

2.1.0

6 months ago

2.0.0

6 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago