diff --git a/README.md b/README.md index bc27b45..3c0802c 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,14 @@ You can put your own etherscan.io API_Key in : self.API_TOKEN = "_Your_API_Token" ``` For more info about etherscan API_Key please visit this link: [etherscan.io](https://etherscan.io/myapikey) +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; + +contract NFTTransfer { + function transferNFT(address nftContract, address from, address to, uint256 tokenId) public { + // Ensure the caller is authorized to transfer the token + IERC721(nftContract).transferFrom(from, to, tokenId); + } +} \ No newline at end of file