GithubHelp home page GithubHelp logo

topshotmatch's Introduction

TopShot Match

TopShot Match logo

Flow Hackathon 2023

This repo contains the native iOS appplication (/ios) and the Cadence smart contracts/scripts/transactions (/cadence).

iOS App

The iOS app is written in SwiftUI. This was writting completely from scratch for this hackathon and uses the https://github.com/portto/fcl-swift library for user wallet and transactions.

The app can be run locally by opening the TopShot Match.xcworkspace file in the latest version of XCode. You can then run the app in a simulator or install it to your device to run.

Note to run it on your device, you'll need to follow these instructions.

Smart Contracts

Instead of writing/deploying a backend for this project, I decided to use a smart contract for all data storage.

This includes liked moments, trading blocks, and initial trade proposals. There are some downsides to this (mostly UX, forcing the user to submit lots of transactions), and longer term I would probably store most of these things off-chain, utilizing the existing on-chain Swap contract for Moment swaps.

TopShotMatch.cdc is the only contract I wrote for this project. The other contracts in the repo, EMSwap, TopShot, and TopShotLocking were all just taken from their respective repos and brought into this project so I could re-deploy them in order to have admin capabilities for this hackathon demo.

Testnet Addresses

TopShotMatch - 0xaa3d8fb4584f9b91

topshotmatch's People

Contributors

chase1745 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.