3 votes

What public testnets (test networks) and faucets exist?

UDPATED OCT 2022 - Goerli is now the only Ethereum testnet! Rinkeby, Ropsten, and Kovan are all deprecated because of the recent Ethereum merge. If you need a reliable faucet, Alchemy has a good one - ...
A. Gupta's user avatar
  • 198
2 votes

What is an ABI and why is it needed to interact with contracts?

Introduction The Application Binary Interface (ABI) of a smart contract gives a contract the ability to communicate and interact with external applications and other smart contracts. Receiving data ...
A. Gupta's user avatar
  • 198
2 votes

What public testnets (test networks) and faucets exist?

March 2023 Update GOERLI - There's a shortage in Goerli. If you need Goerli, you can use Alchemy's faucet: https://goerlifaucet.com. SEPOLIA - Alchemy has launched support for Sepolia testnet and a ...
Alchemy Devs's user avatar
2 votes

Integrate smart contract on backend (without metamask and wallet signing transaction)

Hi dev advocate at Chainstack here! The best way will be to use a web3 library; I recommend web3.js if you want to work in JavaScript. Remember that you still need to sign the transactions with your ...
David Chainstack Dev Advocate's user avatar
1 vote
Accepted

Queries on Base Chain layer 2

if you want to use Base protocol addresses, L1 contract addresses, and L2 contract addresses, you will need to use Base Chain JS SDK or another compatible Ethereum development kit. Here is the general ...
Naveed Ali's user avatar
1 vote

Doubt related to interface

IERC20 is an interface for ERC20. It defines required functions, but it doesn't provide implementation. It makes sure that the ERC20 contract implements these functions. You can use IERC20 to interact ...
Adam Boudj's user avatar
  • 2,200
1 vote
Accepted

Frame size of X bytes exceeds maximum accepted frame size

I'm just asking for too much data at a time and have had to break it into smaller bits.
Trent Kennelly's user avatar
1 vote
Accepted

Can I make a payable function with zero ether value?

No it is totally fine to not send any Ethers to a payable function. In fact, adding that keyword (even if the logic doesn't utilize any Ethers) saves you a bit in gas since the EVM then doesn't need ...
Lauri Peltonen's user avatar
1 vote

Where can I buy some ETH Testnet tokens?

https://goerlifaucet.com/ This link gives 0.5 ETH per day once you have logged in with Alchemy account https://goerli-faucet.pk910.de/ Also, you can mine the test ETH to get 1.25 ETH at a once, but it ...
Sunny Williams's user avatar
1 vote

Error while creating a 'Near' application

If you are using Windows, you need to install Linux on Windows with WSL first. If you are using Mac, the command npx create-near-app blockvote --contract js --frontend react --tests js will create the ...
Yongjian P.'s user avatar
  • 3,890
1 vote
Accepted

After running the following code I received from Metamsk Error

Try to call the library.eth.getBalance function with a callback instead of a .then: library.eth.getBalance(wallet, walletBalance => console.log(walletBalance));
Jeremy Then's user avatar
  • 4,413
1 vote

How can I fix an connection timeout error when attempting to use the ipfs-http-client javascript module to upload to ipfs using a public gateway

Turns out I needed to set up a dedicated gateway using infura, since my files were not being propagated across other nodes (since I am not paying anything for that). As a result, I could not access ...
ho88it's user avatar
  • 21
1 vote

Error uploading file to IPFS: HTTPError: project id required

The Infura IPFS public gateway was deprecated on August 10, 2022 const ipfsClient = require(‘ipfs-http-client’); const projectId = ’XXX...XXX; const projectSecret = ‘XXX...XXX’; const auth = ‘Basic ’ +...
Yilmaz's user avatar
  • 1,424
1 vote

How to mint NFT using ethers.js?

First, make sure that the contract address is right. Next, try removing gasPrice, gasLimit and nonce from your transaction and let Metamask calculate those for you. Just try to execute the transaction ...
Antonio U's user avatar
  • 639
1 vote

Whenever I am trying to enter an address in my input Field , it automatically changes to one particular address only

i got a similar issue once and i realized it was a virus, its possible your browser got hacked so that whenever you type an address it will paste the attacker address so that all funds are transferred ...
ezio's user avatar
  • 195
1 vote
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 ...
Yilmaz's user avatar
  • 1,424
1 vote

Data location must be "memory" or "calldata" for parameter in function, but none was given

This post does a very good job explaining Solidity storage locations: https://medium.com/coinmonks/solidity-storage-vs-memory-vs-calldata-8c7e8c38bce
Marco Besier's user avatar
1 vote

What public testnets (test networks) and faucets exist?

Tested in Aug 2022: https://rinkebyfaucet.com 0.5 eth (need sign with Alchemy, which is free) https://faucets.chain.link/rinkeby 0.1 eth
Eric's user avatar
  • 171
1 vote

What public testnets (test networks) and faucets exist?

A good list of public faucets can be found on https://faucetlink.to/ If you want to run a validator on Prater or Ropsten, you can join the EthStaker Discord server and access the #request-goerli-eth💸 ...
Rémy Roy's user avatar
  • 673

Only top scored, non community-wiki answers of a minimum length are eligible