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

feat: burn capital, landing page and multi burn #1222

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

omniwired
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit 904e349
🔍 Latest deploy log https://app.netlify.com/sites/teritori-dapp/deploys/6658a45a84308800095fdf0d
😎 Deploy Preview https://deploy-preview-1222--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for testitori ready!

Name Link
🔨 Latest commit 904e349
🔍 Latest deploy log https://app.netlify.com/sites/testitori/deploys/6658a45af211ff0008dd797e
😎 Deploy Preview https://deploy-preview-1222--testitori.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@omniwired omniwired changed the title feat: burn capital, landing page and multi burn WIP feat: burn capital, landing page and multi burn Apr 29, 2024
Copy link
Collaborator

@n0izn0iz n0izn0iz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it must be a send, not transfer message, otherwise the nft is sent without executing the "receive" code in contract and is "lost"

@omniwired
Copy link
Collaborator Author

we might need to re enable some of the collections so they can be listed in the UI
Options:

omniwired and others added 16 commits May 28, 2024 13:21
This commit removes unused imports and adds new functionality to the TopSectionConnectWallet component. When a wallet is connected, it now shows the user's avatar and address. If no wallet is connected, it displays the MainConnectWalletButton for users to connect their wallets.
This commit introduces the ability to perform multi-burn operations and implements cache invalidation when a burn operation is performed. The cache invalidation ensures the data is refreshed post-burn, providing up-to-date information to the users.
This commit re-enables the NFT burner feature which was previously commented out in the NFTView component. This includes fetching the network feature, getting authorized collections and showing the recycle option if the burner feature is enabled and the NFT contract address is included in the authorized collections.
Removed an unused instance of queryClient in the NFTView component. Additionally, added a comment to explain the use of hardcoded values in the BurnableNFTs component instead of fetching authorized collections.
Signed-off-by: Norman Meier <[email protected]>
Signed-off-by: Norman Meier <[email protected]>
@omniwired omniwired marked this pull request as ready for review May 28, 2024 04:34
@omniwired omniwired requested a review from n0izn0iz May 28, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants