Inspiration
We arrived on Friday and went for lunch at Bosino, the Italian restaurant next to our Hostel. While we were eating and talking about ideas for the hackathon, the restaurant owner came up to us and asked whether it would be useful for us to be able to pay in crypto. We then started talking about his concerns and the potential benefits to his business. From the pain points he brought up, we thought it would be a good idea to have an automatic conversion upon transferring crypto.
What it does
Bosino is meant to be an app that allows restaurants to just receive USDC but allow their customers to pay in any shitcoin they want by calling a swap token function at the point of sale.
How we built it
After trying a whole host of developer platforms we used remix. We used the Uniswap interface to call the swapTokenforEXACTToken function. We plan to allow this in the future to work on many different chains and even utilise CEXs in the future.
Challenges we ran into
Coming in we knew nothing about blockchain coding so everything was a challenge. We did not know how to start at all. The first challenge was learning how to set up the coding environment, what were the folders and files that we needed. The second was how do we test the code, how to deploy on a testnet. The next was how do we call the uniswap interface.
Accomplishments that we're proud of
We are proud of the fact that we managed to get the code to compile at all and that it could deploy on a local testnet. We are also very happy with the idea that we have.
What we learned
We learned so much through this hackathon. We now know at least the basics of how to get a dApp going in terms of deploying and calling other interfaces. We can now start to employ more of the coding logic that we learned in other languages.
What's next for Bosino
The next steps include 1) Expanding from just Uniswap to other exchanges to find the best price 2) Expanding across to other chains like Hedera 3) Potentially using CEX prices to swap.
Built With
- remix
- solidity
Log in or sign up for Devpost to join the conversation.