The two documents use different internal keys, but the description in both says “the sha256 of ‘alice’, ‘bob’, and ‘internal’ respectively”.
tapscript-example.md has the correct value:
intrnl 3bed2cb3a3acf7b6a8ef408420cc682d5520e26976d354254f528c965612054f
which matches sha256('internal'):
>>> import hashlib
>>> hashlib.sha256(b'internal').hexdigest()
'3bed2cb3a3acf7b6a8ef408420cc682d5520e26976d354254f528c965612054f'
tapscript-example-with-tap.md has a different value:
intrnl 1229101a0fcf2104e8808dab35661134aa5903867d44deb73ce1c7e4eb925be8
That’s not sha256('internal'). The description was copied from the other file but the key was changed at some point without updating the text.
Both files derive consistent pubkeys and tweaks from their respective internal keys, so the rest of each tutorial works fine internally. It’s just the comment claiming they’re sha256 hashes that’s wrong in the tap version.












