toP2shScriptPubKey method
create p2psh script wit current script
Implementation
Script toP2shScriptPubKey() {
final address = P2shAddress(script: this);
return Script(script: ['OP_HASH160', address.getH160, 'OP_EQUAL']);
}
create p2psh script wit current script
Script toP2shScriptPubKey() {
final address = P2shAddress(script: this);
return Script(script: ['OP_HASH160', address.getH160, 'OP_EQUAL']);
}