Releases: hashgraph/hedera-nft-sdk
Releases · hashgraph/hedera-nft-sdk
Add build script to GitHub action "release flow"
What's Changed
- Add build command to GitHub Action "Release flow" by @michielmulders in #20
Full Changelog: v2.1.1...v2.1.2
Add build scripts and linting
What's Changed
- Add build scripts and linting by @michielmulders in #19
Full Changelog: v2.1.0...v2.1.1
Convert package to TypeScript
What's Changed
- Update package to TypeScript, including tests and added docs on how to build the package, with some minor code improvements by @michielmulders in #18
Full Changelog: v2.0.0...v2.1.0
Allow user to add custom schemas in memory
What's Changed
- Change validator function to a class that now accepts custom schemas and validation against these schemas by @michielmulders in #17
Full Changelog: v1.2.1...v2.0.0
Update usage docs for validator functionality
- The validator function accepts an object instead of stringified JSON.
v1.2.0
What's Changed
- Handle edge case when supply key is present and total supply equals max supply by @michielmulders in #14
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Update risk scoring model with INFINITE supply type weight by @michielmulders in #11
- Fix risk scoring algorithm by @michielmulders in #12
Full Changelog: v1.0.0...v1.1.0
Initial version Hedera NFT Utilities SDK
Version 1.0.0 of the NFT Utilities SDK includes:
- Metadata validation
- Verify metadata against the HIP412 standard. You can input your own metadata or the metadata of an existing NFT on the Hedera network.
- If you want to publish an NFT project, first check the metadata validity against HIP412 for all of your metadata files. You can use the "local metadata validator" to verify all of your metadata files in bulk and print the results.
Rarity score calculation
- Rarity score calculation: Calculate the rarity for an NFT project locally to ensure the rarity distribution is correct. The rarity score calculation function accepts a path to a folder containing metadata JSON files and calculates the rarity based on the listed "attributes" and their values. The JSON files must follow the HIP412 metadata specification.
- Risk score calculation: The risk score functions look at the presence of specific token keys to determine a risk level, and so, a risk score.
- Calculate the risk score for an existing NFT on the Hedera network by inputting a "token ID".
- Calculate the risk score for any NFT locally or on-chain by inputting JSON metadata.