Integrate Ordinals with smart contracts on Bitcoin: Part 3