Smart contract and interface to get married on the blockchain!

Marriage via Chains

1.What is blockchain? To the unaware, a blockchain is a permanent, publicly distributed ledger that verifies transactions, records of events and is resistant to modification data. Every new data included creates a new block which consists of a cryptographic hash and timestamp and forms a chain of verified information. In the case of this marriage, it was done via an Ethereum smart contract, which is a digital agreement between two or more individuals that can be accessed simply by scanning the blockchain anytime in the future.

Such contracts have been commonly used in trade finance as they can settle transactions without requiring a third party for verification. Anything you put on Blockchain is said to remain forever.

2.What's special about blockchain marriage? Unlike a traditional marriage where it’s either the state, the law or the religion act as an institution to regulate the union between the two partners, a blockchain marriage is a decentralised one, where it can be as flexible as the wishes of the owners of the blockchain.

Couples can create smart contracts that can be renewed, changed or dissolved annually. Sadly, it doesn’t hold legal weight in Indian law (or even the US law for that matter), it surely is an attractive option for couples due to its unchanging behaviour as unlike a traditional marriage certificate that would get deteriorated with time, this one would stay in the blockchain forever.

3.Here are a few benefits of having an off-chain account: Saving transactions details off-chain saves you gas when sending transactions to the certificate. Only you and your partner have access to transactions history and control panel. You can easily retrieve you marriage certificate number if you lose it. Your secret key is safely saved in case you need it later. Withdrawal request receipt numbers will appear in transactions history for easy access

  1. What we create: *The Marriage Certificate Factory *The createNewCertificate function *The Marriage Certificate *The contract state manipulations

5.What's next for marriage via chains Conclusion: I hope this would helped you understand the inner mechanics of a smart contract created to register marriages on the blockchain, to keep track of the marriage status, to manage a marital budget and to ease various processes involved in the bureaucracy of marriage.

Beyond the practical side of such a contract, it is also envisioned as a demonstration of how far the blockchain can push the limits of our centralized society and open the gates of a decentralized world where we will all take back the power to make decisions for ourselves!

Built With

Share this project:

Updates