BlockPo / BlockPo-to-Tradelayer

Incubation Repo for the TradeLayer protocol, 0.2.0
http://www.tradelayer.org
Other
8 stars 8 forks source link

Payload RPC for Attestation tx #239

Closed patrickdugan closed 4 years ago

patrickdugan commented 4 years ago

I believe we have the basic RPC but all the KYC addresses are going to be multisig generally, so we need a payload RPC for this tx. We have them for the other two tx related to KYC registry.

patrickdugan commented 4 years ago

This is how I imagined it playing out as I wrote this RPC wrapper:

tl.createpayload_attestation = function(memo){ //parameter is optional, could be used to create legal provability around compliance client.cmd('tl_createpayload_attestation',memo function(err,data,resHeaders){ if(err == null){ return cb(data) }else{return err} }) }