An innovative Web3-powered AI platform that redefines short-term property rentals built on top of Internet Computer.
StayChaintion is an innovative Web3-powered AI platform that redefines short-term property rentals through the power of blockchain, decentralization, and artificial intelligence. We offer secure, transparent, and AI-enhanced property management solutions that empower hosts and guests with a frictionless, trustless experience.
- Notion Documentation (Detail) https://www.notion.so/stanley-n-wijaya/StayChaintion-Documentation-1af73555b71f805a933ff1074e3e8059
- Pitch Deck https://www.canva.com/design/DAGgX6SkP8c/e9ZRfIfppA58yAfmVapf7w/edit?utm_content=DAGgX6SkP8c&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
- Demo Video https://drive.google.com/file/d/1CnUGvAF6VMQLnUvK59eWFMMUCT3y4AsJ/view?usp=sharing
- โ
Blockchain-Powered Transactions:
- Ensuring secure, transparent, and tamper-proof rental agreements.
- โ
Decentralized Trust System:
- Utilizing smart contracts to eliminate intermediaries, reducing costs and increasing fairness for both hosts and guests.
- โ
AI-Driven Smart Pricing & Insights:
- Predicting optimal rental prices based on location, room type, and room facility.
- Get to know StayAI, the Staychaintion Chatbot that will help answer all questions related to Property, Web3, and AI.
You can see the following documentation for Internet Computer online:
- Git
- WSL
- powershell > type in "wsl --install"
- Visual Studio Code https://code.visualstudio.com/ With the extensions :
- Plug Connect
- Extension
- Psychedelic packages
Make sure to have dfx installed, update if needed.
- DFX Version : 0.19.0
Also, make sure node is installed too.
- Node Version : 20
For more details, you can check the installation docs here:
https://docs.google.com/document/d/e/2PACX-1vTNicu-xuf4EiLAehHIqgfpjAnPjzqMGT-xpZVvYaAWNyvzYK_Ceve_me4PVRIxpzH7ea5PAX9NxGwY/pub
Finally, to get it running, you can follow these instructions : Go to visual studio code and open a new terminal.
git clone https://github.com/nathanielalex/Staychaintion
cd staychaintion
npm install
dfx start --clean --background
dfx deps pull
dfx deps deploy
dfx canister call Property_seeder run
dfx canister stop Property_seeder
dfx canister call User_seeder run
dfx canister stop User_seeder
npm run setup
npm run start
Installing Python in Ubuntu
sudo apt update && sudo apt upgrade -y
sudo apt install python3 python3-pip -y
python3 --version # Check Python version
pip3 --version # Check Pip version
If the python and pip already installed then we are good to go
Virtual Environment in Ubuntu
cd ./staychaintion/ai-model
pip3 install virtualenv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip list # to check all installed dependencies
Python & Notebook File Location
cd staychaintion/ai-model/predictions/
Created the AI Model
The Model is already created by running the โtrain_model_final.pyโ
Simply just run that file to get the 3 .pkl file
python train_model_final.py
Run the main_final.py python file
Make sure you are in the same directory as where the main_final.py located
uvicorn main_final:app --host 0.0.0.0 --port 8000 --reload
That command will open the port to run the API and the frontend will fecth the API using Axios to get the response.
Get the Google API Key
- Go to this website
- Right there you need to get the Google API Key first
- After you already got the Google API Key, you can update the .env file located in ./staychaintion/.env (in the root folder)
- Put code like this
- GOOGLE_API_KEY='YOUR_GOOGLE_API_KEYโ
If any questions occured, or in the need of any discussion or details, please contact us :
- Email : stanley.n.wijaya7@gmail.com
- Telegram : https://t.me/xstynwx
- Discord : stynw7