Commit 2e14386e by Francisco Giordano Committed by Leo Arias

fix readme snippet so it is concrete

(cherry picked from commit 651f6d8b)
parent 9f5b73df
......@@ -17,10 +17,14 @@ npm install openzeppelin-solidity
To write your custom contracts, import ours and extend them through inheritance.
```solidity
import 'openzeppelin-solidity/contracts/token/ERC721/ERC721.sol';
pragma solidity ^0.4.24;
import 'openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol';
import 'openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol';
contract MyNFT is ERC721, ERC721Mintable {
contract MyNFT is ERC721Full, ERC721Mintable {
constructors() ERC721Full("MyNFT", "MNFT") public {
}
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment