Derive scriptPubKey from BIP32 key
Similar to #103, but it would produce bytes containing the scriptPubKey.
This is useful when composing a transaction, to directly generate a change output. Otherwise you have to derive a change address with wally_bip32_key_to_address / wally_bip32_key_to_addr_segwit and then parse it with wally_addr_segwit_to_bytes / wally_address_to_scriptpubkey (#112)
مشابه Duplicate of # شماره 103 است، اما بایت های حاوی
scriptPubKey.این هنگام نوشتن یک تراکنش، برای ایجاد مستقیم خروجی تغییر مفید است. در غیر این صورت باید یک آدرس تغییر را با 0xddBd2B932c763bA5b1b7AE3B362eac3e8d40121A
_wally_bip32_key_to_address/ استخراج کنید و سپس آن را با /wally_bip32_key_to_addr_segwitتجزیه کنید ( #112 @)wally_addr_segwit_to_bytes``walladdress_ to_scriptpubkey(https://github.com/ElementsProject/libwally-core/pull/112)`