forked from mito-systems/sol-mem-gen
Add README steps to add PINATA keys
This commit is contained in:
parent
f3992301c5
commit
273a2c165c
@ -1,3 +1,4 @@
|
|||||||
|
# Get key from https://fal.ai
|
||||||
FAL_AI_KEY=
|
FAL_AI_KEY=
|
||||||
|
|
||||||
NEXT_PUBLIC_MTM_TOKEN_MINT=97RggLo3zV5kFGYW4yoQTxr4Xkz4Vg2WPHzNYXXWpump
|
NEXT_PUBLIC_MTM_TOKEN_MINT=97RggLo3zV5kFGYW4yoQTxr4Xkz4Vg2WPHzNYXXWpump
|
||||||
@ -6,5 +7,6 @@ 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_SOLANA_WEBSOCKET_URL=wss://young-radial-orb.solana-mainnet.quiknode.pro/67612b364664616c29514e551bf5de38447ca3d4
|
||||||
NEXT_PUBLIC_USDC_MINT=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
|
NEXT_PUBLIC_USDC_MINT=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
|
||||||
|
|
||||||
|
# Get keys from https://app.pinata.cloud/developers/api-keys
|
||||||
NEXT_PUBLIC_PINATA_JWT=
|
NEXT_PUBLIC_PINATA_JWT=
|
||||||
NEXT_PUBLIC_PINATA_GATEWAY=
|
NEXT_PUBLIC_PINATA_GATEWAY=
|
||||||
|
23
README.md
23
README.md
@ -16,31 +16,38 @@ This project is a Solana-based meme generator that allows users to connect their
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Install dependencies:
|
- Install dependencies:
|
||||||
```sh
|
```sh
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Copy the `.env.example` file to `.env.local` and add your FAL AI key:
|
- Copy the `.env.example` file to `.env.local` and add your FAL AI key:
|
||||||
```sh
|
```sh
|
||||||
cp .env.example .env.local
|
cp .env.example .env.local
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Add your FAL AI key to the `.env.local` file:
|
- Add your FAL AI key to the `.env.local` file:
|
||||||
```env
|
```env
|
||||||
# Get key from https://fal.ai/
|
# Get key from https://fal.ai/
|
||||||
FAL_AI_KEY=your_fal_ai_key
|
FAL_AI_KEY=your_fal_ai_key
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Run the development server:
|
- Setup a project on <https://app.pinata.cloud> then add the following to `.env.example`
|
||||||
|
```env
|
||||||
|
# Get keys from https://app.pinata.cloud/developers/api-keys
|
||||||
|
NEXT_PUBLIC_PINATA_JWT=
|
||||||
|
NEXT_PUBLIC_PINATA_GATEWAY=
|
||||||
|
```
|
||||||
|
|
||||||
|
- Run the development server:
|
||||||
```sh
|
```sh
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Open your browser and navigate to `http://localhost:3000`.
|
- Open your browser and navigate to `http://localhost:3000`.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
1. Connect your Solflare or Phantom wallet using the "Connect Wallet" button.
|
- Connect your Solflare or Phantom wallet using the "Connect Wallet" button.
|
||||||
2. Select an AI model and enter a prompt to generate a meme.
|
- Select an AI model and enter a prompt to generate a meme.
|
||||||
3. Pay the required MTM tokens and wait for the meme to be generated.
|
- Pay the required MTM tokens and wait for the meme to be generated.
|
||||||
|
Loading…
Reference in New Issue
Block a user