Inspiration
Once when we went out to eat with a group of friends, when we finished eating, we wanted to return part of the money to the person who paid that day. But there are some members who don't want to pay, to solve that, I just had the idea of making a money sharing application on blockchain.
But when we searched for this idea on the internet, there was a pretty famous app that does them, but not on the blockchain. So we use the same idea as Splitwise to do SplitMoneyFun.
So we used their video as an introduction
What it does
The user can create an invoice, fill in the total amount of the invoice that day, Then invite the members that day to attend the party, and the system will automatically send a notification to the dashboard of the invited members. When members complete the payment, the invoice will automatically change the status to 'completed'
How we built it
In the SplitMoneyFun.aes file. I build 'create_expense' function to create an 'expense' like a bill. User can add member (sharer) and create expense. After the user has created an expense, Members will receive a notification at the dashboard. I built 'pay_expense' function so members can pay with AE token. After all members have paid, expense status will be done. In addition, in the contract there are functions:
- 'add_mutual_expense' : Extra cost per member
- 'get_mutual_expense' : Member(sharer) can get information about the bills they have to pay.
And there are other extra functions.
Challenges we ran into
-æternity Sophia Language as a fairly new language, we need a lot of time to approach and understand its design
Accomplishments that we're proud of
- Build and complete the contract of a model money sharing application. Although we didn't finish the frontend in time, in terms of contract design, we hope the judges will easily understand our concept.
What we learned
- æternity Sophia Language
What's next for SplitMoneyFun
The near future will complete the frontend part. And run officially as soon as possible
Built With
- aeternity
- javascript
Log in or sign up for Devpost to join the conversation.