Skip to content

Releases: peerplays-network/peerplaysjs-lib

PeerplaysJS-lib v0.8.1

04 Jan 15:14
Compare
Choose a tag to compare

This major release adds support for all the latest features changes made to the Peerplays blockchain's current mainnet release (1.5.19)[https://github.com/peerplays-network/peerplays/releases/tag/1.5.19]

Note: This release is functionally same as v0.8.0 apart from the changes made for publishing to https://www.npmjs.com/package/peerplaysjs-lib

About

NFT

A non-fungible token (NFT) is a special type of token that represents a unique asset. They are blockchain assets that are designed to not be equal. NFTs have a wide range of applications including video games, fine art, movie tickets and more.

The most popular type of NFT is based on the ERC-721 token standard. Creation of ERC-721 tokens has exploded over the past year with a huge wave of digital collectibles and game-based assets coming online.

Peerplays provides an enhanced version of the ERC-721 token standard wherein there can be both non-fungible and semi-fungible tokens based on the discretion of the token creator. The Peerplays standard also provides flexibility to mark the NFTs non-transferable and non-sellable if the creator choose so.

In addition to the NFT capabilities, support for new 5050 which uses NFTs for tickets and new capabilities for lotteries.

Marketplace

Peerplays marketplace is a decentralized, peer-to-peer marketplace for Peerplays NFTs.

The marketplace provides both auction and reverse auction functionality. An NFT owner can list his asset for sale in the marketplace for a desired price and other users can bid to buy the asset until the sale expires. Similarly, users can create a buy offer to an NFT owner.

HRP

Hierarchical Role Based Custom Permissions (HRPs) provides a more sophisticated and fine-grained control of account permissions. Users of the Peerplays blockchain can create new permissions and link operations that can use the created permissions instead of active and owner keys. This increases the security of the user accounts wherein the user need not use the critical active and owner permissions all the time.

Summary of Changes

  • NFT - NFT functionality added.
  • Updated 5050
  • Marketplace - There is now a marketplace to exchange NFTs created on the Peerplays blockchain.
  • HRP - There is now new custom account permissions and authorities.
  • Bug fixes, Vulnerability fixes, Sonar and other security audits

PeerplaysJS-lib v0.8.0

04 Jan 15:14
Compare
Choose a tag to compare

This major release adds support for all the latest features changes made to the Peerplays blockchain's current mainnet release (1.5.19)[https://github.com/peerplays-network/peerplays/releases/tag/1.5.19]

About

NFT

A non-fungible token (NFT) is a special type of token that represents a unique asset. They are blockchain assets that are designed to not be equal. NFTs have a wide range of applications including video games, fine art, movie tickets and more.

The most popular type of NFT is based on the ERC-721 token standard. Creation of ERC-721 tokens has exploded over the past year with a huge wave of digital collectibles and game-based assets coming online.

Peerplays provides an enhanced version of the ERC-721 token standard wherein there can be both non-fungible and semi-fungible tokens based on the discretion of the token creator. The Peerplays standard also provides flexibility to mark the NFTs non-transferable and non-sellable if the creator choose so.

In addition to the NFT capabilities, support for new 5050 which uses NFTs for tickets and new capabilities for lotteries.

Marketplace

Peerplays marketplace is a decentralized, peer-to-peer marketplace for Peerplays NFTs.

The marketplace provides both auction and reverse auction functionality. An NFT owner can list his asset for sale in the marketplace for a desired price and other users can bid to buy the asset until the sale expires. Similarly, users can create a buy offer to an NFT owner.

HRP

Hierarchical Role Based Custom Permissions (HRPs) provides a more sophisticated and fine-grained control of account permissions. Users of the Peerplays blockchain can create new permissions and link operations that can use the created permissions instead of active and owner keys. This increases the security of the user accounts wherein the user need not use the critical active and owner permissions all the time.

Summary of Changes

  • NFT - NFT functionality added.
  • Updated 5050
  • Marketplace - There is now a marketplace to exchange NFTs created on the Peerplays blockchain.
  • HRP - There is now new custom account permissions and authorities.
  • Bug fixes, Vulnerability fixes, Sonar and other security audits

NFT, Marketplace, and HRP Support

