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).
Ensure you have the following installed on your system:
- Node.js
Follow these steps to set up the environment:
- Clone the repository:
git clone https://github.com/fileverse/heartbit-frames.git
- Navigate into the project directory:
cd heartbit-frames
- Install the necessary dependencies:
pnpm install
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.
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.