Oops, the Ethereum network rejected this transaction :( The OpenSea devs have been alerted, but this problem is typically due an item being locked or untransferrable. The exact error was "The execution failed due to an exception...." Whats the reason for this? It appears when I want to accept an offer made to one of my items....
Posted by Crypto Wizard about a year ago
Hi there, I am currently working on an ERC-721 which generates images on the fly. My api sends the information to OpenSea ok, (checked with `/validate`) but the image doesn't seem to be showing. I am sending a stringified svg with escaped `\"`'s in the `image_raw` field. Are there any examples of how the svg data should be sent down?
Posted by Nic Smith about a year ago
I get this error when trying to buy an item - Ethereum network rejected the transaction. Item being locked or untransferrable - Exact error: gas required exceed allowance or always failing transaction
Posted by Alvaro A Pinzon C Pinzon about a year ago
rinkeby-api.opensea.io/asset_contract/0x1C4C47F305deB95c775971F4D00cD76d90007332/create/:1 Failed to load resource: the server responded with a status of 500 () Reply More Options GET /asset_contract/0x1C4C47F305deB95c775971F4D00cD76d90007332/create/ HTTP 405 Method Not Allowed Allow: OPTIONS, POST Content-Type: application/json Vary: Accept { "detail": "Method "GET" not allowed." }
Posted by Anou Mana about a year ago
Hi, I'm trying to create a burnable ERC721 token. So far I've called the openzeppelin ERC721Burnable contract and added the functions as well. My contract deploys just fine, but I am having trouble understanding how to 'trigger' the burn. In the the tutorial we are using 'mint.js' to mint tokens, could a similar thing, like 'burn.js', be created to handle burning? Is there an implementation of this by the opensea team (probably asking for too much here, ha). Is this the preferred implementation to burn, since we are using mint.js to mint? How would I pass the correct token ID to burn?
Posted by jay sun about a year ago
Hi There, I have a Dapp whose metadata resides on blockchain itself. We do not use external URLs for our metadata as we want it to be public and changes can be tracked. We have 3 JSONs that can be fetched using a smart contract function `getWeaponMetaData(weaponid)`. How can I get listed here and see my data as well? Don't you guys support fetching data directly from the smart contract?
Posted by Prashant Prabhakar Singh about a year ago
First of all, loved the tutorial and the project! I'm new to smart contract developing and followed along just fine. I used the open-sea-creature api (https://opensea-creatures-api.herokuapp.com/api/creature/) to populate the metadata of my NFT's (success!). I then tried to change the URI in Creature.sol to point to my own API. I then tried to migrate the contract w/ truffle, but cant get it to use the updated URI. I realized, since the blockchain is immutable does that mean I cannot change anything in the Creature.sol contract? Basically, if you're making a project, once you've set the API link it's over and cannot be changed right ? I'd have to deploy a new smart contract to mess with these attributes?
Posted by go0t about a year ago
Some of our new cards seem to be missing metadata, but the json file is present on our server where it should be. Did maybe something go wrong when the new tokens were minted and the tokenURI didn't stick? Can you guys see a tokenURI for this one: https://opensea.io/assets/0x4e01124b127ae8d0573efc4a026d9d7505fcd5bb/206 Thanks
Posted by Kevin Phillips about a year ago
The OpenSea validator returned a message that my ERC-721 contract on rinkeby did not meet the standard. I'm using Zepkit and I was pretty sure it was legit. I looked for a validator, but I only found one for mainnet. Is there a way to get more detailed info for troubleshooting?
Posted by Chris Lumpkin about a year ago
Hi, Let's say I created an ERC 721 token that is an 'avatar' for an RPG-like game. If I wanted to update the token with experience and other attributes, can this be done with ERC 721 or are NFTs not able to be updated once they're deployed on the blockchain? Thanks
Posted by Karl about a year ago
Working on a collectible card game based on ERC721 with the metadata extension. When a person "collects" a warrior, it is successfully "minted" to the owner and the tokenURI is successfully set to the path of the json file with the metadata (name, description, image path) in it. My question is how do I now get that metadata (especially the image) so I can show it on my website? I have a page that displays the warriors the person has collected. On that page I'm successfully getting the info for the warrior structs and painting to the page. Here's that code I have in my app.js file: function getWarriorsByOwner(owner) { return new Promise(function (resolve, reject) { App.contracts.WarriorFactory.deployed().then(function(instance){ instance.getWarriorsByOwner.call(owner) .then(function(warriors){ resolve(warriors); }); }); }); } function displayWarriors(ids) { $("#warriors").empty(); for (id of ids) { // Look up warrior details from our contract. Returns a `warrior` object getWarriorDetails(id.toNumber()) .then(function(warrior) { // Using ES6's "template literals" to inject variables into the HTML. // Append each one to our #warriors div $("#warriors").append(`<div class="col-md-4"> <div class="card mb-4 shadow-sm"> <img class="card-img-top" src="" alt="Card image cap"> <div class="card-body"> <h5 class="card-title card-name">${warrior[0].toString()}</h5> <strong>Attack</strong>: ${warrior[1].toString()}<br/> <strong>Defend</strong>: ${warrior[2].toString()}<br/> <strong>Strategy</strong>: ${warrior[3].toString()} <strong>Cards Issued</strong>: ${warrior[4].toString()} <strong>Total Cards</strong>: ${warrior[5].toString()} </div> </div> </div>`); }); } } So, if a person owns warrior 0 in the warriors array, I get all the attributes for that warrior. If I call tokenURI(0) I also see the correct path to the json file with the rest of the info in it that I don't keep on chain. What would I need to add to also read the correct json file and set the image source here in the above: <img class="card-img-top" src="" alt="Card image cap"> I'm very new to this which means I know just enough to be tempted to do very stupid things, the above may be an awesome example of just that. Any advice? Thanks, Kevin
Posted by Kevin about a year ago
somehow my metadata is not showing up and i don't know why: https://opensea.io/assets/0xa87a42351e2ad8c613370f4ef506d2d1d8b1e4f0/1 the tokenURI: https://von-aesch.com/tokenURI.php?colors=VA_DIAMONDS-E2635C-E2635C-BCD78D-BCD78D-BCD78D-BCD78D-E2635C-E2635C-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D-BCD78D how can i debug the metadata? is there an opensea parser to validate it?
Posted by KM about a year ago
Hi! Like it talks about in this thread https://github.com/ipfs/ipfs/issues/181 what are the chances of OpenSea supporting generic IPFS URLs of the format fs:/ipfs/<hash> or /ipfs/<hash> in the tokenURI calls of our ERC721 contracts?
Posted by Wil Bown 2 years ago
Any good starting points for where to learn how to generate/create the metadata json objects for the tokenURI to point to? I know that if I have a dapp at http://mycardgame.com and a tokenId of 6 that it would point to something like http://mycardgame.com/cards/6 . What I need help learning is how do I create that json for card 6 when the token is minted? I suspect that I may not even know enough about that to have even asked the question the right way...
Posted by Kevin Phillips 2 years ago
Complete newbie here so this is probably a dumb question. If I'm building a card game and the "characters" have different starting level, attack, etc. attributes, and I want the characters to be able to "level up", would it be feasible to store those in the metadata json file for the character? I've messed around with solidity a bit and have been able to change attributes for a character that I store in a struct, but am wondering if the json for a character could also be updated by javascript or something of that nature. Seems if you could do that it would keep transactions on the blockchain down (saving gas). Thanks in advance for any advice. Kevin
Posted by Kevin Phillips 2 years ago