How to create an interactive NFT with Remix for Ropsten

In this post, we will try to create an interactive NFT.


Steps to create an interactive NFT

Step 1. Add cypher-ropsten to MetaMask

Step 2. Create an account

Step 3. Get 5 test CPH from the faucet

Step 4. Write a contract on Remix

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import “";
import “";
import “";

contract InteractiveCube is ERC721URIStorage {
using Counters for Counters.Counter;
Counters.Counter private _tokenIds;
constructor() ERC721 (“InteractiveCube”, “CUBE”) {}

function mint(string memory tokenURI) public returns (uint256) {
uint256 newItemId = _tokenIds.current();
_safeMint(msg.sender, newItemId);
_setTokenURI(newItemId, tokenURI);
return newItemId;

Step 5. Using Pinata (IPFS) to add information to your NFT


“name”: “InteractiveCube 1”,

“description”: “Red Cube”,

“image”: “",

“animation_url”: “"


Step 6. Mint an NFT

Step 7. Check your NFT and play with it

About Cypherium



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store