-
Notifications
You must be signed in to change notification settings - Fork 24
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
add minter to project.cairo #108
Conversation
Can you please write tests to show everything is working fine @od-hunter? |
I’ve finished the tests sir. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed changes
- remove ERC721 and use OpenZeppelin ERC721.
- remove has_minted_nft from storage and check erc721 balance during mint instead.
use starknet::ContractAddress; | ||
|
||
#[starknet::interface] | ||
pub trait IERC721<TContractState> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
erc721 should come from openzeppelin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,8 +1,33 @@ | |||
use starknet::ContractAddress; | |||
|
|||
#[starknet::interface] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interface is duplicated here
also the interface is not the standard EIP one
Thanks for your contribution. |
Closes #72