I would like to add a new Notary/Regulatory node in my Cordapp application , which should perform some extra validation checks when transaction is completed between two parties. so that notary/regulatory will be finally checks for some things and stamp the transaction.
How to add another regulatory node and add some functionality to it in corda DLT?
164 views Asked by Jayant At
2
There are 2 answers
0
On
As Roger notes, you could customise FinalityFlow
/implement your own notary.
An alternative would be:
- Add a new node to the network representing some regulator
- Write the contract rules so that the regulator is a required signer on transactions
- Have the regulator do additional checking of the transaction in their flow before signing
There are two options here:
FinalityFlow
to notarise, broadcast and record transactions, you can implement your own flow that performs some additional validation before the notarisation step. The limitation here is that the checks are not part of the notary service.Create your own custom notary. Here, the custom validation checks happen within the notary service. The ability to do this is a recent change to the codebase, as such the documentation has not been updated to reflect the changes, however the source docs can be found on github: