Phase 3: Incoming v1.4.0 #92
ipapandinas
announced in
Announcements
Replies: 1 comment
-
The closing of phase 3 is imminent. This phase brings many features that have been split into several releases:
Rent and auctions pallets are only available on the Alphanet network at the moment. Versions will be upgraded once we deploy them to the Mainnet network: v1.3.1 will be the next stable version and v1.4.0-alpha0 will move to a v1.4.0-rc0 release candidate version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Phase 3: Incoming v1.4.0
The phase 3 development has started and will add 3 new pallets in ternoa-js:
This document introduces each pallet and provide links to the related discussion regarding design choices. Before going any further, it is important to mention the breaking changes coming up.
Breaking changes
Only 1 breaking change is expected in the next chain release. The new 1.3.0 package of ternoa-js will implement this change and it is strongly recommend to update your application accordingly. This discussion stands as a migration guide to let you know what is new. If your application relies on the Indexer, you should update it as soon as the chain release is alive to avoid any production environment breaking.
listedForSale is deprecated and replaced by isListed
This leads to some updates on the ternoa-js SDK and the Indexer.
SDK changes
One change is expected on the SDK architecture in the interface
INftState
. The listedForSale boolean field is removed and replaced by a isListed boolean field.The storage getter
getNftData
will return the new isListed field in the NFT state data.Indexer changes
The
NftEntity
is updated accordingly:Added features: Pallet integration
Auction pallet
Auctions are a new way to sell NFTs on the Ternoa chain in addition to classic listing. An auction is a type of sale where the NFT seller sets a minimum price and a time period on a marketplace. Buyers can place bids on the amount they are willing to pay for the NFT as long as they are above the minimum price. At the end of the time period, the NFT is sold to the highest bidder. The NFT can be purchased directly before an auction starts if a buyItPrice is defined.
The design choices for the SDK and Indexer integration of this new pallet are discussed here.
Rent pallet
NFT Renting allows individuals to rent NFTs they would like to borrow for a limited or infinite amount of time. A borrower can rent an NFT with utility and gain access to exclusive content or experiences. At the same time, an NFT owner can rent their NFT to share its utility and earn passive income seamlessly.
The design choices for the SDK and Indexer integration of this new pallet are discussed here.
Contribution
The first Ternoa Hackathon will start in October.Contributing to the ternoa-js-test-dapp development is the perfect opportunity to take an advantage by becoming familiar with the SDK architecture and the latest features. This project is the perfect entry door, your contribution and interest are warm welcomed.Beta Was this translation helpful? Give feedback.
All reactions