Questions tagged [thirdweb]

46 questions
2
votes
1 answer

Warning: Do not use element. Use from next/image instead

My Code: drop

Creator Finnez:

toonie
  • 23
  • 5
2
votes
1 answer

Whenever i click on connect metamask button why it connects the coinbase wallet?

Actually, I want to connect wallet on Onclick and whenever i do click on diconnect button it disconnects the wallet. I had visited many web apps like moralis , thirdweb , coinbase but can't understand fully. These are the buttons to connect to…
sohaib
  • 574
  • 5
  • 16
1
vote
1 answer

How do I write a withdraw function correctly in Solidity?

What's wrong with this withdraw function? It keeps reverting with the error below. I have tried different methods to withdraw (see commented lines) but the error is the same. I'm sure I'm parsing the correct contract address. I have copy pasted it…
kihiuFrank
  • 69
  • 1
  • 10
1
vote
0 answers

Import trace for requested module: ./node_modules/styled-components/dist/styled-components.browser.esm.js ./pages/index.js

Can someone please help me out with the error? I'm stuck on this for hours (https://i.stack.imgur.com/U7BbX.png) And im unable to proceed further as it says: This error occurred during the build process and can only be dismissed by fixing…
Priyanshu
  • 11
  • 1
1
vote
1 answer

How do I find the `__allowlistProof` when implementing Crossmint with Thirdweb's NFT Drop Contract

I'm implementing Crossmint on my React front-end to let users mint NFTs from my smart contract created using thirdweb.com. The contract is a NFT Drop smart contract. The address is: 0xaE2150AdE811471609f6a556C38e55c2D3D7C712 and it lives on the…
ken.ng
  • 221
  • 4
  • 15
1
vote
2 answers

i want to code this react function to get data from thirdweb and display

Help me to get fetch information from blockchain and display in the browser. i want know how to call this thirdweb functions in react. Below code is a solidity code used to create a user in our system. function createUser(string memory _userId,…
Gowtham
  • 11
  • 1
1
vote
1 answer

How can I fix Thirdweb Goerli Testnet HTTP Error 429?

I'm minting the NFT with the Python SDK of Thirdweb using Goerli TestNet. Code : sdk = ThirdwebSDK.from_private_key(PRIVATE_KEY, NETWORK) NFT_COLLECTION_ADDRESS = contratonft nft_collection =…
1
vote
1 answer

Thirdweb Connect Wallet button: can we modify its size?

As the title describe, I cannot be able to change its size, is it possible? It seems it is hard coded as 200x50 and it has no props to change it!
xyz
  • 31
  • 4
1
vote
3 answers

Property 'children' does not exist on type 'IntrinsicAttributes & ThirdwebWeb3ProviderProps'

I am following a tutorial to build an NFT marketplace using ThirdWeb and react.js. When I am trying to connect ThirdWeb to the Rinkebey test network I am getting this error in _app.tsx file: Type '{ children: ReactNode; supportedChainIds: number[];…
0
votes
0 answers

Could not resolve metadata for contract

I'm using thirdweb to communicate with smartcontract. It was working but suddenly I started getting this error. query.ts:446 Error: Could not resolve metadata for contract at 0xaf9e4aC14663312A7935F0130A7b0E72115454a9 at…
Emir
  • 57
  • 6
0
votes
0 answers

React Thirdweb SDK calling lazyMint from Web3Button "Failed to get upload token"

This is happening since Thirdweb now requires either the API key or clientID. I believe have it setup properly since I haven't changed anything except add the clientID. I got my index.js like this
MikeT
  • 394
  • 2
  • 13
0
votes
1 answer

Unable to retrieve meta data from smart contract

I have created a crowdfunding platform on react and used thirdweb to build my smart contract, but when I run the app it throws an error in the console saying unable to retrive metadata from {address}. ERROR: - Error: Could not resolve metadata for…
0
votes
1 answer

I am getting error when fetching nfts from a marketplace contract

Unhandled Runtime Error TypeError: contract?.getAddress is not a function Call Stack useActiveListings webpack-internal:///./node_modules/@thirdweb-dev/react-core/dist/useTransactions-07d3933d.browser.esm.js (3764:37) I am using the Next.js…
0
votes
0 answers

Error: EINVAL: invalid argument, mkdir 'C:\Users\user\.thirdweb\creds\if-you-need-to-delete-this-open-an-issue-sync-disk-cache\thirdweb:cli'

when I run npm run deploy it showing error like this: Error: EINVAL: invalid argument, mkdir 'C:\Users\user\.thirdweb\creds\if-you-need-to-delete-this-open-an-issue-sync-disk-cache\thirdweb:cli' at Object.mkdirSync (node:fs:1396:3) at sync…
0
votes
1 answer

smart contract undefined in thirdweb with react

0 My application was working properly but now it is not working properly made a crowdfunding platform this is my context file import React, { useContext, createContext } from "react"; import { useAddress, useContract, useMetamask, useContractWrite }…
1
2 3 4