Questions tagged [polygon]

Questions related to development on the Polygon EVM-enabled sidechain.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

My contract fails to receive value (MATIC)

I have a problem in sending 0.01 MATIC to the smart contract, I always get the not enough funds error: the called function (createBid) is payable in the smart contract and here is the code: I tried ...
user avatar
  • 3
0 votes
1 answer
7 views

Why is token URI being updated on chain but not in Alchemy Web3?

I deployed a contract and minted 5 tokens under the ERC-1155 standard. After reading in multiple that you can replace old URI with a new one to update the metadata of a token, I tried to use my setURI ...
user avatar
  • 1
0 votes
0 answers
14 views

Unable solve the error ""Error: Returned error: the method eth_accounts does not exist/is not available" when I run truffle migrate

I created Polygon edge server and When I run truffle migrate I am getting this weird error ->"Error: Returned error: the method eth_accounts does not exist/is not available" when I tried ...
user avatar
1 vote
0 answers
9 views

Private Polygon Chain

As we have an option to create a private Ethereum chain and a private chain using GoQuorum do we have an option to create a private chain using Polygon and do the transactions among those nodes of the ...
user avatar
0 votes
0 answers
9 views

Conversion from Wei to Ether gives different results

I'm trying to analyze the transaction of this contract, but sometimes when I try to convert from wei to ether value of tokens I got comma in different position than expected. This is how I proceed: 1)...
user avatar
0 votes
1 answer
22 views

Conversion from Wei to Ether gives different results

I'm trying to analyze the transaction of this contract, but sometimes when I try to convert from wei to ether value of tokens I got comma in different position than expected. This is how I proceed: 1)...
user avatar
0 votes
1 answer
16 views

eth_getLogs request works for Eth Mainnet, but not polygon mumbai. Error -32602, missing value for required argument 0

I'm trying to get do a eth_getLogs call, but I'm having problems getting a response with the Polygon chains. Strangely, I make the request with Polygon Mainnet data that I know exists, but when I do I ...
user avatar
0 votes
0 answers
9 views

Does Solana has a token mapper like polygon? [closed]

Let's say that I have an ERC20 token contract, I want to have that token on Solana too. If I want to have that token in polygon, I can map that token in https://mapper.polygon.technology/ So my ...
user avatar
  • 196
0 votes
1 answer
11 views

Transferring weth from my contract to an other wallet address on polygon without using bridges

I have a requirement where we are building a platform that receives funds on Ethereum L1 and sends that fund back to the same address on polygon L2. I know bridges are there to transfer funds from l1 ...
user avatar
0 votes
0 answers
11 views

How to watch for gas token transfers?

How to watch for gas token transfers in Ethereum (more specifically, in Polygon)? ERC-20 and ERC-1155 transfers produce events, but gas token transfers don't. How to watch over them? Is polling the ...
user avatar
  • 1,304
0 votes
1 answer
25 views

Contract Verification Problem on Matic using Hardhat ```npx hardhat verify --network matic```

