Inspiration:

OAT stands for Owner and Tenant. OAT project is solution to a real world problem that I have identified in the society. This project solves the problem that are faced by Owners and Tenants who are looking out for GOOD people. Let us consider a situation where you have come to a new location/area where your are looking for a good house with good behavior of owner. So when he approach a the owner with a mediator/middle man (who looks for tenants for rented houses), he will be saying all the good things about the owners ignoring the negative things which we may have face later. And he cannot talk to the past tenants that stayed in that owner house. This is perspective of the tenant. Now when you look thing in Owner perspective tenant and mediator might be good friends and now mediator will be saying all the good things about the tenant ignoring the negative things which may owner have face later. And here Owner cannot contact the past owners those who rented their house to this tenant.

What it does

This is where the OAT project comes into picture. OAT is a smart contract powered by the stratis platform which is a highly decentralized blockchain platform which is highly secure and energy efficient. In OAT we will be storing all the details of owners and tenants where we have a robust ledger which contains all the previous owner details that the tenant had stayed and all the past tenant details that the owner has rented. You can also give ratings to our house owners and tenants which create a better place to judge. Only the tenants who stayed in that owner's house can rate the owner and in the same only the owners who rented the house to the tenant can rate the tenant. With OAT you can get details of owners and tenants where you can call them, make a small inquiry about them and then you can rent a house to the tenant or you can stay in that owner's house.

How we built it

We have built the smart contract using c# and for front-end where user interact with the contract we have used ReactJs and Google font API for some styling.

Challenges we ran into

  1. I personally have learned c# 1 year back but haven't worked on any projects. So i was not that good at that time but due to this hackathon i got good grip over it.
  2. OAT Application requires arraylist library where the array keeps on growing but when i checked the stratis documentation Arraylist library is not supported. I got stuck up there for some time, later after reading some documentation in stratis academy where i found we can use PersistentState has key and value concept that is it my road to build OAT Smart contract went smooth.
  3. Integrating Stratis smart contract with ReactJs, i haven't any source or article that could explain me how to integrate these 2 things. Once i have cracked it my confidence was on MARS dreaming to launch rocket with Elon musk... just joking but it was good experience with stratis.

Accomplishments that we're proud of

  1. Finding the Key and value concept in PersistentState and using this wisely in the OAT Application.
  2. Integrating Stratis smart contract with ReactJs. joke: Just landed on Mars after doing this ## What we learned
  3. Personally what I learned from this hackathon is you can do any thing if you have PersistentState 😛 sorry it is persistent.
  4. Try and try till you get it. I haven't found any articles that would explain me to connect stratis contract with ReactJs. I failed at beginning but I kept trying and got it 👍.

What's next for OAT

  1. I need to work on UI and UX where user can interact with the application in a much better way.
  2. I do accept that my contract is not perfect yet but I will keep on trying to make it perfect.
  3. Government can use this application to do surveillance on any tenant or owner. If they are tracking for any suspected persons.

Built With

Share this project:

Updates