From 2959df5dd471b2662c5966c5201fac9ddd6c2159 Mon Sep 17 00:00:00 2001 From: Adw8 Date: Wed, 5 Feb 2025 16:53:59 +0530 Subject: [PATCH] Update README --- .env.example | 4 +++- README.md | 22 ++++++++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 0b88a49..2e739a6 100644 --- a/.env.example +++ b/.env.example @@ -7,8 +7,10 @@ NEXT_PUBLIC_SOLANA_RPC_URL=https://young-radial-orb.solana-mainnet.quiknode.pro/ NEXT_PUBLIC_SOLANA_WEBSOCKET_URL=wss://young-radial-orb.solana-mainnet.quiknode.pro/67612b364664616c29514e551bf5de38447ca3d4 NEXT_PUBLIC_USDC_MINT=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v -# Get keys from https://app.pinata.cloud/developers/api-keys +# Generate a key at https://app.pinata.cloud/developers/api-keys PINATA_JWT= + +# Get the gateway from https://app.pinata.cloud/gateway PINATA_GATEWAY= # Change to your website URL diff --git a/README.md b/README.md index 526c803..ebc347a 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,22 @@ This project is a Solana-based meme generator that allows users to connect their FAL_AI_KEY=your_fal_ai_key ``` -- Setup a project on then add the following to `.env.example`: - ```env - # Get keys from https://app.pinata.cloud/developers/api-keys - PINATA_JWT= - PINATA_GATEWAY= - ``` +- Setup a project on + + - Visit https://app.pinata.cloud/developers/api-keys and click the `New Key` button to create a new key + + - Choose the `Admin` scope and create the API key + + - Copy the JWT that is displayed + + - Add the following to `.env.example`: + + ```env + PINATA_JWT= + + # Get the gateway from https://app.pinata.cloud/gateway + PINATA_GATEWAY= + ``` - Run the development server: ```sh