Skip to content

Button.Mint

Component for the Farcaster Frame Mint Buttons.

Import

import { Button } from 'frog'

Usage

import { Button, Frog } from 'frog'
 
export const app = new Frog()
 
app.frame('/', (c) => {
  const { buttonValue } = c
  return c.res({
    image: /* ... */,
    intents: [
      <Button.Mint
        target="eip155:7777777:0x060f3edd18c47f59bd23d063bbeb9aa4a8fec6df:69420"
      >
        Mint
      </Button.Mint>,
    ]
  })
})

Props

target

  • Type: string

The CAIP-10 address with optional token ID.