Skip to content

Commit

Permalink
Copy docsite landing to readme (#2058)
Browse files Browse the repository at this point in the history
* Copy docsite landing to readme

* Fix code sample

* Apply suggestions from code review

Co-Authored-By: Francisco Giordano <[email protected]>

* Update code sample

Co-authored-by: Francisco Giordano <[email protected]>
(cherry picked from commit d6698c3)
  • Loading branch information
nventuro committed Jan 23, 2020
1 parent 3ba4b7a commit 9604988
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ Once installed, you can use the contracts in the library by importing them:
----
pragma solidity ^0.5.0;
import "@openzeppelin/contracts/ownership/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721Full.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721Mintable.sol";
contract MyContract is Ownable {
...
contract MyNFT is ERC721Full, ERC721Mintable {
constructor() ERC721Full("MyNFT", "MNFT") public {
}
}
----

Expand Down

0 comments on commit 9604988

Please sign in to comment.