Secret NFT, Capsules pallets, TEE, Transmission Protocols pallets #164
ipapandinas
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release aims to bring Ternoa Phase 4 main features:
Important note: This release comes with several breaking changes have been implemented in this version⚠️
It is strongly recommend to update your application accordingly.
Contributors: @Victor-Salomon @ipapandinas @dhammani
Breaking changes (6)
Pallet Helpers
Account
generateAccount
helper is removedMarketplace/Auction
buyItNowTx
&buyItNow
require a newnftBuyingPrice
argumentbuyNftTx
&buyNft
require a newnftBuyingPrice
argumentformatMarketplaceFee
renamed =>convertMarketplaceFee
Rent
rentTx
&rent
require a newcontractCreationBlockId
argumentmakeRentOfferTx
&makeRentOffer
require a newcontractCreationBlockId
argumentTypes
0x${string}
in order to fix issue Hash no working on Ternoa explorer #154.IPFS
MISC
getSignature
renamed =>getSignatureFromKeyring
Features Added (6)
1- NFT Pallet extended with Secret NFT 🕵️
This pallet is a complex module to create and handle secret NFT. The related TIP is TIP-520.
nft/constants:
nft/extrinsics:
nft/storages:
2- NFT Pallet extended with Caspule NFT 🔮
This pallet is a complex module to create and handle secret NFT. The related TIP is TIP-530.
nft/constants:
nft/extrinsics:
nft/storages:
3- Protocols Pallet 🔑
This pallet is a complex module to create and handle secret NFT. The related TIP is TIP-540.
protocols/constants:
protocols/extrinsics:
protocols/storages:
protocols/utils:
4- TEE Pallet 🔒
Storages needed to proceed to the secret keys upload. The related TIP is TIP-510.
protocols/storages:
5- NFT Pallet extended with Collection off-chain data set 🃏
nft/extrinsics:
A new event CollectionOffchainDataSetEvent is available.
6- Rent Pallet ✍️
rent/storage:
creationBlock
&creationBlockDate
added to RentalContractDataTypeHelpers Added (7)
src/helpers/crypto.ts
src/helpers/encryption.ts
src/helpers/nft.ts
src/helpers/tee.ts
-sharesAvailableOnTeeCluster - Check that all enclaves from a cluster have registered a the Capsule NFT or a Secret NFT's key shares
src/helpers/utils.ts
src/helpers/ipfs.ts
marketplaceIpfsUpload
,nftIpfsUpload
,collectionIpfsUpload
moved to new IPFS Clientsrc/marketplace/utils.ts
Couple of formatters to configure a Marketplace easily
Events (2)
creationBlockId
added to ContractCreatedEventFixes (4)
According to issue #154:
submitTxBlocking()
now return a third argument : the submitted transaction hash.submitTxNonBlocking()
now return a third argument : the submitted transaction hash.0x${string}
storeFile()
in IFPS got "form.set" raplaced by "form.append".Removed generic types (19)
From types:
- NftMetadataType
- MediaMetadataType
- CollectionMetadataType
- MarketplaceMetadataType
- CapsuleMedia
- CapsuleEncryptedMedia
From IPFS helper:
- storeNFT
- storeSecretNFT
- storeCapsuleNFT
- capsuleMedia
- storeCollection
- storeMarketplace
- validateNFTMetadata
- validateOptionalNFTMetadata
- validateCollectionMetadata
- validateMarketplaceMetadata
From NFT helper:
- secretNftEncryptAndUploadFile
- mintSecretNFT
- mintCapsuleNFT
Libraries 📚
openpgp
(5.5.0)buffer
( 6.0.x)sssa-js
(0.0.1)This discussion was created from the release Secret NFT, Capsules pallets, TEE, Transmission Protocols pallets.
Beta Was this translation helpful? Give feedback.
All reactions