## Inspiration

Customer reward loyalty programs are becoming more and more centralized, with reduced use of paper coupons that were able to be traded among people and the creation of more app-based claiming platforms (think Starbucks, Chipotle, Snackpass). In addition, with the pandemic, customers and the businesses they visit are losing out on experiences and sales, respectfully. Bazaar aims to bridge this gap by empowering customers and businesses.

## What it does

* Basics
The platform itself is hosted on the Terra blockchain, using reward "tokens" (Bazaars, BAZ) that are minted at 1% of any user purchase from a local business using their Terra wallet. At certain timeframes or purchases at a business, users may also receive a redeemable coupon for that specific business. Users are able to redeem Bazaar tokens for coupons, as well. Using GPS + a shared QR code, the more people purchasing from a company at the same time in a group, the more BAZ will be minted and distributed among the group.
* Walkthrough of Minting:
* User links wallet in app
* User buys item from store with UST
* UST sent through our contract
* Contract mints BAZ to User’s wallet based on how much they spent
* Contract passes UST to restaurant’s wallet
* User-Powered Marketplace
Users are able to sell coupons for Bazaar tokens to other users through the Marketplace. This allows for coupons to still be redeemed at business, bringing traffic and preventing loss of sales.

## How we built it

Our UI is through Android Studio + Java. The tokens are minted and executed through a smart contract on the Terra blockchain using their Python SDK.

## Challenges we ran into

* Figuring out how to use Terra, which SDK to use (python versus javascript), learning how to write and interpret smart contracts/tokens in Rust.
* Combining the python backend with the android studio (by creating a Flask server and using Volley/Retrofit to pass HTTP requests between the two).

## Challenges we ran into

* Figuring out how to use Terra, which SDK to use (python versus javascript), learning how to write and interpret smart contracts/tokens in Rust.
* Combining the python backend with the android studio (by creating a Flask server and using Volley/Retrofit to pass HTTP requests between the two).

## Accomplishments that we're proud of

We are proud of learning how to develop Android apps without having any prior experience. We are also extremely proud of minting our own token and creating a smart contract on the Terra Blockchain which is a very newer platform with limited documentation.

## What we learned

* Learning a new SDK within a couple hours is pretty difficult
* Proper documentation is essential when using a new framework. If the documentation does not detail every step needed it is very hard to reproduce.

## What's next for Bazaar
## Inspiration

We live in a world where kiosks and card machines break down, and where owners of your favorite local restaurant only take in cash, in the advent of cashless, contactless transaction society.

We want to make this transition a positive experience by offering the next generation alternative that incentivizes both customers and owners.

Current card and online transaction industries bully restaurant owners that operate on very tight margins to just survive and compete with 3% + 0.5 cents transaction fees. Without the alternative, in the advent of the shift, this is just plain monopoly and bullying.

We can potentially capture $114 B(cash) + $247 B (debit) + $554 B = 915 B (credit) sized market on both online and offline POS, just in Canada.

## What it does

We replace cash, credit, and debit transactions with blockchain technology. However, we overcome the traditional challenges of blockchain by using Algorand's proof by validation technique. This reduces energy, time, and cost of transaction traditional blockchain down to almost instant time frame just like the current commercial infrastructures with fees.

We provide beautiful and easy to use customer and merchant Android Apps for Paysy. Also, for commercial settings, we provide a java application that can be used in any device by the merchants.

Merchants sends a bill to the user, user approves or declines, and the smart contract is fulfilled through a given node.

## How we built it

We integrated Algorand's services in both the desktop and mobile applications by using their SDK. We were able to finally build a working point-of-sale (POS) service by successfully adding different stages of blockchain transaction mechanisms to our application- creating and storing of public-private keys for users, generating unsigned transactions for exchange, signing and verifying transactions and adding the node to the blockchain.

## Challenges we ran into

It was our first time learning about blockchain technology. There were some issues with protocol communication, but with the help of mentors and company employees, we were able to successfully build the infrastructure.

## Accomplishments that we're proud of

We are now familiar with the blockchain technology and are able to use a state-of-the-art blockchain platform to create our application that will change the world for the better.

## What we learned

We learned about the blockchain technology.

## What's next for Paysy

We will implement the recommendation algorithm for restaurants so that users can save time, and provide an ML-based analytics dashboard for small restaurant owners to enable them for strategic business decisions. This will allow them to go from surviving to THRIVING.
## Inspiration

With a prior interest in crypto and defi, we were attracted to Uniswap V3's simple yet brilliant automated market maker. The white papers were tantalizing and we had several eureka moments when pouring over them. However, we realized that the concepts were beyond the reach of most casual users who would be interested in using Uniswap. Consequently, we decided to build an algorithm that allowed Uniswap users to take a more hands-on and less theoretical approach, while mitigating risk, to understanding the nuances of the marketplace so they would be better suited to make decisions that aligned with their financial goals.

## What it does

This project is intended to help new Uniswap users understand the novel processes that the financial protocol (Uniswap) operates upon, specifically with regards to its automated market maker. Taking an input of a hypothetical liquidity mining position in a liquidity pool of the user's choice, our predictive model uses past transactions within that liquidity pool to project the performance of the specified liquidity mining position over time - thus allowing Uniswap users to make better informed decisions regarding which liquidity pools and what currencies and what quantities to invest in.

## How we built it

We divided the complete task into four main subproblems: the simulation model and rest of the backend, an intuitive UI with a frontend that emulated Uniswap's, the graphic design, and - most importantly - successfully integrating these three elements together. Each of these tasks took the entirety of the contest window to complete to a degree we were satisfied with given the time constraints.

## Challenges we ran into and accomplishments we're proud of

Connecting all the different libraries, frameworks, and languages we used was by far the biggest and most frequent challenge we faced. This included running Python and NumPy through AWS, calling AWS with React and Node.js, making GraphQL queries to Uniswap V3's API, among many other tasks. Of course, re-implementing many of the key features Uniswap runs on to better our simulation was another major hurdle and took several hours of debugging. We had to return to the drawing board countless times to ensure we were correctly emulating the automated market maker as closely as possible. Another difficult task was making our UI as easy to use as possible for users. Notably, this meant correcting the inputs since there are many constraints for what position a user may actually take in a liquidity pool. Ultimately, in spite of the many technical hurdles, we are proud of what we have accomplished and believe our product is ready to be released pending a few final touches.

## What we learned

Every aspect of this project introduced us to new concepts, or new implementations of concepts we had picked up previously. While we had dealt with similar subtasks in the past, this was our first time building something of this scope from the ground-up.