Questions tagged [thirdweb]
46 questions
0
votes
0 answers
error in Next.js using ethers and thirdweb sdk
const NFT = ()=> {
const [loading, setLoading] = useState(false)
return (
{ loading ? (
Loading Please Wait...
…
0
votes
1 answer
What is ChainId is not defined ? (OpenSea 2.0 clone using Next.js, Replit, thirdweb and tailwind Css)
So there's this video on YouTube that I am following along for building an Open Sea 2.0 clone using
Next.js, Replit, thirdweb, Infura, & Tailwind CSS. The chain used in the video is Rinkeby Network and as rinkeby is not stable anymore I am using…
0
votes
1 answer
How can i fix the gas price issue in Thirdweb Python SDK Goerli TestNet
Im working with the Thirdweb Python SDK API. The code below sometimes work and sometimes throws a gasprice issue. I think it could be a network issue, because it works sometimes and generates the NFT but not always.
And when i got an error it is…

Arturo Vasquez
- 41
- 4
0
votes
1 answer
Event listener script in Next.js
I want to use a node script that contains an events listener function (e.g. https://portal.thirdweb.com/sdk/advanced-features/contract-events#listen-to-all-events) inside my Next.js app.
As there is no server and the serverless functions need a…

arnaudjnn
- 923
- 10
- 12
0
votes
1 answer
How to deselect the values from state after selecting
I am building an app in this after selecting the specific NFT a new div with extra content will show up. The selecting part is working fine but now I want it to be able to deselect it.
This is the state
const [selectedNFT, setSelectedNFT] =…
user15028633
0
votes
1 answer
How to keep MetaMask connection to the UI persistent with thirdweb-dev/react
I want to persistent metamask connection on closing the browser window. So when I connect my dapp to metamask, close the window, and open the dapp again, I don't need to connect it again. I implemented a Similar thing using web3-react but I am…

Jatin Gupta
- 101
- 4
0
votes
1 answer
Proving ownership of a NFT collection minted on Opensea
I am trying to develop a token-gated website, users will need to connect their wallet and proof their ownership of a NFT collection.
Usually, this is fairly straightforward for a NFT collection with a contract address. We can simply do:
const…

OTH
- 19
- 1
0
votes
1 answer
NFT marketplace images not retrieving
I am building an NFT marketplace using Thirdweb as the provider.
When I deploy my site locally the images for the NFTs show up perfectly but for some reason when I deploy my website with Netlify the images are not showing up.
Any clues, hints or…

Galant
- 1
0
votes
1 answer
Moralis and Thirdweb
I’m building the Open-sea Dapp to practice myself. I’m just wonder if I can use Moralis and Thirdweb with each other. Is it possible? I’m connecting MetaMask with Moralis and I would like to have another page that contains the Collections that I…

Omid
- 13
- 2
0
votes
1 answer
how to solve websocket.onclose error in thirdweb?
I am new to next.js,I a, developing a website based on web3
so I have to use thirdweb.
First I ran this command to add thirdweb to my project :
yarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers
then I changed the app.tsx to these codes :
import…

reza kakei
- 3
- 3
0
votes
1 answer
Error: call revert exception Thirdweb NFT Drop
I am using Next.js, Thirdweb, VS Code, Sanity Studio
Snippet of my code:
const [claimedSupply, setClaimedSupply] = useState(0)
const [totalSupply, setTotalSupply] = useState()
const nftDrop = useNFTDrop(collection.address) <…

user15137953
- 17
- 6
0
votes
1 answer
How to hide text and display different text when button is clicked?
I am using a library called thirdweb for communicating with web3, but my app is written with nextjs. I want the text above the buttons to read " your wallet xyz is connected" but only AFTER they have clicked on connect and connected.
…

Bear Grillz
- 3
- 3
0
votes
2 answers
Trying to set thirdweb token, feed that to SDK, and Receive token module array from third web. Problem- The token module is empty
I am running VisualStudio Code, Sanity Studio, and Thirdweb
When I inspect the element on localhost:3000, I am able to see the array of my imported tokens on Sanity, but NOT on Thirdweb.
Here is a snippet of my code:
const sdk = new ThirdwebSDK(
…

dustycar17
- 27
- 6
0
votes
2 answers
npm ERR! syscall spawn git
I have a problem
When I install thirdweb-dev/react
i get this
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able…

شيماء شعبان حسن
- 1
- 1
- 1
-1
votes
1 answer
ThirdWeb Error: The address you're trying to send a transaction to is not a smart contract
I am trying to create a Crowdfunding Dapp. I've deployed the smart contract on goerli testnet (link). Now I created the frontend using react and connected it to the contract using thirdweb.
The contract has a function createCampaign() which is…

Hrithik Raj
- 9
- 5