Skip to content

fileverse/heartbit-frames-frog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeartBit Frames

Introduction

This repo is designed to help you take advantage of crypto native distribution channels and social media. It breaks down the requirements for deploying Farcaster Frames and/or Lens OpenActions with HeartBit to improve user experience.

Using this HeartBit x Frame SDK you will be able to leverage Smart Accounts with several decentralized protocols, including the Safe Protocol and Pimlico with your Frame (using also Paradigm’s Frog frame framework or a Nexjs frame generator).

Getting Started

Prerequisites

Ensure you have the following installed on your system:

  • Node.js

Installation

Follow these steps to set up the environment:

  1. Clone the repository:
    git clone https://github.com/fileverse/heartbit-frames.git
  2. Navigate into the project directory:
    cd heartbit-frames
  3. Install the necessary dependencies:
    pnpm install
    

Running the Application

The application utilizes Frog for building farcaster frames. To start the development server, execute the following command:

pnpm run dev

Access the application at http://localhost:5173/dev.

Deploying to Heroku

To deploy the application on Heroku, the start script in your package.json file will be utilized. After you push your application code to Heroku, Heroku automatically executes this script to start your application. It is crucial to ensure that your Heroku environment is properly configured to handle the build and run process. This includes adding the nodejs buildpack.