fix readme snippet so it is concrete
(cherry picked from commit 651f6d8b57)
This commit is contained in:
committed by
Leo Arias
parent
9f5b73df37
commit
2e14386eda
@ -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 {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user