- Implement the function of ERC721
- Issuance of ERC721 property
- Issuance of ERC721 Token
- Transfer of ERC721 Token
- Destruction of ERC721 Token
- Add integration testing for ERC721
- Add RPC interfaces for ERC721
- Modify part of the RPC interface
- Support all features of Bitcoin-ABC (v0.18.2)
Due to changes of consensus rules in the Bitcoin-ABC 0.18.2
, and Wormhole added support for the ERC721 protocol; all nodes must be forced to upgrade to the version (0.2.0)
. At the same time, nodes below version 0.2.0 will no longer be supported, these nodes will not be able to provide accurate transaction and block information due to changes in consensus rules.
The Wormhole 0.2.0
node is compatible with the Bitcoin-Abc 0.18.2
version. The Wormhole node can also be used as a Bitcoin-Abc node to support all functions of the Bitcoin-Abc node.
wormholed-cli whc_getinfo
{
"wormholeversion_int": 20000000,
"wormholeversion": "0.2.0",
"bitcoincoreversion": "0.18.2",
"block": 1266612,
"blocktime": 1541556523,
"blocktransactions": 0,
"totaltransactions": 5155,
"alerts": [
]
}
Wormhole node version : "wormholeversion": "0.2.0"
Bitcoin-Abc version : "bitcoincoreversion": "0.18.2"
The Wormhole version released in this document is 0.2.0 and Bitcoin-ABC 0.18.2 is supported.
- Download the code for version 0.2.0:https://github.com/copernet/wormhole/releases/tag/v0.2.0
- Install, compile
- Run the version 0.2.0 using the following command for the first time:
wormholed -startclean=1 -daemon
- Use the following command when the software is restarted the next time after the data synchronization is completed for version 0.2.0:
wormholed -daemon
-
Newly added wormhole transaction type:
WHC_TYPE_ERC721 (9)
, identifies the ERC721 transaction. -
Newly added enumeration type:
ERC721Action
, identifies the operations involved in the ERC721 transaction.-
enum ERC721Action{ ISSUE_ERC721_PROPERTY = 1, ISSUE_ERC721_TOKEN, TRANSFER_REC721_TOKEN, DESTROY_ERC721_TOKEN };
-
Mainnet:555655
Testnet:1267112
Regtest:110
Test execution steps:
1. precondition:The Wormhole project was successfully compiled
2. Enter the test directory:cd wormhole/test/functional
3. Run the test:./test_runner.py whc_erc721.py
See RPC's detailed explanation:https://github.com/copernet/spec/blob/master/wormhole-RPC.md
Description: Issuance of ERC721 property
Description: Issuance of ERC721 Token
Description: Transfer of ERC721 Token
Description: Destruction of ERC721 Token
Description: Generate the payload data for create the ERC721 property
Description: Generate the payload data for create the ERC721 token
Description: Generate the payload data for transfer of ERC721 Token
Description: Generate the payload data for destruction of ERC721 Token
Description: Get the information of ERC721 property
Description: Get the information of ERC721 Token
Description: Get Token in the specified address under the specified ERC asset
Description: Get the destroyed ERC721 Tokens under the specified ERC721property
Description: Get information about wormhole transactions
Changes:
- The field is added to the return value for Identifying the ERC721 property id:
erc721propertyid
- The field is added to the return value for Identifying the ERC721 token id:
erc721tokenid
- White Paper https://github.com/copernet/spec/blob/master/whcwhitepaper-en.pdf
- Yellow Paper https://github.com/copernet/spec/blob/master/wormhole-yellowpaper-en.md
- Spec https://github.com/copernet/spec/blob/master/wormhole-spec-en.md
- RPC manual https://github.com/copernet/spec/blob/master/wormhole-rpc-en.md
- Test manual https://github.com/copernet/spec/blob/master/wormhole-testmanual-0.2.0-en.md