sCrypt-Inc/scrypt-ord

transfer to a contract & minted to p2pkh

Closed this issue · 3 comments

xhliu commented

All our existing examples mint an ordinal to a contract and transfer it by calling the contract. There are cases where the ordinal is minted regularly to a p2pkh, it gets transferred to a contract some time later and needs to be unlocked. Add these examples for FT & NFT.

Basically do the 2*2 table, but for transfer in 3rd dimension https://github.com/sCrypt-Inc/services/issues/151.

xhliu commented
xhliu commented

Add a longer chain of transfers, e.g.,

p2pkh -> hashpuzzle -> counter -> hashpuzzle -> p2pkh.

xhliu commented

Add a failing case, where message (hash preimage) or signature is wrong and transfer (unlock) fails.