starter kit for interacting with zora api, protocol, and creator toolkit

Overview

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

You might also like...

⏪ Rewinds – Remix Tailwind Starter Kit with Tailwind CSS, Headless UI, Radix UI, and more

⏪ Rewinds – Remix Tailwind Starter Kit with Tailwind CSS, Headless UI, Radix UI, and more

⏪ Rewinds – Remix Tailwind Starter Kit Rewinds is a Remix starter kit with Tailwind CSS v3 family of libraries. This is an example demo to combine the

Dec 24, 2022

This is a starter templete for svelte kit and maplibre.

This is a starter template for maplibre and svelte Clone this application by running git clone https://github.com/Thuhaa/svelte-maplibre-starter.git A

Nov 28, 2022

Minimal, SEO-focused website starter kit powered by Notion, GitHub, and Vercel.

Minimal, SEO-focused website starter kit powered by Notion, GitHub, and Vercel.

wr8 wr8 lets you create a website in Notion with better SEO. It is a customized version of nextjs-notion-starter-kit, based on NotionX. Introduction T

Dec 22, 2022

Framework for interacting with instagrams private api in a usable manner (forked from andre's work and improved and fixed)

node-ig-framework Framework for interacting with instagrams private api in a usable manner (forked from andre's work and improved and fixed) Installat

Dec 31, 2022

Fully dockered starter kit for Elm with Hasura

elm-hasura-dockered This repo contains a Elm-Hasura starter kit for rapid+typesafe web application development on open source foundations. Elm is grea

Dec 9, 2022

This repository serves as a starter kit for doing simple TDD exercise

This repository serves as a starter kit for doing simple TDD exercise

Feb 19, 2022

A starter kit for beginners to obsidian

A starter kit for beginners to obsidian

This is a starter kit for beginners to obsidian. It is a simplified version of my vault with my daily and weekly note templates, the folder structure for my periodic notes (daily, weekly, monthly etc) and the plugin settings I use.

Dec 21, 2022

Node starter kit for semantic-search. Uses Mighty Inference Server with Qdrant vector search.

Node starter kit for semantic-search.  Uses Mighty Inference Server with Qdrant vector search.

Mighty Starter This project provides a complete and working semantic search application, using Mighty Inference Server, Qdrant Vector Search, and an e

Oct 18, 2022

A starter kit for scaffold-eth projects

🧰 scaffold-eth-cli As simple as running this in your terminal: npx scaffold-eth Clones scaffold-eth into the current folder as fast as possible ⚡️ ⁉

Jun 11, 2022
Comments
  • Feature request: ability to `Deploy to Görli`

    Feature request: ability to `Deploy to Görli`

    Summary

    👋 Hi @0xTranqui ! Thanks for creating this starter kit.

    I'm wondering if there are plans to migrate Deploy to Rinkeby to Deploy to Görli, now that https://testnet.create.zora.co/ has ported over to the Goerli testnet? 💭

    Friendly references

    opened by almndbtr 2
  • Set Offer Amount sending incorrect amount of ETH

    Set Offer Amount sending incorrect amount of ETH

    Hi 0xTranqui, I was working on extending your zora starter kit to support my Barter based zora offers market place. I found a bug in code when going through it.

    When setOfferAmount is called by the user with a particular offer price we're sending the offer price as it is as msg.value to the OffersV1 contract.

    ` const offerPrice = setOffer.amount ? ethers.utils.parseEther(setOffer.amount) : ""

    const { data: setOfferData, isError: setOfferError, isLoading: setOfferLoading, isSuccess: setOfferSuccess, write: setOfferWrite  } = useContractWrite({
        addressOrName: mainnetZoraAddresses.OffersV1,
        contractInterface: abi,
        functionName: 'setOfferAmount',
        args: [
            offerContractAddress,
            offerTokenId,
            setOffer.offerId,
            setOffer.currency,
            offerPrice,
        ],
        overrides: {
            value: offerPrice
        },
        onError(error, variables, context) {
            console.log("error", error)
        },
        onSuccess(setOfferData, variables, context) {
            console.log("Success!", setOfferData)
        },
    })
    

    `

    Say I made an initial offer of 0.1 ETH for a NFT. Now say I want to increase my offer to 0.2 ETH. The current SetOfferAmount component will send the whole 0.2 ETH again. As a result I would have paid the OffersV1 contract 0.3 ETH but according to my offer stored in OffersV1 storage I have only paid 0.2 ETH. Only 0.2 ETH would be refunded in the case where I cancel the offer.

    To fix this I have first read the offer from OffersV1 storage to get the previous amount and then computed the difference with current amount and only sent the difference to OffersV1.

    In case current amount is less than prev amount we send 0 ETH. Letting OffersV1 take care of the refunds. In case of crypto currencies other ETH we send 0 ETH too.

    I made the fix and created a pull request here: #3

    opened by HashHaran 0
  • Set offer amount bug fix

    Set offer amount bug fix

    Fix for sending only the difference between previous offer and current offer instead of sending current offer ETH fully to OffersV1. For detailed explanation please check the related issue.

    opened by HashHaran 1
  • Feature request: adding a license

    Feature request: adding a license

    Summary

    👋@0xTranqui - hi again! By way of #1, would you be open to adding a license to this project? 💭

    Without one, this project is under exclusive copyright by default and unless otherwise specified, nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you. 😅

    I humbly suggest the MIT License or The Hippocratic License as some options. If you're up for it and know which one you'd like, I wouldn't mind cutting a PR for it too! ✌️

    opened by almndbtr 0
Owner
tranqui.eth
aspiring web3 dev
tranqui.eth
This Lens Protocol module allows you to create a Transparent Promotion system in which the post creator can add a reward for who (ex: influencers) mirror it.

promote-module (in progress) This Lens Protocol module allows you to create a Transparent Promotion system in which the post creator can add a reward

Alessandro Manfredi 9 Oct 2, 2022
Library for interacting with RMM protocol through ethers.js.

?? rmm-ethers Easily connect and transact with RMM protocol. ?? Features ?? Deploy RMM protocol ⚡️ Easily connect to an RMM deployment ?? Create RMM p

Primitive 14 Nov 13, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Node-cli-starter - Basic starter kit for building Node CLI applications with TypeScript.

node-cli-starter Minimal starter kit for building Node CLI applications with TypeScript. Getting Started To get started clone repo locally and run npm

Cory Rylan 7 May 17, 2022
Vital.kit ━ Vital.js' Toolkit

━ S Y N O P S I S ━ Maintainer(s): Aviril, Mario, Tron, Anisa Vital.kit is a open source toolbox for powering Vital.js and increasing your productivit

ᴠ : ꜱᴛᴜᴅɪᴏ 3 Sep 4, 2022
NextJS E-commerce starter kit with Sanity.io and Stripe API 🛍

?? Next.js Sanity E-commerce Starter Kit A Next.js E-commerce app with Sanity.io and Stripe API. Built with TailwindCSS framework & SASS CSS extension

Lougie Quisel 11 Dec 29, 2022
JavaScript API based capstone project using TVmaze API for displaying and interacting with items from the data base.

Yuriy Chamkoriyski & Bonke Gcobo Javascript capstone project API-based webapp from Module 2 at Microverse Wireframe requirements The Home Page low fid

Yuriy Chamkoriyski 5 May 30, 2022
Remix starter kit with Tailwind CSS family of libraries: Headless UI, Radix UI, VechaiUI, daisyUI, and more

Remix Tailwind Starter Kit Remix starter kit with Tailwind CSS v3 family of libraries. Example demo to combine the best Tailwind-related ecosystem suc

M Haidar Hanif 80 Dec 18, 2022