Method and system for secure transfer of entities on blockchain