You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
# ERC-721 Token — Reference Implementation
4
4
5
-
This is the complete reference implementation of the [ERC-721](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md) non-fungible token standard for the Ethereum blockchain. This is an open source project, complete with [Specron](https://specron.github.io/framework/) testing.
5
+
This is the complete reference implementation of the [ERC-721](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md) non-fungible token standard for the Ethereum and Wanchain blockchains. This is an open source project, complete with [Specron](https://specron.github.io/framework/) testing.
6
6
7
-
Purpose of this implementation is to provide a good starting point for anyone who wants to use and develop non-fungible tokens on the Ethereum blockchain. Instead of re-implementing the ERC-721 yourself you can use this code which has gone through multiple audits and we hope it will be extensively used by the community in the future.
7
+
Purpose of this implementation is to provide a good starting point for anyone who wants to use and develop non-fungible tokens on the Ethereum and Wanchain blockchains. Instead of re-implementing the ERC-721 yourself you can use this code which has gone through multiple audits and we hope it will be extensively used by the community in the future.
8
8
9
9
If you are looking for a more feature-rich and advanced ERC721 implementation, then check out the [0xcert Framework](https://github.com/0xcert/framework).
10
10
@@ -18,7 +18,7 @@ All contracts and tests are in the [src](src/) folder. There are multiple implem
18
18
19
19
Other files in the [tokens](src/contracts/tokens) and [utils](src/contracts/utils) directories named like `erc*.sol` are interfaces and define the respective standards.
20
20
21
-
Mock contract showing basic contract usage are available in [mocks](src/contracts/mocks) folder.
21
+
Mock contract showing basic contract usage are available in [mocks](src/contracts/mocks) folder.
22
22
23
23
There are also test mocks which can be seen [here](src/tests/mocks). These are specifically made to test different edge cases and behaviours and should NOT be used as a reference for implementation.
You can quickly deploy a contract with this library using [Remix IDE](https://remix.ethereum.org). Here is one example.
74
74
75
-
You have created and have possession of unique glass-blown artwork (each having a serial number / lot number) which you would like to sell using Ethereum mainnet. You will sell non-fungible tokens and the buyers would be able to trade those to other people. One token per piece of artwork. You commit to anybody holding these tokens that they may redeem there token and take physical posession of the art.
75
+
You have created and have possession of unique glass-blown artwork (each having a serial number / lot number) which you would like to sell using the Ethereum or Wanchain mainnet. You will sell non-fungible tokens and the buyers would be able to trade those to other people. One token per piece of artwork. You commit to anybody holding these tokens that they may redeem there token and take physical posession of the art.
76
76
77
77
To do this, simply paste the code belowe into Remix and deploy the smart contract. You will "mint" a token for each new piece of artwork you want to see. Then you will "burn" that token when you surrender physical possession of the piece.
78
78
@@ -91,7 +91,7 @@ contract MyArtSale is
91
91
{
92
92
93
93
/**
94
-
* @dev Contract constructor. Sets metadata extension `name` and `symbol`.
94
+
* @dev Contract constructor. Sets metadata extension `name` and `symbol`.
95
95
*/
96
96
constructor()
97
97
public
@@ -125,6 +125,8 @@ contract MyArtSale is
125
125
126
126
## Playground
127
127
128
+
### Ethereum - Ropsten testnet
129
+
128
130
We already deployed some contracts to [Ropsten](https://ropsten.etherscan.io/) network. You can play with them RIGHT NOW. No need to install software. In this test version of the contract, anybody can `mint` or `burn` tokens, so don't use it for anything important.
129
131
130
132
| Contract | Token address | Transaction hash |
@@ -133,16 +135,26 @@ We already deployed some contracts to [Ropsten](https://ropsten.etherscan.io/) n
We already deployed some contracts to [testnet](http://testnet.wanscan.org/) network. You can play with them RIGHT NOW. No need to install software. In this test version of the contract, anybody can `mint` or `burn` tokens, so don't use it for anything important.
See [CONTRIBUTING.md](./CONTRIBUTING.md) for how to help out.
139
151
140
152
## Bug bounty
141
-
153
+
142
154
You are somebody that reads documentation on smart contracts and understands how the ERC-721 Token Reference Implementation works. So you have unique skills and your time is valuable. We will pay you for your contributions to this project in the form of bug reports.
143
-
155
+
144
156
If your project depends on ERC-721 or you want to help improve the assuarance of this project then you can pledge a bounty. This means you will commit to pay researchers that demonstrate a problem. Contact us at [[email protected]](mailto:[email protected]) if interested. Thank you.
145
-
157
+
146
158
Read the full [bug bounty program](BUG_BOUNTY.md).
0 commit comments