Request for ERC721 token

Hi @kate_king,

Welcome to the community :wave:

You can Deploy a simple ERC20 token in Remix. This token uses OpenZeppelin Contracts.

You can deploy the following SimpleERC721 using Remix, you can then call mintWithTokenURI to mint tokens.

Note: You should only use code published in an official release of OpenZeppelin Contracts, the latest release is 2.4. When importing via GitHub on Remix you can specify the release tag, (otherwise you will get the latest code in the master branch). The example below imports v2.4.0.

SimpleERC721

pragma solidity ^0.5.5;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.4.0/contracts/token/ERC721/ERC721Full.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.4.0/contracts/token/ERC721/ERC721MetadataMintable.sol";

contract SimpleERC721 is ERC721Full, ERC721MetadataMintable {
    constructor() ERC721Full("Token", "TKN") public {
    }
}

You can deploy an ERC721 token from Remix importing OpenZeppelin from GitHub.
Though for a production project, you need appropriate testing, so would likely want to use OpenZeppelin SDK or Truffle.

See OpenZeppelin Contracts getting started: https://docs.openzeppelin.com/contracts/2.x/

You can install OpenZeppelin Contracts on Windows 10, though I prefer to use Windows Subsystem for Linux.

There isn't, but I am happy to help with information that you need.

I am not sure I understand what you mean. Are you talking about the metadata for an ERC721 token or something else?

1 Like