Chain unlocking

You can check the source code for the project here. My thesis can be consulted here