This file contains hidden or 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
{ | |
"image": "https://gateway.pinata.cloud/ipfs/QmPrVVinxdtiLq1BymDRTt9HkfcvCUqeM1WboYydDrqGJq", | |
"name": "Simple NFT", | |
"description": "there is no description lmao", | |
} |
This file contains hidden or 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 type { NextApiRequest, NextApiResponse } from 'next'; | |
import Parser from 'rss-parser'; | |
import { HashnodePost } from '../../utils/types'; | |
import { RSS_FEED_URL } from '../../utils/utils'; | |
import { prisma } from '../../lib/prisma'; | |
import { Post } from '@prisma/client'; | |
export default async function handler( | |
_req: NextApiRequest, | |
res: NextApiResponse |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.8.0; | |
abstract contract ERC721Lendable is ERC721 { | |
struct UserInfo { | |
address user; // address of user role | |
uint64 expires; // unix timestamp, user expires | |
} | |
mapping(uint256 => UserInfo) internal _users; |
This file contains hidden or 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 { useCallback, useEffect, useRef } from 'react' | |
import { ethers } from "ethers"; | |
import abi from "./api/WavePortal.json"; | |
import React, { useEffect, useState } from "react"; | |
import { Flex, Heading, Text } from '@chakra-ui/react' | |
import { ConnectButton } from '@rainbow-me/rainbowkit' | |
import { useAccount, useContract, useSigner } from "wagmi"; | |
import { Input } from '@chakra-ui/react' | |
import { Image } from '@chakra-ui/react' |
OlderNewer