New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show staked NFTS country wise #91
Comments
hey! if you still need help with this I'm happy to help make it happen :) @johnvv90 |
yes needed @triiq |
Awesome @johgear add me on discord triiq#0001 or Twitter @triiq_ |
Demo NFTs uploaded |
Hey, added logic 468e83a with which you can specify what analytics you want to display in your stake pool in the mapping file, and are displayed at the top of the pool. Currently the one supported is Let me know thoughts on this! |
worked well. great serr. Thank you.
{ |
Okay I see, are the hyperlinks you envision on the same format aka say |
different for each country. |
are you saying the percentage is not out of the total - but instead out of the total just for that attribute / grouping |
out of the total just fot that attribute/grouping. |
yes. percentage shown is not out of the total. Atlanta should be 100% since all the NFTS in that collection are staked. Not just Atlanta but california, Tennesse, Georgia also. Hope you are able to understand. Wish we could discuss over a call or so to explain furthur. Thanks. |
Okay I believe we can support the latter piece, the out of the total per country, and not total of all NFTs. The different hyperlinks I believe would be a bit too hard to generalize in a broad rule specified for metadata stats though. I don't think we would support that. Most definitely though with a fork of our UI adding your customizations to support the hyperlinks, it would work. |
wokay hyperlink part is a bit tricky. let's just do the math part. that should do. |
Hey made this feature possible in our UI, by defining an analytics object in the mapping file such that
Let me us know what you think and if there is any confusion with it |
There was a division on the UI side that would still divide by the Also for what is worth in your config above^^, seems like in the metadata of the mints, |
Thank you Cardinal labs and @gchatz22 |
My NFT collection has the following metadata
Name: Jango #1
Background: Blue:
Country: Atlanta
Position: Horizontal.
The collection is about 5000.
Out of these
1000 NFTs belong to country Atlanta,
1000 NFTs Georgia
1000 NFTs Tennsse
1000 NFTs California
My requirement is to show on the Cardinal UI, the percentage staked by countries and also hyperlink the country name ( to redirect to a third-party website ) I have shared with you a screenshot of what exactly I'm looking for. To make this happens pls let me know how to implement this on your code.
The text was updated successfully, but these errors were encountered: