0

This part of own Q&A serial of posts which shares knowledge gained during work on one project

My project implies another contract should transfer a token by some condition. Is it possible to delegate another contract right to mint a token on behalf of others?

1 Answer 1

0

It is necessary for the ERC721 standard as everyone can mint this token. However, it is possible to delegate another user or contract right to transfer the token.

contract.approve(to, tokenId)

ERC721 API functions:

Functions

    balanceOf(owner)

    ownerOf(tokenId)

    safeTransferFrom(from, to, tokenId)

    transferFrom(from, to, tokenId)

    approve(to, tokenId)

    getApproved(tokenId)

    setApprovalForAll(operator, _approved)

    isApprovedForAll(owner, operator)

    safeTransferFrom(from, to, tokenId, data)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.