You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

0 Días
11 Hrs
15 Min
4 Seg

¡Crea tu PlatziPunk y visualízalo en OpenSea!

23/24
Resources

How to test and preview your smart contract in OpenSea?

Once you have verified your contract in Etherscan and created a user interface to interact with it, the next step is to test and preview this contract on some testnet and marketplaces like OpenSea. Recall that OpenSea is one of the most popular marketplaces for NFTs, and to access its testnet version, you must connect to a testnet like Rinkeby with your Metamask wallet. You will then be ready to see your smart contracts deployed as NFTs on a real platform, albeit in a test environment.

How to access the testnet version of OpenSea?

To use OpenSea in a testnet:

  1. Log in to opensea.io and make sure your Metamask is connected to a testnet.
  2. OpenSea will automatically detect that you are on a testnet and offer you a link to enter its version of testnets: testnets.opensea.io.
  3. Here you will be able to see your wallet and the NFTs you have created in the testnet.

How to import an existing contract into OpenSea?

Once inside the trial version of OpenSea, the process to view your NFTs is as follows:

  1. Go to your profile and select "My Collections".
  2. Click on "Import an existing smart contract".
  3. Select "Live on testnet" in the new tab that will open in your browser.
  4. Insert the address of the contract you obtained in Etherscan making sure you are on the Rinkeby testnet.
  5. Once confirmed, OpenSea will automatically read your contract metadata and display your NFTs.

What can be done with your NFTs in OpenSea?

Your NFTs, like your Platzipunk, are now visible in OpenSea. This is possible thanks to the metadata and alignment with the ERC721 standard you used during their creation. With this, you can:

  • View all the metadata and information of your NFTs. As well as the description and ID associated with each token.
  • Direct interaction with other applications. Any blockchain-compatible application can consume this data.
  • Sale and auction. Use OpenSea's capabilities to sell or auction your creations.
  • Explore more possibilities. Play with the characteristics of your NFTs, such as changing DNA or ID to see what images are generated.

How to further experiment with your smart contracts?

The interoperability of your contracts thanks to the ERC721 standard allows a number of possibilities for further experimentation:

  • Modify and create new NFTs. Change attributes to generate different versions of your collection.
  • Simulate new DNAs. Test with different addresses and ID combinations to predict results.
  • Query contract attributes. Get and manipulate your NFTs data directly from the blockchain.

The exploration doesn't stop here; continue to explore the capabilities of your smart contracts on OpenSea and other marketplaces. Continued practice and experimentation with NFTs provides you with invaluable experience in the blockchain world.

Contributions 23

Questions 16

Sort by:

Want to see more contributions, questions and answers from the community?

Si de pronto les pasa que al tratar de visualizar el nft les sale la data vacía tanto de la imagen como de la descripción, opriman el botón que ofrece OpenSea para actualizar la data, esperan aproximadamente un minuto y ya les carga la data.

Mis PlatziPunks terminaron saliendo todos iguales 😂 debo haber hecho algo mal con el generador aleatorio de ADN 😂!

1

Santa madre de dios, hice un NFT 😱

Open Sea puede indexar nuestro NFT porque cumple con el estándar ERC721, y eso permite a todas las plataformas de NFT leer y procesar sus atributos

Sos un crack loco, alto curso, me voló la cabeza lo ultimo que esté todo conectado

Interactuen con el cotrato, hagan mint , compren, vendan , dejen aqui sus contratos:
0xc88dc682ae71c7cc17431e31b675292b2c67f6cb

Solo le agregue una funcionalidad para mintear de 0.05 ETH, igual es testnet

No podía conectar Etherscan a mi wallet de Metamask, no había notado que la red que tenía seleccionada era la “Red principal de Ethereum” era necesario habilitar las redes de prueba, y así seleccioné la red de prueba de Rinkeby, luego de esto logré conectar.

hola a alguien le sobran eth en rinkeby ya que no puedo realizar el deploy por ropsten dice ProviderError: contract creation code storage out of gas, y tengo 0,5 eth gracias
0xc1f834dc9E2A955CEB2cd8f568D3418d471b2404

Acá les dejo mi contrato por si quieren mintear su NFT 😉

0x29892ff88718821bf77183d6b21ce9befa9deeb8

Como no me funcionó en la red de Ropsten y no tenía saldo para la red Rinkeby, decidí usar el contrato del profesor, les dejo la dirección a continuación:
0x0c5F4b37B32993f7923569c1a7605c3a67cA6Bc9

En caso de que a alguien le sirva, este es mi contrato: 0xEf360c85D6f6388a354FceF6CFaeDfa9448DA5a4

Alto curso! mi primer NFT OMFG!

Lo logre gracias a DIOS, a este excelente profesor y curso!!!

Ni con el boton de reload logre que me muestre la metadata en OpenSea, por si a alguien mas le pasa y quiere hacerlo funcionar, esto es lo que hice:
El contrato tiraba el tokenUri de forma ok, pero… al imprimir el dataapp/json base64 en el navegador habia un problema al mostrar el # numero del NFT.
Si al armar el json elimino el tokenId funciona perfecto.

"name": "PlatziPunks #X"

Supongo que debe haber algun prob en alguno de los 2 encode cuando se usa un uint asi que use la libreria Strings de openzepp y lo deje asi:

import "@openzeppelin/contracts/utils/Strings.sol";


'"name": "PlatziPunks #', Strings.toString(tokenId) ,'"' ...

Por aquí les dejo mi contrato: 0x97df4b6Dc0687f3c540851b3c8A5d926bf1105e1

A mi open sea no me terminaba de cargar los nft, pero pude verlos de inmediato practicamente con looksrare que tiene también una url para goerli https://goerli.looksrare.org/

Excelente curso! 🙂

Asegúrense de tener al menos un token minteado en su wallet. De lo contrario, OpenSea no reconoce el contrato y no pueden conectar la plataforma con la address.

En mi pais esta bloqueado

Access denied Error code 1020