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(erc1155): harden script to only mint to recipients with balance 0 #306

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

dohaki
Copy link
Contributor

@dohaki dohaki commented Jun 22, 2023

Adds check to mint script to skip addresses that already have received a token

Copy link
Contributor

@james-a-morris james-a-morris left a comment

Choose a reason for hiding this comment

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

Left a single nit. this is great code

scripts/mintERC1155.ts Show resolved Hide resolved
@dohaki dohaki merged commit 0d8bb01 into master Jun 26, 2023
5 checks passed
@dohaki dohaki deleted the harden-mint-erc1155-script branch June 26, 2023 14:27
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