All Questions
11 questions
0
votes
0
answers
23
views
How to connect trust wallet conection modal in mobile ethersjs?
I have an authorization web3 window but its only opens on desktop but not on mobile apps. How can I solve this problem ?
export const getSigner = async () => {
let provider;
if(window....
0
votes
0
answers
23
views
setOpenCreatePost Function Not Triggered Despite Click Event Logging "Textarea clicked"
I'm currently facing an issue in my Next.js application where the setOpenCreatePost function does not seem to be triggered when clicking on a . Although the console correctly logs "Textarea ...
0
votes
1
answer
20
views
Help with “web3 not defined”
I am cloning a tutorial https://github.com/techaddict0x/liquidityminer
And when I run the debug console I get the error “web3 is not defined”
The code is the exact same, looked all over the internet ...
0
votes
0
answers
32
views
Can I allow a user to sign a contract, and then based on that contract to make a transaction without approval?
For example, let's say we have a sender and a receiver. A is the sender and B is the receiver.
For exampple I have a website. Using js, user A signs a contract, and by hitting the donate button on ...
1
vote
1
answer
97
views
Enumerate non-enumerated NFTs in web3.js
I want to call the ownerOf() function on all of the NFT's in a contract. If the address matches the website user address I want to add the tokenID to an array so I can eventually display all nft's ...
2
votes
0
answers
2k
views
invalid signer or provider (argument="signerOrProvider") from @web3-react/core
hello everyone I'm able to connect walletConnect with @web3-react/core but I don't know how to get the provider here's my code.
import { InjectedConnector } from "@web3-react/injected-connector&...
0
votes
1
answer
1k
views
Uncaught ReferenceError: require is not defined
I am fairly new to Ethereum development, I just tried to follow this tutorial but instead of connection to a public blockchain I am trying to connect to my local blockchain instance through MetaMask ...
1
vote
1
answer
3k
views
Create new account in ganache
I'm creating a Dapp which provide the user with individual account. while developing, when i create a account by
const accounts = await web3.eth.personal.newAccount('test');
the account is created ...
1
vote
1
answer
5k
views
How to connect Trust Wallet in Javascript?
I want to use TrustWallet for payments in my project for mobile users. I saw the documents related to TrustWallet web3 API but not getting how to use it in javascript. Can anybody help me with the ...
0
votes
1
answer
678
views
How to redirect to Etherscan website when transaction completes?
In my project, I am doing a transaction by using
ethereum.send({ })
method from web3 in javascript using metamask. After the transaction completes I want to display the link to the user in label ...
1
vote
1
answer
2k
views
WEI to ETHER conversion issue with Web3 and Javascript
So i have a form where the user enters a price for an item in ETHER. I understand the blockchain does not handle floatin point numbers currently, so i am attempting to convert to WEI and store it on ...