add extern scriptpubkey