New answers tagged erc-721
0
votes
Best ERC-721 wallet for polygon chain technophobes
I couldn't actually find one that wasn't chock full of subtle ads regarding buying crypto so I made my own web app in the end. It auto-generates a key-pair and saves the pub key to the web client. As ...
0
votes
Trying to create a soulbound token. Keep getting two errors
If OpenZeppelin Version V4.
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.17 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract SoulboundToken is ...
1
vote
Trying to create a soulbound token. Keep getting two errors
Seems like you are using version 5 of OZ contracts.
In version 5 they have removed the _beforeTokenTransfer and _afterTokenTransfer functions. And introduced a new single function, _update.
Now you ...
0
votes
Best approach to simplify phantom array logic (ERC721 Enumerable) [HARD]
It's still not simpler, but it works as an implementation:
/// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;
contract PhantomIndex {
address payable public immutable THIS;
...
0
votes
Can ERC-721 accept ERC-20 Tokens as a payment method
Look into the source code for fractional NFTs like TheDogeNFT.
If you're only mapping only one ERC721 to one ERC20:
pragma solidity ^0.8.21;
abstract contract ERC20 is IERC20, IERC20Metadata {} // ...
3
votes
Accepted
Why am I not able to deploy ERC721 contract to Avalanche Fuji?
Solidity 0.8.20 introduced the PUSH0(0x5f) opcode which is only supported on the ETH mainnet and not on any other chains. That's why other chains can't find the PUSH0(0x5f) opcode and throw this error....
Top 50 recent answers are included
Related Tags
erc-721 × 948nft × 375
solidity × 372
erc-20 × 110
tokens × 102
erc-1155 × 90
contract-development × 65
opensea × 61
openzeppelin × 57
blockchain × 54
web3js × 48
openzeppelin-contracts × 48
mint × 47
go-ethereum × 39
etherscan × 36
remix × 34
dapps × 25
ethers.js × 25
meta-data × 25
contract-design × 24
hardhat × 22
polygon × 20
truffle × 19
contract-deployment × 19
metamask × 18