GithubHelp home page GithubHelp logo

tottyeth / fireball_frame Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 503 KB

Farcaster frame to mint free NFTs using Syndicate and Neynar

License: MIT License

TypeScript 79.64% Solidity 19.75% HTML 0.62%

fireball_frame's Introduction

Fireball by totty.eth

Exclusive art mint by totty.eth for Farcaster early(ish) adopters during the Frambrian explosion.

Made possible by heavily reusing On-Chain-Cow-Farcaster-Frame by @will/@WillPapper

Note that this code is hacked together and there will quickly be better open-source examples of minting frames.

In fact, there already is within hours of uploading this code! Highly recommend using this repo instead, especially if you don't want to deploy a contract and would rather use Zora as a back-end. Thanks @lottopgf!

Build instructions

  • Follow instructions in comment on top of fireball-mint.ts.
    • Set up a Syndicate account along with a Neynar account. If you're hacking right as I'm posting this (1/30/2024) you can get a discount on Neynar API keys here.
  • Compile your contract first and verify it on Etherscan.
    • Foundry build stuff is located in the contracts subfolder but I didn't have experience with this and just used Remix instead LOL
    • Feel free to use the Fireball contract itself for testing but would prefer you don't upload a copy with the same art and name to Base or ETH mainnet. If you plan on using it for a more serious project I would swap it out with a better standard from an ETH mainnet project or something, this contract was meant as a proof of concept hack.
  • Connect your contract to a project on Syndicate and fund the minting wallet.
    • Syndicate is used to organize all minting from the frame through a single wallet that mints for users. You need to fund this with ETH to allow for absolutely free minting.
  • Use Vercel for hosting.
    • I set the install script to yarn install
    • Set up your environment variables for the Syndicate and Neynar API keys correctly following instructions on top of fireball-mint.ts. WILL NOT WORK WITHOUT THIS!
  • When sharing the frame, do so by sharing the api/fireball-mint path, i.e. mytestappwoohoo.vercel.app/api/fireball-mint.

Good luck!

fireball_frame's People

Contributors

tottyeth avatar

Stargazers

Tarun Sachdeva 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.