0
In the latest bitcoind what RPC calls can I use to:
Create a script with multiple 3 IFs and 1 checklocktimeverify. What are the arguments required here and what is the way to do it via rpc calls?
Encrypt an arbitrary message using a bitcoin pubbkey. The arguments required here will be the plaintext message obviously and the pubkey for the recipient to encrypt the message with (I know address / pubkey hash160 will not work, and whole pubkey is required).
So what is the way to build arbitrary scripts? Since they are available, this should be possible. – skydanc3r – 2017-07-19T21:48:05.750
To build arbitrary scripts, you will need to look up what the available opcodes are, what they do, and what their hex values are. Then you build the script by hand by writing out the hex values for the entire script. Then you can take that and insert it into an unsigned transaction. AFAIK, there is no tool that allows you to build arbitrary scripts and make transactions for them. – Andrew Chow – 2017-07-20T02:33:02.270