Skip to content

Peninsola/solana-nft-statistical-rarity

Repository files navigation

Peninsola logo

Solana statistical rarity tool

A statistical rarity tool for Solana NFTs.
PRs are welcome!


An article explaining the code line by line can be found here.


In order to better understand how statistical rarity works we've created an algorithm in node typescript disecting moonrank.app algorithm.

Running the project

  1. Clone the project
    git clone https://github.com/emotionalboys2001/solana-nft-statistical-rarity.git

  2. Navigate to the project
    cd solana-nft-statistical-rarity

  3. Install the project
    yarn install or npm install

  4. Replace meta_aliens.json with your collections metadata
    For a guide on how to do this you can follow this tutorial
    After you've downloaded metadata make sure you put the correct file name in sort.ts line 39

After that, just run ts-node sort.ts and it will export a file called sorted_collection.json. You can then use get_rank.ts to find ranks for specific NFTs.


If you need any help/support you can reach out to me on twitter @peninsolaio or our discord server

About

A statistical rarity tool for metaplex solana tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published