11 Aug 18:03
Compare
Choose a tag to compare
Pre-release

This pre-release adds support for the latest changes made to the Peerplays blockchain's TESTNET branch.
See https://github.com/peerplays-network/peerplays/releases/tag/test-1.4.5

About

NFT

A non-fungible token (NFT) is a special type of token that represents a unique asset. They are blockchain assets that are designed to not be equal. NFTs have a wide range of applications including video games, fine art, movie tickets and more.

The most popular type of NFT is based on the ERC-721 token standard. Creation of ERC-721 tokens has exploded over the past year with a huge wave of digital collectibles and game-based assets coming online.

Peerplays provides an enhanced version of the ERC-721 token standard wherein there can be both non-fungible and semi-fungible tokens based on the discretion of the token creator. The Peerplays standard also provides flexibility to mark the NFTs non-transferable and non-sellable if the creator choose so.

Marketplace

Peerplays marketplace is a decentralized, peer-to-peer marketplace for Peerplays NFTs.

The marketplace provides both auction and reverse auction functionality. An NFT owner can list his asset for sale in the marketplace for a desired price and other users can bid to buy the asset until the sale expires. Similarly, users can create a buy offer to an NFT owner.

HRP

Hierarchical Role Based Custom Permissions (HRPs) provides a more sophisticated and fine-grained control of account permissions. Users of the Peerplays blockchain can create new permissions and link operations that can use the created permissions instead of active and owner keys. This increases the security of the user accounts wherein the user need not use the critical active and owner permissions all the time.

Summary of Changes

  • NFT - NFT functionality added.

  • Marketplace - There is now a marketplace to exchange NFTs created on the Peerplays blockchain.

  • HRP - There is now new custom account permissions and authorities.

GPOS Beatrice Sync Fix

24 Dec 20:09
Compare
Choose a tag to compare
Pre-release

This is a pre-release only for testing purpose.

Briefing
balance_type field removed from vesting_balance_withdrawal operation in order to fix sync issue of the blockchain.

GPOS Changes

17 Dec 20:01
983bf99
Compare
Choose a tag to compare

PeerplaysJS-lib 0.6.4 Beta Release Notes

As part of the GPOS enabled Peerplays Wallet 1.5.x beta release to public TESTNET, and supporting updates to the Peerplays blockchain, some additional changes were made to PeerplaysJS-lib library..

This release is the first implementation of many of the features proposed in PIP #002

About GPOS

The Peerplays blockchain uses Gamified Proof of Stake (GPOS) as the means to maintaining blockchain security while incorporating the human design elements necessary for effective voting mechanics.

By participating in GPOS you are staking your PPY for a period of 30 days. After the 30 day time period, you may request to withdraw the staked PPY.

During the staking period, you will be capable of participating in the voting of node operators and other important functions within the Peerplays ecosystem. Advisors, Witnesses, new Proposals, SONs, and other types of nodes and providers that make up the Peerplays ecosystem will benefit from your votes.

For your contribution in helping secure the blockchain, you will receive Participation Rewards. These rewards are based on the amount of PPY you have staked relative to the rest of the network distribution. Participation Rewards are given out each month and are based on the collective activity (i.e. blockchain fees) on the Peerplays blockchain. As more value comes into the network, this is sent to you as a reward for helping make it happen.

Updates

Security

Updates to some packages in use by the peerplaysjs-lib have been upgraded in a prior release. To view the changes due to security, please see this pull request.

Added

Two changes have been made to the serializer operations:

Last Vote Time

This is a new boolean parameter (account_update_last_voting_time) that must be provided when performing an account_update transaction. Providing true will update the account owner of the transactions update_last_voting_time. This parameter must be passed in the extensions object within the transaction for account_update.

extensions: {
  value: {
    update_last_voting_time: true | false
  }
}

Balance Type

This is a new enumeration parameter (vesting_balance_type) that must be provided when performing a vesting_balance_create and vesting_balance_withdraw transaction. Supported values are: "normal" and “gpos”.

The addition of the parameter allows the blockchain to differentiate whether or not the transaction to create/withdraw a vesting balance is of GPOS type.

balance_type: 'normal' | 'gpos'