Skip to main content

Questions tagged [polygon]

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

256 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
132 views

Best way to store and verify data onchain for offchain data integrity?

I have a web2 application that stores some information in database rows, however, I would like to store this information on-chain for data integrity, particularly on polygon. What is the best way to ...
Neo's user avatar
  • 161
5 votes
0 answers
602 views

How to use geth devp2p to find nodes on non-ethereum chains?

Non-ethereum chains: other chains use geth such as BSC or ethereum layer2 chains such as Polygon. I can find ethereum nodes with devp2p discv4 crawl -timeout 30m all-nodes.json But can't find Polygon ...
Cloud's user avatar
  • 161
4 votes
1 answer
296 views

How to prove root chain (Ethereum) NFT ownership from L2 (Polygon/Matic) Contract

I'm building a system that allows a user to "claim" a ERC1155 NFT on Polygon/Matic if they own a certain ERC1155 NFT on the root network (ethereum). My current solution works off-chain, by ...
turtlesoupy's user avatar
3 votes
1 answer
197 views

What real EIP-1559 base fee on polygon chain?

When I call the fee_history method from the web3 library, the polygon node returns a non-null EIP-1559 base fee. Request on eth_feeHistory returns response: {'jsonrpc': '2.0', 'id': 0, 'result': {'...
FRiMN's user avatar
  • 131
3 votes
0 answers
602 views

How to set manual gas limit for a specific transaction (using hardhat, polygon test and main network)?

How to set manual gas limit when deploying(mint) in case of a specific transaction (using hardhat, polygon test and main network)?
naive2022's user avatar
2 votes
0 answers
277 views

How can I create a one-off address to receive a USDT payment on the BSC or MATIC network?

I want people on my Node.js website to be able to buy my products with USDT, so I'm trying to set it up with web3.js. When users want to make a payment, I want them to select a network (such as BSC or ...
Dunskie Ogorskie's user avatar
2 votes
1 answer
28 views

An event with unclear purpose and data emitted in transactions

I've observed this in multiple txs I've looked at, so, here's a random one on Polygon Mumbai: link. It contains several emitted events, the last of which is this: What is this event and how to ...
Iaroslav's user avatar
  • 365
2 votes
0 answers
79 views

Confidential Transactions on Polygon Network

I can see that Polygon Network has integrated zero knowledge proof based rollup technology using Hermez Network. I can also understand that Polygon is working on zkEVM based prover and verifier system....
Gokul Alex's user avatar
2 votes
0 answers
597 views

Polygon Marlin MEV don't work with python

I'm trying to send 3 transections with MEV Marlin using web3-flashbots. But if i'm trying to use example.py code from here(https://github.com/flashbots/web3-flashbots), i have a error with web3....
404's user avatar
  • 33
2 votes
1 answer
221 views

Base fee determination in Polygon / tâtonnement

I am currently stuck in my understanding of the base fee pricing. According to the [wiki](https://ethereum.org/en/developers/docs/gas/#block-sizestrong text) of the Ethereum mainnet, the base fee is ...
aimbotter21's user avatar
2 votes
0 answers
772 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 ...
Marlo's user avatar
  • 361
2 votes
0 answers
2k 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....
SHRENIK SHAH's user avatar
2 votes
0 answers
174 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 "...
Valerii's user avatar
  • 21
2 votes
0 answers
599 views

Opensea isApprovedForAll / ProxyRegistry for Ethereum (Rinkeby) and Polygon (Mumbai)

Can somebody explain why there are different implementations suggested by OpenSea for the isApprovedForAll for Ethereum (Rinkeby) and Polygon (Mumbai). The Ethereum (Rinkeby) version from ...
thomasoss's user avatar
2 votes
0 answers
456 views

How are Meta Transactions executed with OpenSea Implementation?

I am developing a simple ERC721 contract for Polygon with this implementation of NativeMetaTransaction (used in OpenSea code examples) https://github.com/maticnetwork/pos-portal/blob/master/contracts/...
Flavio Brassesco's user avatar
2 votes
0 answers
168 views

Using more than one network in Hardhat script

I need to work with the Tokemak protocol, and some part of the project I'm developing needs to extract information from this contract in the Polygon network, and use it in my contract deployed on ...
Facundo Farall's user avatar
2 votes
0 answers
2k views

How can I get wrapped Ether on Polygon Mumbai?

how can I get Wrapped ETH (wETH) on Polygon Mumbai (Testnet)? I'd like to have some WETH in PolygonTestnet for further testings on OpenSea (Testnet-stage). How to archive this? The official Polygon ...
itinance's user avatar
  • 184
2 votes
1 answer
635 views

Event not firing - Alchemy Polygon Mumbai API difference to Alchemy Eth Ropsten API?

I have a simple smart contract deployed via Hardhat to both Eth Ropsten and Polygon Mumbai testnets. It contains a function that my app calls, and the function fires an event as below. event ...
ssss11's user avatar
  • 21
2 votes
1 answer
1k views

Transfer an NFT token from Polygon to Ethereum - Solidity smart contract

I am new to blockchain development, NFT and Solidity and i need your help. I have fount this twit and this Polygon documentation Most of the assets are pre-existing on Ethereum chain. But new assets ...
Igor Tikhonov's user avatar
2 votes
0 answers
194 views

Connecting to Polygon network with OpenEthereum

Have anyone already managed to connect OpenEthereum node to Polygon (mainnet or Mumbai testnet)? I seems to be technically possible. I need some kind of genesis.json file for these networks along with ...
Александр Фролов's user avatar
2 votes
0 answers
556 views

How to reserve a ticker symbol for an ERC-20 token?

Cryptocurrencies and tokens are identified by a ticker symbol like MATIC (Polygon), AVAX (Avalanche), and KSM (Kusama). How do developers reserve these ticker symbols before or during their ICO so ...
user610620's user avatar
  • 1,528
2 votes
1 answer
691 views

Which contract does Opensea uses for polygon mumbai?

I've been testing buying NFT on Opensea. I've bought nft on rinkeby, which will trigger AtomicMatch of the underlying wyvern exchange contract. However, after I've done the same thing for Opensea ...
johnhckuo's user avatar
  • 351
2 votes
0 answers
484 views

Polygon Network Fraud Proofs - State change reversal

After doing some surface reading about the Polygon L2 side-chain. I was interested in what actually happens if a successful fraud proof is submitted?. To enhance the security of the transactions, ...
Malone's user avatar
  • 1,590
2 votes
2 answers
1k views

Cannot deploy by Truffle to Polygon Mumbai testnet

I`m trying to deploy by truffle to testnet polygon Mumbai a smart contract , However it does not work with my contract. It worked with another smaller contract , but with this one which imports ...
builder9999's user avatar
2 votes
1 answer
508 views

3 questions about bridging tokens between Polygon and Ethereum

I have an ERC721 token deployed on Polygon that I want to bridge into Ethereum. I'm having a hard time figuring out how bridges and layer 2 work, so I have a few questions about this workflow. 1 - I ...
sigmaxf's user avatar
  • 1,080
1 vote
1 answer
21 views

ERC-20 Tokens Stuck on MIST Multisig Contract on the Polygon Network

Help! I can't get access to these tokens.... I have ERC-20 tokens attached to a MIST multisig contract on the polygon network. Here's a contract similar to mine (by not mine). This might actually ...
sisafish's user avatar
1 vote
0 answers
14 views

Create Call Data for function input using Nethereum

I want to call it a smart contract function. I am signing the transaction using Metamask so I need to create call data for the transaction. I want to use Nethereum for creating the call data of the ...
Shubhankar Banerjee's user avatar
1 vote
0 answers
17 views

Address passed to thirdweb is not getting passed correctly

I'm building a smart wallet that is ERC 4337 compatible, for that I'm using the thirdweb accountfactory contract. Now when creating a smart wallet I'm passing the address of the account factory ...
Rohit Jambhulkar's user avatar
1 vote
0 answers
37 views

Unable to deploy Transparent Proxy contract to Polygon mainnet with Hardhat

I'm able to deploy this same contract to the Mumbai testnet and verify it and everything works fine. So I know that my script is working correctly. However each time I try to deploy to Polygon mainnet,...
BlackH3art's user avatar
1 vote
0 answers
39 views

How to view Crypto Wallet transactions simplified like bank statement

Is there any tool that I can use to make sense of my Crypto Wallet transactions? A human-understandable simple ledger where I can see what happened(amount In/amount Out/amount Swapped), date, ...
Pankaj Singhal's user avatar
1 vote
0 answers
14 views

Type Error: contract.XXX is not a function

I am working on a smart contract that allows you to create Crypto Estates so that other addresses can inherit your crypto assets upon death or lost keys. I have the following smart contract function: ...
Jack Antico's user avatar
1 vote
0 answers
43 views

I am encountering issues when transferring USDC tokens

When I transfer USDC tokens on the Polygon mainnet at https://rpc-mainnet.maticvigil.com, I encounter an error stating that the 'transfer' method is not found. Upon checking the list of methods for ...
Solider's user avatar
  • 11
1 vote
0 answers
40 views

Make AA wallet signature permanent

I have a 0xsequence wallet which implements AA, I am signing a EIP712 message using signTypedData and verifying with the SignatureChecker.sol using the function isValidSignatureNow. Everything seems ...
Biel43's user avatar
  • 11
1 vote
0 answers
51 views

Cannot deploy contracts on Polygon Mumbai, what am I doing wrong?

I'm trying to deploy contracts to the Polygon Testnet Mumbai, but I get no confirmation, it works maybe 1 in a 50 attempts. I've been iterating my code and I'm quite confused as to what is going wrong....
twangsta's user avatar
1 vote
0 answers
149 views

Are there any USDC off-ramp providers to convert USDC to Fiat currency for a Custodial Wallet?

We have a custodial wallet created for each of the users of our application. They should be able to purchase the NFTs using USDC in the platform. Users should be able to on-ramp and off-ramp USDC from ...
crypto-noob's user avatar
1 vote
0 answers
70 views

ethers.js can't transferFrom USDT. Numeric_fault Underflow

Error: underflow [ See: https://links.ethers.org/v5-errors-NUMERIC_FAULT-underflow ] (fault="underflow", operation="BigNumber.from", value=178193613693.6, code=NUMERIC_FAULT, ...
kalik's user avatar
  • 11
1 vote
1 answer
91 views

where does the problem of this transaction come from?

So i've been working on a smart contract and im trying to perform a swap on uniswap using polygon mainnet but im struggling to get it to work, This is the solidity code im using: // SPDX-License-...
Paucar's user avatar
  • 11
1 vote
0 answers
64 views

After successfully deploying a subgraph via The Graph to Mumbai it suddenly stops working for no apparent reason

so I have succesfully deployed a subgraph to a fork of the masterchef contract from sushiswap. Before beeing able to sync up properly, the subgraph suddenly throws an error and stops. The error ...
CheeseMcBurger's user avatar
1 vote
1 answer
261 views

How do I create polygon based private blockchain like Ethereum using geth?

I have been going through polygon blockchain. I understand that to reduce transaction cost and improve throughput, polygon employs zkrollups. However, I have not found any blogs or documents about ...
INDUKURI MANI VARMA 21911012's user avatar
1 vote
1 answer
44 views

Transaction failed [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] - Gas fee

I'm trying to create new safe wallet for my current wallet using deploySafe method. Following is my implementation: const provider = new ethers.providers.JsonRpcProvider('https://polygon-rpc.com); ...
Nick's user avatar
  • 21
1 vote
2 answers
247 views

Returned error: unknown account Web3.js

I'm trying to create new safe wallet for my current wallet using deploySafe method. Following is my implementation: import Safe, { SafeAccountConfig, SafeFactory, Web3Adapter, ...
Nick's user avatar
  • 21
1 vote
0 answers
37 views

Programmatically deploy Safe smart contract on Polygon Mainnet

I have created a mobile wallet using Flutter. I would like for users to be able to create a new Safe wallet within my app. How can I programmatically deploy a Safe smart contract within my app?
pivotal_cantata0c's user avatar
1 vote
0 answers
29 views

0x ExchangeProxy addresses point to different implementations on Ethereum and Polygon

Why is it that on ethereum the 0xDef1C0ded9bec7F1a1670819833240f027b25EfF contract is a ERC1155OrdersFeature and on Polygon it is a ERC721OrdersFeature? Does is mean that there is no ERC1155 support ...
AFMeirelles's user avatar
1 vote
0 answers
59 views

What does it mean to run a Polygon zkNode without the zkProver?

I was going through the "Setup Local zkNode" section in the Polygon zkEVM Developer Guides and came across the following line: If you are unable to meet the Prover requirements, you can ...
Ashutosh Pathak's user avatar
1 vote
2 answers
71 views

Best ERC-721 wallet for polygon chain technophobes

As the title suggests, I'm looking for advice in helping non-technical people install an app on both android, iOS that is super simple to use and that will then allow me to send them ERC-721 NFTs. ...
Richard Green's user avatar
1 vote
0 answers
194 views

Why Alchemy responds eth_getBlockByNumber with wrong data

Network: Polygon Mainnet. I am using the Alchemy RPC in the following manner: I listen for new blocks and then retrieve block data, including transactions, based on the block number. However, today my ...
Alexandr Kalashnikov's user avatar
1 vote
0 answers
373 views

wallet connect button integration using web3Modal

I'm trying to integrate wallet connect to my dApp using web3modal. Link to the docs -> https://docs.walletconnect.com/2.0/web3modal/react/installation The dApp is about token swapping. When I try ...
Bhavishyag2's user avatar
1 vote
0 answers
39 views

Polygon Top addresses Polygon chain vs Ethereum chain

If I check Polygon top addresses on Polygon chain, I see the following list on https://polygonscan.com/accounts. With top1 address 0x0000000000000000000000000000000000001010 containing 9,070,304,832....
mindaugasj's user avatar
1 vote
0 answers
121 views

POLYGON Node Not Syncing Fast Even After DOWNLOADING FROM SNAPSHOT

I Have tried to make deploy a node of Polygon Mainnet and I am trying to make it full sync. Its Not syncing for 5 Days. I have downloaded Snapshot and Extracted it.
Noooblien's user avatar
  • 136
1 vote
0 answers
110 views

Unable to run concurrent contract executions on polygon mainnet (Alchemy)

I'm currently encountering a peculiar issue on the Polygon Mainnet, which doesn't seem to occur on the Testnet. When running two or more parallel node processes which have two different wallets with ...
Rakesh Bhatt's user avatar

1
2 3 4 5 6