New answers tagged

0 votes

Large price discrepancy between swapExactTokensForTokens and official swap

The price you get depends on the available liquidity and path. It is likely that your code and Hardhat fork took a different path, or does not have direct liquidity available, different what Quickswap ...
Mikko Ohtamaa's user avatar
0 votes
Accepted

What is the best option for mutable NFTs (ERC721 or ERC1155)?

Based on my research, one of the best options for "mutable" NFTs are Stateful NFTs from Paima Studios. Stateful NFTs refer to non-fungible tokens (NFTs) that have associated states or ...
Falcon Stakepool's user avatar
0 votes

I can't verify a proxy contract on polygon amoy testnet with Hardhat

I would take another look at the hardhat-oklink-verify plugin docs. In your hardhat.config.js, you should rename etherscan to oklink. Also you should use the oklink-verify command like in this example:...
simonDos's user avatar
  • 366
0 votes

Where can I find a MATIC-USDC liquidity pair contract for Uniswap on Polygon's Mumbai testnet?

In a semi-related question, someone mentioned this address, which is apparently just such a contract: 0xe11A86849d99F524cAC3E7A0Ec1241828e332C62
Montana Burr's user avatar
0 votes

Returned error: unknown account Web3.js

you can add this line before sending transaction web3.eth.accounts.wallet.add(privateKey);
ROSHAN G's user avatar
1 vote

Unable to verify contracts on polygon Amoy testnet

I've asked regarding this issue on OKLink Discord channel, and they've responded. So, the correct configuration to be used in the hardhat.config.js would be: etherscan: { apiKey: { ...
SYED ASAD KAZMI's user avatar
0 votes

Unable to verify contracts on polygon Amoy testnet

You'd need to implementation with a combination of these two resources: https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-verify#adding-support-for-other-networks https://www.oklink....
Roberto's user avatar
  • 63
1 vote
Accepted

How can I decode the output of the first call and use it to send a transaction?

Here's how you can do it, by decoding the response of the first transaction, and then fetching the necessary details from the same using regex. Then, using that info, send the second transaction. ...
SYED ASAD KAZMI's user avatar
0 votes

About bridging tokens

Is this a bridge from L1 to L2 by token operators so that tokens can be traded in a more scalable environment? It is impossible to know and must be checked token by token. There is no rule. Do they ...
Mikko Ohtamaa's user avatar
0 votes
Accepted

What's the value of "gasLimit = 21000" of Ethereum in Polygon?

The gas usage for simple transactions like transferring of native tokens on Ethereum as well as Polygon remain 21000 gas units mostly, but it can increase during periods of high network congestion. ...
SYED ASAD KAZMI's user avatar

Top 50 recent answers are included