- Add managed property freezing and unfreezing function
- Modify the explanation of the previous token ID field in the issued managed property transaction
- Download the code for version 0.1.2:https://github.com/copernet/wormhole/releases/tag/v0.1.2
- Install, compile
- Run the version 0.1.2 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.1.2:
wormholed -daemon
Version 0.1.2 adds the freezing and unfreezing function for managed property. The property issuer can freeze the specific token under the specified address, and the frozen address cannot transfer the token under it until the issuer unfreezing the token, and the issuer is not allowed to transfer the property manager identity to the frozen address. The newly added RPC interfaces are as follows:
whc_createpayload_freeze
Description:create Wormhole freezing property payload
whc_createpayload_unfreeze
Description:create Wormhole unfreezing property payload
whc_sendfreeze
Description:create and send Wormhole freezing property transaction
whc_sendunfreeze
Description:create and send Wormhole unfreezing property transaction
whc_getfrozenbalance
Description:To obtain the balance of a specific token and address
whc_getfrozenbalanceforid
Description:To obtain the balances of a specific token
whc_getfrozenbalanceforaddress
Description:To obtain the balances of a specific address
whc_sendissuancemanaged
Description:To issue a manageable property
Field change:previousid;
Version 0.1.2 reinterprets the previousid field. It represents the property freeze function switch with a legal value of 0,1now. The default value is 0 (compatible with previous versions, that is, turning off the freeze function), and the new increment value of 1 means turning on the property freeze function.
- 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.1.2-en.md