You may have heard about Non Fungible Tokens (NFTs). The most popular NFT standard right now is ERC721. But what actually defines a ERC721 token? And how does it technically work?
ERC721 is a technical standard for implementing non fungible tokens in Ethereum. The functions within the ERC721 standard define how ERC721 tokens can be sent, how owners of specific tokens can be retrieved and where details about a specific token are located at.
To create an ERC721 token, one has to create and customize the ERC721 smart contract. As it is an open defined standard, various functions and events have to be considered when developing the smart contract for an ERC721 token. After creation and customization, the smart contract can be compiled, for example with the web based compiler Remix. The bytecode which is returned after compiling has to be broadcasted to the Ethereum blockchain. Congratulations! The ERC20 token is on the blockchain now!
The official standard, it’s functions and events are described in the official EIP-721, William Entriken, Dieter Shirley, Jacob Evans, Nastassia Sachs, “EIP-721: Non-Fungible Token Standard,” Ethereum Improvement Proposals, no. 721, January 2018. [Online serial]. Available: Example implementations can also be found on the Github pages of OpenZeppelin.
An ERC20 token is fungible, which means every token is literally the same, just like usual currencies. An ERC721 token is non fungible, which means every token can have different details, just like collectibles.
Gas fees always have to be paid in Ethereum. Even if only ERC721 tokens are transferred, some Ethereum on the sending address is required to cover blockchain side gas fees.
There are 2 answers to this question:
This depends a lot on the actual usage of the token and the country of the owner. In most countries, ERC721 tokens are legal itself, but when it comes to selling, exchanging, using them as payment method or company shares further regulations and licenses are needed. ERC721 tokens may also be subject to taxes in many countries. In any case, a lawyer is recommended to check if licenses are needed for a specific usage or business model. Know your Customer (KYC) and Anti Money Laundering (AML) rules may also apply when selling ERC721 tokens.
Usually people send cryptocurrencies by using their wallet: They will enter the receiver and the amount to be sent. But what, if you want to send ERC721 tokens to ten thousands of people? Manually doing this will take you at least 7 days 24 hours of work, this is not a good option. This is one of the reasons why we created Chaingateway.io. Using the simple to use REST API of our solution, it is possible to send ERC721 tokens to millions of people with a simple script. And the best: It works with any ERC721 token and doesn’t need any listing (like most exchanges do).
When deploying an ERC721 token smart contract, you will receive a hash, which is like the unique identifier for Ethereum to know where to find the deployed smart contract on the Ethereum blockchain. This is also known as contract address, because it is the address where the smart contract is located at. The contract address is the only part of a token which allows you to identify you are dealing with the correct ERC721 token. Of course, every ERC721 token has a name, but these don’t have to be unique. In theory, you can create ten thousand ERC721 token contracts which all have the same name – only the contract address will differ.
Other popular token standards are ERC20 – a smart contract standard for non fungible tokens. And the ERC1155 – a smart contract multi token standard. Below we link our ERC20 token explanation and a further link to the ERC1155 token standard.
Witek Radomski, Andrew Cooke, Philippe Castonguay, James Therien, Eric Binet, Ronan Sandford, “EIP-1155: ERC-1155 Multi Token Standard,” Ethereum Improvement Proposals, no. 1155, June 2018. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-1155.