You can follow the blog for Description
0.General concepts of blockchain :https://programmerprodigy.code.blog/2020/04/04/understanding-concepts-of-blockchain/
1.A cpp implementation g++ Blockchain_0.cpp ./a.out C++ implementation blog :https://programmerprodigy.code.blog/2020/04/04/blockchain-in-c/
Dependency is python 3
2.A python implementation python Blockchain_1.py python implementation blog :https://programmerprodigy.code.blog/2020/04/04/blockchain-in-python-using-functions/
Help was taken from this source :https://developer.ibm.com/technologies/blockchain/tutorials/develop-a-blockchain-application-from-scratch-in-python/