Skip to content
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

How to call contract methods from the web flow nft component #4

Open
realimaginaryverse opened this issue Jan 4, 2022 · 3 comments
Labels
feature-request New feature or request

Comments

@realimaginaryverse
Copy link

Once we have added the embedded web flow nft component to mint magically! Thanks!
What object should we use to call any other contract methods, like to display number of NFT to mint left?
Thanks.

@theshadowagent
Copy link
Member

Create a text element with an HTML id minted-counter for minted amount, and HTML id total-counter for total amount. Right now you can't call any other contract methods. What other methods did you have in mind?

@realimaginaryverse
Copy link
Author

Thanks of the quick answer. These are handy and probably the most important.
I was also thinking about total owners, floor price and volume traded.

@theshadowagent
Copy link
Member

Volume traded & floor price can be fetched using OpenSea API only, but total owners is something we might add in the future.

@theshadowagent theshadowagent added the feature-request New feature or request label Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants