Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Destiner/bag-app
Onchain Farcaster Frames
https://github.com/Destiner/bag-app
Last synced: 12 days ago
JSON representation
Onchain Farcaster Frames
- Host: GitHub
- URL: https://github.com/Destiner/bag-app
- Owner: Destiner
- License: mit
- Created: 2024-02-02T12:25:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-17T20:40:33.000Z (9 months ago)
- Last Synced: 2024-11-19T11:09:14.277Z (24 days ago)
- Language: TypeScript
- Homepage: https://bag-app-ten.vercel.app
- Size: 2.35 MB
- Stars: 16
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-frames - Bag app
- awesome-farcaster-dev - `bag-app`
- awesome-farcaster-dev - `bag-app`
README
# Onchain Farcaster Frames
This is a directory of onchain frames. Each frame triggers an onchain transaction sourced from the user's Safe.
Using `onchain` to build frames, `permissionless` to run smart accounts, and `Pimlico` to send bundles.
## Bag
Bag is a Safe wallet controlled via frames. Each FID (Farcaster ID) maps to a single address, bringing an onchain Safe wallet to every Farcaster user. Users are then able to execute transactions from the bags they control using different frames.
## Frames
There are 6 frames in total in this repo.
* `bag-claim`: a frame that mints a free "Bag" NFT to the user ([on Warpcast](https://warpcast.com/destiner/0xb5ea11f9))
* `claim-all`: a frame that sends all tokens from the bag wallet ([on Warpcast](https://warpcast.com/destiner/0xb0950e28))
* `degen-raffle`: a frame that distributes a random amount of $DEGEN to each user ([on Warpcast](https://warpcast.com/destiner/0x71fd8d56))
* `nft-sale`: a frame that sells an NFT for a small amount of $DEGEN ([on Warpcast](https://warpcast.com/destiner/0x25add7f0))
* `poll`: a simple onchain voting app that uses [EAS](https://attest.sh) ([on Warpcast](https://warpcast.com/destiner/0xce911d5a))
* `tips`: a tipping app ([on Warpcast](https://warpcast.com/destiner/0xfb75b6bb))## Setup
Make sure to install the dependencies:
```bash
# npm
npm install
```## Development Server
Start the development server on `http://localhost:3000`:
```bash
# npm
npm run dev
```## Production
Build the application for production:
```bash
# npm
npm run build
```Locally preview production build:
```bash
# npm
npm run preview# pnpm
pnpm run preview# yarn
yarn preview# bun
bun run preview
```Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.