Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Conversation

@mikesizz
Copy link
Contributor

@mikesizz mikesizz commented Apr 1, 2021

This PR will check for the owners of all user's creations and remove any that belong to the burn address.

const conseilUtil = require('./conseilUtil')
const { random } = require('lodash')

const BURN_ADDRESS = 'tz1burnburnburnburnburnburnburjAYjjX'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can move this to env file if desired.

@mikesizz mikesizz changed the title Remove burned NFTs from creation list. Remove burned NFTs from creation list Apr 2, 2021
@mikesizz
Copy link
Contributor Author

mikesizz commented Apr 2, 2021

If you can't un burn an NFT it may be a good idea to just update a file in s3 with all the objkt IDs that are burned. This would save on network request overhead. Would probably just store them in memory but this seems to be made to run in a server less environment.

@skenaja
Copy link
Contributor

skenaja commented Apr 2, 2021

Won't this remove the obkjt from the creator's creation list if not all of the editions are owned by burn?

hicetnunc2000/hicetnunc#280

@mikesizz
Copy link
Contributor Author

mikesizz commented Apr 2, 2021

@skenaja Yeah, I had asked about this on discord. I'll adjust the code.

@mikesizz
Copy link
Contributor Author

mikesizz commented Apr 2, 2021

@skenaja The newest commit will ensure that new NFTs that are burned will not show up in the creation list (by making sure all of them belong to the burn address). What is the desired outcome if an individual owns an objkt and the issuer burns their remaining issues?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants