Function: constructRegisterClaimTx()
function constructRegisterClaimTx(context, registerEntry): NewTx;
Creates a new transaction for registering a self registration claim.
The self-registration system is a mechanism implemented partly by the smart
contract itself, and partly by the cweb-tool
when deploying smart contracts to
Coinweb.
In the self-registration system, the smart contract is expected to have a method handler for "SELF-REGISTER" that creates this transaction to register the claim that can be used to create the VFS for itself.
...
kit.addMethodHandler(kit.SELF_REGISTER_HANDLER_NAME, selfRegisterHandler);
...
Read more about self-registration at
Parameters
• context: Context
• registerEntry: RegisterEntry
The entry to register.
Returns
A new transaction for registering the claim.