Generating and Working With ScriptPubKeys in Bitcoin Transactions
How to derive ScriptPubKeys 
Tags: bitcoin, scriptpubkey