Het Guys can you guys suggest how can I be able to transfer multple nfts with ids [1,2,3] ons single address because Im trying to make nft cart for erc1155
any kind of help will be appreciated
it could depend on what contract are those nfts, they are on the same contract? can you still modify the contract?
yeah it could be owned by a single address for example whenver somebody wants tos sale I will transfer nft ownership to contract then it will be transfered to the buyer directly from contract in single transaction gas effiecient way
for example this standard is for erc721
pragma solidity ^0.4.24;
/// @title ERC1412 Batch Transfers For Non-Fungible Tokens
/// Note: the ERC-165 identifier for this interface is 0x2b89bcaa
interface ERC1412 {
/// @notice Transfers the ownership of multiple NFTs from one address to another address
/// @param _from The current owner of the NFT
/// @param _to The new owner
/// @param _tokenIds The NFTs to transfer
/// @param _data Additional data with no specified format, sent in call to `_to`
function safeBatchTransferFrom(address _from, address _to, uint256[] _tokenIds, bytes _data) external payable;
/// @notice Transfers the ownership of multiple NFTs from one address to another address
/// @param _from The current owner of the NFT
/// @param _to The new owner
/// @param _tokenIds The NFTs to transfer
function safeBatchTransferFrom(address _from, address _to, uint256[] _tokenIds) external payable;
contract address will be different but owner will be the same contract
what you guys think
If you make your own contract then you could create a function to transfer more than 1 nft at once.
Im making smart contract like market anbody will put on sale or auction the It can be sold
but I wanna ask EIP4341 should be a part of token contract or no need