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