I am trying to deploy a contract on Matic network, I have an API key set up and the proper private key for metamask in my env. ( I have deployed many contracts and verified them this way many times. ...
user avatar
1 vote
0 answers
9 views

Can uncle/orphaned blocks occur on Polygon?

As somebody who is familiar with the underlying mechanics of Ethereum, but not familiar with the underlying mechanics of Polygon and their differences from Ethereum, I would like to know whether the ...
user avatar
  • 345
0 votes
0 answers
10 views

Which chain do I choose for social tokens?

I am planning to launch social tokens. I was first planning to launch it from polygon, but now I feel if I launch it on polygon, I will not be able to use it on ethereum. So now I think ethereum is a ...
user avatar
0 votes
0 answers
10 views

In Solidity, what are the differences in purpose between overriding isApprovedForAll() and enabling meta-transactions?

When setting up an OpenSea-compatible contract in Solidity for the Polygon network, what are the differences in purpose between overriding isApprovedForAll() and enabling meta-transactions? From ...
user avatar
0 votes
0 answers
16 views

What is the correct way to implement meta-transactions for OpenSea using Polygon?

OpenSea documentation provides differing information on how to implement meta-transactions: The code snippet OpenSea has under "Meta-transactions" shows the contract inheriting ERC721, ...
user avatar
0 votes
0 answers
20 views

hi can any help me in this error please [duplicate]

I have the same problem here: error: Warning: Unused function parameter. Remove or comment out the variable name to silence this warning. --> collectionFreeminting.sol:44:54: | 44 | function ...
user avatar
0 votes
0 answers
16 views

How do I interact with my token in smart contract after I send my assets from ethereum to polygon?

I couldn't find any good answer to the question from a development perspective. So if send my erc20 custom tokens from ethereum to polygon through bridging, what will happen then? Do I get a new ...
user avatar
0 votes
0 answers
18 views

How do I use my erc20 coins on multiple chain?

I am planning to launch my erc20 token as coins so that I can use those for dapps payment. So, my concern is how can I use those coins on dapp that are on different network. Like, if I create my erc20 ...
user avatar
0 votes
1 answer
38 views

How can I use my polygon erc20 custom tokens on other chains?

I am planning to launch polygon erc20 coin. But I have come to learn recently that interchain smart contract interaction is not possible. If I want to use my polygon coins as a payment on ethereum ...
user avatar
0 votes
1 answer
20 views

How to show my erc20 coin custom logo everywhere?

I am planning to launch my custom tokens on polygon. I want to add a logo to my coin and after a while I want to change my token logo. I have understood that there is three ways to do that - Manually ...
user avatar
0 votes
1 answer
31 views

An Error Related to data: id in erc1155 smartcontract

We successfully deployed/integrated our erc1155 smart-contract through the website: FrontendThe Website link Unfortunately, the only problem we have now is that when we mint the smart-contract for ...
user avatar
0 votes
0 answers
10 views

How to make my erc20 token all time visible on meta mask wallet along with a logo? [duplicate]

So I have cteated an erc20 tokens on testnet and planning to launch it on Polygon. But the token is not listed on any market place. Without importing the token using contrat address, token is not ...
user avatar
0 votes
0 answers
44 views

Hardhat Polygon gas price error

I'm developing a NFT minting API with Hardhat, Ethers and alchemyapi. In Rinkeby network it's working!! But when I deployed my contract to Polygon it's returning some erros when Mint function is ...
user avatar
0 votes
0 answers
38 views

Stuck in Chainlink VRF Randomness Function Implementation

[URGENT QUESTION] I am trying to get a random number in my contract. I have imported both VRFCoordinatorV2Interface.sol and VRFConsumerBaseV2.sol and inherited them in my contract. I am using the ...
user avatar
0 votes
0 answers
19 views

How to add a logo or icon for erc20 crypto token?

I am planning to launch my own crypto tokens on polygon. But couldn’t understand the process properly of how to upload logo for the token. Also I don't think on testnet I can test it. Is there any ...
user avatar
0 votes
1 answer
39 views

MATIC to ETH comparison w.r.t Wei

I just started to understand Polygon network. As 1 MATIC = 10^18 Wei and 1 ETH = 10^18 Wei and Wei is the smallest denomination on both networks, but then Why is 1 MATIC not equal to 1 ETH (We have 1 ...
user avatar
  • 15
0 votes
1 answer
25 views

Unable to deposit into AAVEv3 via web3

I'm attempting to deposit WMATIC on the Polygon chain into AAVEv3, but I'm getting a revert. I'm running a forked version of Polygon mainnet locally with ganache. I'm using the first account provided ...
user avatar
1 vote
1 answer
20 views

In Polygon transaction ID of Sync-State transactions does not match Keccak-256(RLP(nonce,gasPrice,gasLimit,to,value,data,v,r,s)

Polygon has special “Sync-State” transactions added to the blocks https://polygonscan.com/address/0x0000000000000000000000000000000000000000 . Transaction hash returned by eth_getBlockByNumber does ...
user avatar
  • 121
0 votes
1 answer
105 views

Graph Deploy failed due to subgraph validation error

I'm going through Nader Dabit's Web3 Blog and everything works just fine until I have to run yarn deploy which runs a script from my package.json { "name": "casen-blog", "...
user avatar
0 votes
0 answers
2 views

Discord and Ethereum/Polygon

I hope you are all well. Does anyone know if it is possible to connect discord to Ethereum and Polygon? Thank you Take care Pierre
user avatar
  • 53
0 votes
2 answers
20 views

What happens to stakers' rewards when initial supply of coins are ended?

I was just reading about staking. Came to know that stakers stake their coins in the blockchain, validate the blocks and earn rewards. These rewards are from the initial supply of coins that is being ...
user avatar
0 votes
0 answers
7 views

What is the difference between polygon-ethereum relationship and solana-ethereum?

I understand that side chain has some kinda 2 way connection with its mainnet. But for this connection is it inheriting something more or What is actually happening? I mean can we distinguish the ...
user avatar
0 votes
1 answer
33 views

How to get the private key from seed phrase and account number generated by Coinbase Commerce?

I have: my 12-word seed phrase an account address (0x..) associated with this seed phrase I don't, however, have the private key to that specific account. Is there any way to retrieve the private ...
user avatar
0 votes
1 answer
19 views

How a cryptocurrency like MATIC works?

I’m a beginner to the cryptocurrency and I’m struggling to understand the fundamentals of this field. I was reading about how cryptos work and what they are used for. I took as an example the MATIC ...
user avatar
  • 101
0 votes
0 answers
75 views

[SOLVED]Uniswap addLiquidityETH failing with hardhat

I'm trying to fork the UniswapV2 contracts. I've already deployed on Mumbai testnet the core and periphery contracts, these are the addresses: Core: 0xeBF7c7d1b9704516d7e0660BE568945D0bBb1aAc Router: ...
user avatar
0 votes
1 answer
58 views

Decode input data in bigquery on polygon

I have a problem in developing a program to decode the input data of transactions created by a smart contract on the polygon blockchain. The smart contract: https://polygonscan.com/address/...
user avatar
0 votes
2 answers
29 views

How to show Token Transfer details on mumbai polyscan?

I am developing a smart contract where I want to mint NFTs. NFTs are being minted and shown on IPFS. But I cannot see the Token Transfer details on mumbai polyscan. Anyone know what is the problem?? ...
user avatar
1 vote
2 answers
61 views

How to show my own contract name in Token Tracker field of an ERC1155 Contract?

I am developing an NFT Drop site contract. I want my NFT Contract to be named from ERC1155 to provide a name in the constructor. I have watched and followed many tutorials. They all work the same and ...
user avatar
0 votes
1 answer
37 views

about deploying polygon smart contract mumbai

When I run npx hardhat compile I got this error; Error: Cannot find module '@nomiclabs/hardhat-waffle' Require stack: - C:\Users\User\Documents\co\polygon-smart-contract-tutorial\hardhat.config.js - C:...
user avatar
0 votes
0 answers
17 views

How I can make nfts fetching faster to show on frontend?

I'm creating a marketplace where at the homepage I need to show up all the nuts at once on the homepage. Is there way I can make loading faster? It takes a lot of time to fetch data from the chain. I'...
user avatar
0 votes
1 answer
34 views

is there a way to extract smart contract code from bytecode?

I have deployed the smart contract into polygon mainnet but I do not have the smart contract code now, I only had the smart contract address. I have not 'verify and published ' after deploying the ...
user avatar
0 votes
0 answers
65 views

Can one still bypass EIP-155 and deploy to the same chain-independent address from an EOA

I was trying to deploy a contract to a deterministic address using Nicks method. This works fine on Rinkeby and all the Ethereum-Testnets that I tried. However, it doesn't work on Mumbai and probably ...
user avatar
  • 167
0 votes
1 answer
29 views

Only getting 'Promise { <pending> } when calling getPair on the Quickswap Factory contract with ethers.js?

I'm attempting to get the pair address of the WETH/DAI pair on Quickswap on the Mumbai test net. I have this quick script: const ethers = require('ethers'); const Big = require('big.js'); const PATH = ...
user avatar
0 votes
1 answer
81 views

Having trouble executing swapExactTokensForTokens on a uniswap contract?

I am attempting to use brownie to execute a swap on Quickswap. But I keep getting a Dai/insufficient-balance error. Here is the traceback for the tx: https://dashboard.tenderly.co/tx/mumbai/...
user avatar
0 votes
0 answers
8 views

Is there a good way to promote startup project?

I have build a startup web3 project like twitter by myself. Because I developed it independently, So not much money to promote. Is there a good way to promote startup project? How to looking for early ...
user avatar
  • 3
0 votes
0 answers
92 views

[Polygon][eth_estimateGas]: insufficient funds for gas * price + value

I have a wallet with 1 MATIC. There is a contract which has a solidity payable method which requires 10 MATIC in value to run. I use Truffle to interact with the contract. Before broadcasting the ...
user avatar
0 votes
3 answers
201 views

The same wallet address on the Mainnet Ethereum network and on the Polygon network. Are these two different wallets with two different owners?

I want to transfer some matic (Polygon network) to an Ethereum wallet address I know. But I don't know the address of this wallet on the Polygon network, I know its address on the Ethereum Mainnet. ...
user avatar
0 votes
0 answers
151 views

Set maxFeePerGas and maxPriorityFeePerGas dynamically in ethers js

I want to set the value of maxPriorityFeePerGas and maxFeePerGas these two parameters when sending a transaction, say 10 gwei greater than the response from getFeeData() function. /* provider....
user avatar
0 votes
1 answer
21 views

How can I get an hourly price feed from Tellor?

I need an hourly/daily price feed on Polygon for two different coins, where can I get the queryID's and how do I know if they're supported?
user avatar
  • 38
0 votes
0 answers
38 views

What does difficulty mean in PoA and PoS chains?

In PoW, the meaning of "difficulty" is quite straightforward and, for instance, fully described in yellow paper. (https://ethereum.github.io/yellowpaper/paper.pdf) But what does the "...
user avatar

1
2 3 4 5
7