Skip to content

jbreite/cb-bet

Repository files navigation

Your Native Expo App 👋

This is an Expo project that utilizes native capabilities, requiring a development build to run properly.

Table of Contents

Prerequisites

  • Node.js (LTS version recommended)
  • Git
  • For iOS development:
    • Mac computer
    • Xcode
    • iOS Simulator
  • For Android development:

Getting Started

  1. Install dependencies:

    npm install
  2. Create a development build:

    npx expo prebuild
  3. Start the development server:

    npx expo start --dev-client

Running the App

Since this app uses native features, you'll need to run it using one of these methods:

iOS

npx expo run:ios

Android

npx expo run:android

Note: This project cannot run in Expo Go due to its native dependencies.

Development

  • The main application code lives in the app directory.
  • This project uses Expo Router for file-based routing.
  • Edit files in the app directory to start developing your application.
  • Ensure to use development builds to test native features effectively.

What is this?

A cross-platform sports betting application built on Overtime Markets and the Coinbase Smart Wallet.

APIs Used

  • Zerion - Used to get the user's assets and balances.
  • Pimlico - Used to pay for the user's gas (optional with a couple of changes).
  • Supabase - Used to call edge functions.
  • PostHog - Used to track the user's events (optional).

Troubleshooting

If you encounter build issues:

  1. Clear the build cache:

    npx expo prebuild --clean
  2. Remove node_modules and reinstall:

    rm -rf node_modules
    npm install

Video Demo

Betting on a Game

Over.Opening.Day.Square.1.mov

Bet Tab Interaction States

Bet.Tab.Interaction.States.mov

Onboarding Flow

Bsquared.iOS.Onboarding.mov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors