New answers tagged

2

I'll come at this from a slightly different direction... The current price of ETH is ~$1500. The Yellow Paper states that storing a 256-bit (32-byte) word costs 20,000 gas. Average gas price is currently ~100 Gwei. That's 100 x 20,000 Gwei per 32 bytes, which is 2,000,000 Gwei, which is 0.002 ETH, which is $3. 1 GB is 1,073,741,824 bytes, so there are 33,554,...


1

Yes you can create an NFT out of your video because you will use the hash of the content, not the content itself. Content should not be stored on the Blockchain. It's stored preferably on a decentralised storage or generated from the uint256 tokenId that can be used as the seed to generate an image, music, kitties, whatever. In your case you could store the ...


0

Just some random ideas in case it helps. I am not sure you can transfer tokens from an ERC712 contract to an ERC1155 one. If possible, there might be better ways, but I am assuming it is not the case. Therefore, the goal would be to find the cheapest way to create ERC1155 tokens and burn the ERC721 ones. Fortunately, you have the option to create ERC1155 ...


0

On the Rinkeby network (network id 4) it works. However, token details, such as the tokenid are not displayed. Moreover, the token cannot be moved/transferred.


1

The approach of using an IPFS address as the token URI is intended to ensure its immutability, since the generated hash within the IPFS address will be unique for the file you are pointing to. In your case, if you need to dynamically change contents in the metadata, the URI can be pointing to an https file that you can update at any time. However, in my ...


1

The specification you are referring to is the "ERC721 Metadata JSON Schema" standardized in ERC-721. A side note, this specification does NOT require those three properties. It is merely specified that if you include any of those properties then they will have a certain well-known meaning as per the schema. To understand this distinction, please ...


0

If you use Open Zeppelin's ERC20 implementation you can reference their guide for extending contract functionality. Alternatively, you can implement the ERC20 functions by hand and add any custom logic you need.


0

Just to answer my own question, we could access the owner of an ERC721 token by using the ownerOf function.


Top 50 recent answers are included