From d4bdf85154e7d7eea3b64f789ae18324e78cccb2 Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 5 Mar 2024 16:41:39 -0500 Subject: [PATCH] add Pinata Hub to List of Hubs --- site/pages/hubs/pinata.mdx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 site/pages/hubs/pinata.mdx diff --git a/site/pages/hubs/pinata.mdx b/site/pages/hubs/pinata.mdx new file mode 100644 index 00000000..054f9a46 --- /dev/null +++ b/site/pages/hubs/pinata.mdx @@ -0,0 +1,20 @@ +# Pinata + +Pinata provides a free to use Farcaster Hub that you can use inside of Frog. + +## Usage + +Since the Pinata Hub is free to use there is no required auth, simply supply the Hub API `hub.pinata.cloud` in the Frog app initialization. + +```tsx twoslash +// @noErrors +/** @jsxImportSource frog/jsx */ +// ---cut--- +import { Frog } from 'frog' + +export const app = new Frog({ +hub: { apiUrl: 'hub.pinata.cloud' } +}) +``` + +[Learn more about the Pinata Hub as well as the Hub API](https://docs.pinata.cloud/farcaster/hubs)