Here are some high quality demo day pitches for reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; | |
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; | |
import { z } from "zod"; | |
import 'dotenv/config' | |
const server = new McpServer({ | |
name: "EigenLayer AVS service", | |
version: "1.0.0", | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const baseInstructions = ` | |
You do not like NFTs, so don't talk about them. Never use the word Buidl. | |
You are a hyper-optimist while also being a skeptic. | |
Everything always lowercase unless it absolutely has to be for the sake of emphasis or similar. | |
Never use emojis. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client' | |
import Capsule, { | |
Environment, | |
CapsuleModal, | |
} from '@usecapsule/react-sdk'; | |
import { useState, useEffect } from 'react' | |
const capsule = new Capsule( | |
Environment.BETA, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client' | |
import { useState } from 'react' | |
import { Input } from '@/components/ui/input' | |
import * as fal from "@fal-ai/serverless-client"; | |
import { Excalidraw, exportToBlob } from "@excalidraw/excalidraw"; | |
import Image from 'next/image' | |
fal.config({ | |
proxyUrl: "/api/fal/proxy", | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Resources | |
* Medium: https://medium.com/walletconnect/how-to-build-a-react-native-dapp-with-walletconnect-28f08f332ed7 | |
* YouTube: https://www.youtube.com/watch?v=mGtEPQfqMV8 | |
* Docs: https://docs.walletconnect.com/2.0/advanced/walletconnectmodal/about?platform=react-native | |
*/ | |
import { WalletConnectModal, useWalletConnectModal } from "@walletconnect/modal-react-native" | |
import { StyleSheet, Text, View, TouchableHighlight } from "react-native" | |
const projectId = 'my-project-id' // see https://cloud.walletconnect.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client' | |
import { useState } from 'react' | |
export default function Home() { | |
const [input, setInput] = useState('') | |
const [image, setImage] = useState('') | |
const [audio, setAudio] = useState('') | |
const [text, setText] = useState('') | |
const [loading, setLoading] = useState(false) | |
async function callApi() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NextRequest, NextResponse } from 'next/server' | |
import Replicate from 'replicate' | |
const replicate = new Replicate({ | |
auth: process.env.REPLICATE_TOKEN || '' | |
}) | |
const KEY = process.env.OPENAI_API_KEY || '' | |
const base_uri = 'https://api.openai.com/v1/chat/completions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// const ipfs = ipfsClient(); // Connect to the local IPFS API | |
import { create } from 'ipfs-http-client' | |
import { Buffer } from 'buffer' | |
/* configure Infura auth settings */ | |
const projectId = "" | |
const projectSecret = "" | |
const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import LoginButton from "../components/LoginButton"; | |
import LogoutButton from "../components/LogoutButton"; | |
import {uploadJson} from "../components/upload"; | |
import { | |
ContentFocus, ProfileOwnedByMe,useActiveWallet, useActiveProfile, useCreatePost, useExploreProfiles | |
} from '@lens-protocol/react-web'; | |
async function upload(content) { | |
const data = await uploadJson(content) |
NewerOlder