New answers tagged dapps
0
votes
Uncaught TypeError: Cannot read properties of undefined (reading 'getInfo') at index2.js:20:20
The contract property you are refering to does not exists. But Contract does (capital c).
So change this:
mycontract = new web3.eth.contract(abi, contractAddress);
to:
mycontract = new web3.eth....
0
votes
How to Automate End to End Testing For Etherium Dapps With Metamask?
You can test Metamask interactions with Synpress, e.g check if you can connect with the metamask wallet from your DApp with the following test case:
describe('Test User Login', () => {
it('...
1
vote
How to call two function together in etherjs
i think you forget something after calling mint function
const response = await ContractWithSigner.safeMint()
response.wait(); // 👈 add this
console.log("response: ", response);
try ...
0
votes
How to generate Private key, public key and address
Best way to generate 12/24 words of seed phrase or Ethereum private and public address key Use this tool - Seed phrases Generator
0
votes
Accepted
Next JS versus React. Which to use when for your Dapp?
Not every browser has metamask extension. By using next.js, when our code is taken and rendered on the server, on the next server we can reach out to the Ethereum network and do some initial calls ...
0
votes
How to connect a MetaMask account to a DApp in the MetaMask Application?
I've recently dealt with this, I also needed to make sure MM connects to the app on mobile, from the browser.
What you can do is:
detect if the user is accessing your dApp from a mobile device
in ...
0
votes
Connect MetaMask mobile app to React Native Dapp with DeepLinks
https://www.npmjs.com/package/@walletconnect/react-native-dapp
Use this npm module to connect dapp services.
0
votes
0
votes
Error import web3
Try using
const web3 = require("web3.js");
If you want to use the import statement you need to add a line in your package.json called "type": "module", learn more here.
0
votes
How to solve ''address.setMessage is not a function''?
The variable address is defined as a string, so it is not possible to use it to call a contract method.
It is likely the intention was to use RemixContract
RemixContract.methods.setMessage($("#...
Top 50 recent answers are included
Related Tags
dapps × 1058solidity × 282
web3js × 243
dapp-development × 214
blockchain × 119
metamask × 104
go-ethereum × 87
contract-development × 71
ethereum-wallet-dapp × 67
truffle × 63
ether × 49
javascript × 44
react × 43
contract-design × 39
remix × 38
tokens × 38
wallets × 34
dapp-design × 33
transactions × 32
ipfs × 32
erc-20 × 29
ethereumjs × 26
private-blockchain × 25
nft × 24
erc-721 × 21