Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Make contract Ownable #28

Open
danfinlay opened this issue Aug 18, 2021 · 0 comments · May be fixed by #29
Open

Make contract Ownable #28

danfinlay opened this issue Aug 18, 2021 · 0 comments · May be fixed by #29

Comments

@danfinlay
Copy link

danfinlay commented Aug 18, 2021

Currently if you mint with minty, the mint function is unrestricted, allowing anyone to mint in your collection/series.

Maybe there could be an option that allows making restricted collections?

Mixing in ownable would make it as easy as adding an onlyOwner modifier to the mint function.

danfinlay added a commit to danfinlay/minty that referenced this issue Aug 18, 2021
Prevents strangers from using the deployed contract to publish their own
NFTs.

Most NFT platforms today treat a contract as a publisher/collection, and
so by leaving a contract unrestricted, you also allow the
collection/publisher to be diluted. This might also work well as an
option.

Fixes yusefnapora#28
@danfinlay danfinlay linked a pull request Aug 18, 2021 that will close this issue
knyar pushed a commit to knyar/minty that referenced this issue Jan 3, 2022
Prevents strangers from using the deployed contract to publish their own
NFTs.

Most NFT platforms today treat a contract as a publisher/collection, and
so by leaving a contract unrestricted, you also allow the
collection/publisher to be diluted. This might also work well as an
option.

Fixes yusefnapora#28
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 a pull request may close this issue.

1 participant