gemworks / gem-farm

Configurable staking for NFT Projects on Solana
https://gemfarm.gg/
MIT License
339 stars 252 forks source link

How to set reward based on NFT rarity #19

Open SamraatBansal opened 2 years ago

SamraatBansal commented 2 years ago

I want to divide my collection into 4 parts, Each get different mint reward, But I dont understand how to configure that. NFT collection size ->1111

777 (specific rarity) -> get 10 tokens 222 (specific rarity) -> get 20 tokens 111 (specific rarity) -> get 30 tokens 11 (specific rarity) -> get 50 tokens

CMHayden commented 2 years ago

Hey!

This is described in the documentation here: https://docs.gemworks.gg/gem-bank/overview#rarities. It does however state that there is not a UI set up which interacts with this, however, there is code to be called on the SDK to implement this functionality.

SamraatBansal commented 2 years ago

Thanks for the reply,

But I am not able to figure out how to call that SDK thing and setup the rarities.

If you are able to understand please guide me, It would be of great help

Thank you