Hot answers tagged

2

Looks like you have been following Twitter today. The user in question actually had their private keys compromised by a fake OpenSea email spam. However attack vectors can be launched on smart contracts, so that when you interact with them or approve them they are given access to your wallet. Not sure exactly how it happens but it is through malicious code. ...


2

Opensea did not supports the BSC network. But you can mint the NFTs on Polygon for cheaper fees. Polygon is supported by Opensea platform. Reference: Which blockchains does OpenSea support?


1

Pros cheaper transaction costs faster transactions. Cons your assets are less secure. Do you trust polygon to not lose your funds?


1

I think it's supposed to be used for meta-transactions. You can find similar examples that OpenZeppelin implemented that was also designed to be used this way. To support native meta transaction, OpenSea inherits NativeMetaTransaction contract that execute another function on itself (on behalf of the user with a signature), which will make the msg.sender ...


1

Yes, it's possible using Data URLs. OpenSea requires the tokenURI method to return a URI of a JSON containing properties such as image (which themselves can also have data URLs as values). Here's a great tutorial on how to store metadata for NFTs on-chain: https://andyhartnett.medium.com/solidity-tutorial-how-to-store-nft-metadata-and-svgs-on-the-blockchain-...


1

It should be MATIC is an ERC20 token so the address should be the same.


1

You can set max fee with Edit button. Max fee must be lower than your balance. Because it is maximum gas you willing to pay. But if you don't have gas that you are willing to pay, of course It will give an error.


Only top voted, non community-wiki answers of a minimum length are eligible