Skip to content

Commit fe1ed03

Browse files
authored
Merge pull request #222 from MoMannn/master
Wanchain reference implementation.
2 parents a2ae3f0 + ac0d447 commit fe1ed03

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

README.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# ERC-721 Token — Reference Implementation
44

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.
66

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.
88

99
If you are looking for a more feature-rich and advanced ERC721 implementation, then check out the [0xcert Framework](https://github.com/0xcert/framework).
1010

@@ -18,7 +18,7 @@ All contracts and tests are in the [src](src/) folder. There are multiple implem
1818

1919
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.
2020

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.
2222

2323
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.
2424

@@ -68,11 +68,11 @@ const contract = require("@0xcert/ethereum-erc721/build/nf-token-enumerable.json
6868
console.log(contract);
6969
```
7070

71-
### Remix IDE
71+
### Remix IDE (Ethereum only)
7272

7373
You can quickly deploy a contract with this library using [Remix IDE](https://remix.ethereum.org). Here is one example.
7474

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.
7676

7777
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.
7878

@@ -91,7 +91,7 @@ contract MyArtSale is
9191
{
9292
9393
/**
94-
* @dev Contract constructor. Sets metadata extension `name` and `symbol`.
94+
* @dev Contract constructor. Sets metadata extension `name` and `symbol`.
9595
*/
9696
constructor()
9797
public
@@ -125,6 +125,8 @@ contract MyArtSale is
125125

126126
## Playground
127127

128+
### Ethereum - Ropsten testnet
129+
128130
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.
129131

130132
| Contract | Token address | Transaction hash |
@@ -133,16 +135,26 @@ We already deployed some contracts to [Ropsten](https://ropsten.etherscan.io/) n
133135
| [`nf-token-metadata.sol`](src/contracts/tokens/nf-token-metadata.sol) | [0x5c007a1d8051dfda60b3692008b9e10731b67fde](https://ropsten.etherscan.io/address/0x5c007a1d8051dfda60b3692008b9e10731b67fde) | [0x1e702503aff40ea44aa4d77801464fd90a018b7b9bad670500a6e2b3cc281d3f](https://ropsten.etherscan.io/tx/0x1e702503aff40ea44aa4d77801464fd90a018b7b9bad670500a6e2b3cc281d3f) |
134136
| [`nf-token-enumerable.sol`](src/contracts/tokens/nf-token-enumerable.sol) | [0x130dc43898eb2a52c9d11043a581ce4414487ed0](https://ropsten.etherscan.io/address/0x130dc43898eb2a52c9d11043a581ce4414487ed0) | [0x8df4c9b73d43c2b255a4038eec960ca12dae9ba62709894f0d85dc90d3938280](https://ropsten.etherscan.io/tx/0x8df4c9b73d43c2b255a4038eec960ca12dae9ba62709894f0d85dc90d3938280) |
135137

138+
### Wanchain - testnet
139+
140+
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.
141+
142+
| Contract | Token address | Transaction hash |
143+
| ------------------------------------------------------------ | ------------- | ---------------- |
144+
| [`nf-token.sol`](src/contracts/tokens/nf-token.sol) | [0x6D0eb4304026116b2A7bff3f46E9D2f320df47D9](http://testnet.wanscan.org/address/0x6D0eb4304026116b2A7bff3f46E9D2f320df47D9) | [0x9ba7a172a50fc70433e29cfdc4fba51c37d84c8a6766686a9cfb975125196c3d](http://testnet.wanscan.org/tx/0x9ba7a172a50fc70433e29cfdc4fba51c37d84c8a6766686a9cfb975125196c3d) |
145+
| [`nf-token-metadata.sol`](src/contracts/tokens/nf-token-metadata.sol) | [0xF0a3852BbFC67ba9936E661fE092C93804bf1c81](http://testnet.wanscan.org/address/0xF0a3852BbFC67ba9936E661fE092C93804bf1c81) | [0x338ca779405d39c0e0f403b01679b22603c745828211b5b2ea319affbc3e181b](http://testnet.wanscan.org/tx/0x338ca779405d39c0e0f403b01679b22603c745828211b5b2ea319affbc3e181b) |
146+
| [`nf-token-enumerable.sol`](src/contracts/tokens/nf-token-enumerable.sol) | [0x539d2CcBDc3Fc5D709b9d0f77CaE6a82e2fec1F3](http://testnet.wanscan.org/address/0x539d2CcBDc3Fc5D709b9d0f77CaE6a82e2fec1F3) | [0x755886c9a9a53189550be162410b2ae2de6fc62f6791bf38599a078daf265580](http://testnet.wanscan.org/tx/0x755886c9a9a53189550be162410b2ae2de6fc62f6791bf38599a078daf265580) |
147+
136148
## Contributing
137149

138150
See [CONTRIBUTING.md](./CONTRIBUTING.md) for how to help out.
139151

140152
## Bug bounty
141-
153+
142154
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+
144156
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+
146158
Read the full [bug bounty program](BUG_BOUNTY.md).
147159

148160
## Licence

0 commit comments

Comments
 (0)