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

ERC721 safeTransferFrom: Cannot read property 'from' of undefined #86

Open
Thegaram opened this issue May 10, 2021 · 0 comments
Open

ERC721 safeTransferFrom: Cannot read property 'from' of undefined #86

Thegaram opened this issue May 10, 2021 · 0 comments

Comments

@Thegaram
Copy link

I'm getting Cannot read property 'from' of undefined when I try to use safeTransferFrom on an ERC721 contract. Similarly, I see Cannot read property 'estimate' of undefined when I click on "Estimate".

image

import "@openzeppelin/contracts/token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol";

contract MyNFT is ERC721PresetMinterPauserAutoId {
    constructor() ERC721PresetMinterPauserAutoId("MyNFT", "mNFT", "ipfs://") {}
}
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

No branches or pull requests

1 participant