Construct an x-only pubkey from its hex representation.
(hex_key)
| 160 | |
| 161 | |
| 162 | def key(hex_key): |
| 163 | """Construct an x-only pubkey from its hex representation.""" |
| 164 | return bytes.fromhex(hex_key) |
| 165 | |
| 166 | def pk(hex_key): |
| 167 | """Construct a script expression for taproot_construct for pk(hex_key).""" |
no outgoing calls