This is a PoC smart wedding contract on Ethereum blockchain with Solidity. It's features:
- Guest list
- Objecting marriage
- Voting for marriage
- Time constraints on Ethereum Contracts
- Cancelling wedding by one spouse
- Formalizing marriage
Developers:
Ethereum Smart Contracts - Smart Wedding Contract
This is a PoC smart wedding contract on Ethereum blockchain with Solidity. It's features:
Developers:
attendCeremony() and acceptInvitation() functions can be invoked anytime. There should be a time constraint for these functions.
If there is no objection, the marriage has to be written to the blockchain.
The project requirements number 1: "two people decide to get married. They write it on a register, together with the date (day and time) of the ceremony, and the guest list"
If someone objects it should lead to failure. We need to implement some kind of state.
The project requirements number 5: "(optional) an objection will not cause an immediate failure, but a voting process will take place instead. The validity of the objection will be decided by the majority of the participants."
The project requirements number 4: "a function will implement the sentence “if anyone has an objection to these two being married, speak now or forever hold your peace”. In case of any objection, the whole ceremony will stop and a failure will be registered on the blockchain. In the other case, the wedding will be written forever"
All finishing requirements for pushing the Wedding to the chain. Feel free to contribute to the commenting
The state of the contract must be stored. These states might be: not married yet, married, divorced, married objected...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.