Blockchain technology offers a safe and innovative way to realise the concept of self-sovereignty, which refers to an individual's complete control over and ownership of their personhood. Our intrinsic freedom to assert ourselves and choose who we are in the world gives rise to our self-sovereign identity. We have relied on governments to protect that right and enforce that power until now. We will soon be able to create and manage our own digital identities using distributed ledgers, and we will be able to do it with ease. Blockchains are a novel digital technology that combines peer-to-peer network computing and cryptography to produce a decentralised, immutable public ledger. A blockchain is a cryptocurrency, such as Bitcoin, where the ledger records money; however, ledger entries can record any data structure, such as property titles, identity and certification, contracts, and many more. Decentralized financial services, enabled by blockchain technology, can increase financial inclusion, facilitate open access, stimulate permissionless innovation, and provide new opportunities for entrepreneurs and innovators. The rapid evolution of the ecosystem has made it difficult to grasp the fundamental principles of these systems and the threats they pose to security. In this work, I will provide you with a thorough overview of blockchain, as well as examine smart contract security challenges and how quantum computing may impact blockchain security.