示例#1
0
 public Script GenerateScriptPubKey(ScriptId scriptId)
 {
     return(new Script(
                OpcodeType.OP_HASH160,
                Op.GetPushOp(scriptId.ToBytes()),
                OpcodeType.OP_EQUAL));
 }
示例#2
0
 public CoinScriptAddress(ScriptId scriptId, Network network)
     : base(NotNull(scriptId) ?? Network.CreateBase58(Base58Type, scriptId.ToBytes(), network), network)
 {
     _Hash = scriptId;
 }