Skip to main content

Questions tagged [polygon]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

I'm working on a NFT Marketplace and help me with BUY function. It's not working?

I'm new to smart contracts and testing some functions. I'm trying on buy nft function. it's not working somehow. Even though I've enough balance, the crypto transfer is not happening. Please find the ...
Vara Prasad's user avatar
0 votes
0 answers
16 views

Best way to restart in cryptocurrency? [closed]

Evicted. Car towed. Phones stolen. Laptops stolen. Important documents lost. Best way to restart in crypto? I lost access to my phone numbers and all emails except one. I'm in the US. Presently ...
Gregory Thomas Briley's user avatar
0 votes
0 answers
23 views

How to solve Delay while calling contract method

I have a contract which has a trigger button and am calling that trigger on every 30 seconds so what i need is instant change in the contract as i have conditions to match and it is basically a time ...
Roy's user avatar
  • 1
0 votes
0 answers
20 views

Issue in Kurtosis Based Polygon CDK Deployment on Ubuntu 22.04

I was trying to setup the Polygon CDK Private Environment using Kurtosis. I am facing the error when I am trying to setup the enclave using the following command. kurtosis run --enclave cdk-v1 --args-...
Gokul Alex's user avatar
0 votes
0 answers
19 views

I can’t send matic or mint an nft with my polygon mainnet

I have 48 matic in my wallet that I sent to myself 10 days ago. Now that matic seems to be stuck on my wallet. I connected to a mint site (that is 100% legit and trustworthy) and it won’t allow my ...
John Fallon's user avatar
0 votes
1 answer
44 views

How to make my own wrapped token for native token like WETH, WMATIC?

I want to make my own WMATIC in amoy testnet for marketplace trade. In more details, I want to suggest with WMATIC in marketplace our team had made. I know how to deploy ERC20 name WMATIC, and I want ...
rrrrssss's user avatar
0 votes
1 answer
90 views

How to verify a contract on foundry on Polygon Amoy chain

I tried to verify my contract that has been deployed on Polygon Amoy. But all it does is verifies another contract on polygon mainnet. Submitted contract for verification: Response: `OK` ...
eik's user avatar
  • 3
1 vote
1 answer
22 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
0 votes
1 answer
18 views

How to Perform Cross-Chain Swaps?

I'm trying to facilitate cross-chain swaps between Binance Smart Chain (BSC) and Polygon networks. What are the steps or tools I can use to achieve this? I'd appreciate any guidance or resources you ...
adam mr's user avatar
  • 131
1 vote
0 answers
15 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
1 answer
44 views

What number of confirmations is considered secure in Polygon?

In Bitcoin, 4 confirmations are considered secure (very low probability of transaction/block reversal). What is the current number in Polygon?
Falcon Stakepool's user avatar
0 votes
1 answer
356 views

Using Uniswap V3 to swap 2 ERC20 tokens on Amoy Testnet

I'm quite new to blockchain and uniswap in general, I have deployed 2 erc20 tokens on Amoy testnet. TokenA and TokenB I would like to be able to swap between TokenA and TokenB by using uniswap v3. ...
Pax's user avatar
  • 1
0 votes
1 answer
65 views

"rpc error : The blockchain network connection is temporarily unstable. " is occured too often. (amoy testnet)

I'm trying to deploy some contracts in amoy testnet. but when I try to deploy contract, this error comes too often that I almost spent a day to deploy single contract. rpc error : The blockchain ...
rrrrssss's user avatar
0 votes
1 answer
26 views

how to verify contracts in contract (created with contract ) polygon

i have a following structure for my contracts : 1 - OpenZeppelin v 4.9 2 - safepool 3 - safepoolfactory i have a single file that this code : pragma solidity ^0.8.0; import "https://github.com/...
Hosein In jast's user avatar
0 votes
0 answers
7 views

Scripts directory not installed

I am creating a smart contract where I have to run the script directory. But even after installing all the dependencies the directory is not getting added to the root folder.
Shravani Sawant's user avatar
0 votes
1 answer
37 views

web3.js code works on chrome + metamask but dosent work on metamask mobile

i have a few codes that works fine on chrome desktop but dosent work with metamask mobile im using web3.js 1.2.7 here is code for connecting to wallet : import Web3 from 'web3'; var web3 = new Web3(...
Hosein In jast's user avatar
0 votes
2 answers
43 views

Cannot call contract function using ethers.js

I am new to web3 and smart contract development and I am stuck trying to call a function in my smart contract. I have a mintToken function: function mintToken(uint256 tokenId, string memory _type, ...
user134392's user avatar
1 vote
1 answer
50 views

Stuck $200,000 of MATIC bridging from ethereum to polygon using SAFE

I created a SAFE on Ethereum and Polygon POS and bridged $200,000 of MATIC from the ethereum SAFE to the Polygon safe. The funds never arrived to the Polygon safe. Steps Performed: Created a SAFE on ...
Geoffrey Furth's user avatar
0 votes
1 answer
133 views

Swap in matic without gas

How to swap WETH(POLYGON) or ETH(ETHERIUM) to MATIC with empty balance on polygon (no money for gas in matic). Current gas fee 41 usdt but i need only 0.01 - 0.02 MATIC. Thank you ...
sara's user avatar
  • 1
0 votes
1 answer
43 views

Large price discrepancy between swapExactTokensForTokens and official swap

I am testing performing swaps using solidity ^0.8.24 smart contracts with hardhat on Polygon and Quickswap exchange. But I am getting relatively large price discrepancies between my swap and one ...
SolTester's user avatar
0 votes
0 answers
12 views

My USDC was filtered by the Token Holder

I know someone asks this question here, but I still can't understand it. My USDC was in POLYGON, and I sent it to USDC ETH without knowing it. Now I can't find my coin. Is there any chance that I can ...
Adjie's user avatar
  • 1
0 votes
1 answer
603 views

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

how can I verify a proxy contract on polygon amoy testnet with Hardhat? When I run the verify command, I get the following error, so I can't verify: Etherscan API call failed with status 404, response:...
user1492006's user avatar
0 votes
1 answer
125 views

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

I'm working on a DeFi application and need to swap between MATIC and USDC via Uniswap V2. To do this, I need to find (or make) a liquidity pair contract to do this, but I am unsure how to do this.
Montana Burr's user avatar
0 votes
0 answers
25 views

Polygonscan NFT inventory indexing is not working properly

There is an ERC-1155 NFT contract deployed to Polygon Mainnet network: 0x057287DF57b9e0E45c250e8fA44115A11DD9E451 Currently, well over 350 unique NFTs have been minted on this smart contract. However, ...
Alexander's user avatar
  • 131
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
1 answer
113 views

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

I am attempting to call view function “0x…” with argument of value “3…” to a specific address “0x…” and also send X wei to that address I am looking to acquire the hash of the successful tx. Tools/...
QuantumDomain's user avatar
0 votes
0 answers
18 views

side chain (polygon) and a ZK (polygonZK EVM or ZK sync)

The project have to choose an L2 chain to use as a basis, but is very worried. We are torn between a side chain (polygon) and a ZK (polygonZK EVM or ZK sync). In our project, we have adopted account ...
tjtr's user avatar
  • 1
0 votes
1 answer
19 views

About bridging tokens

Prominent tokens such as shibainu and worldcoin exist in polygon and Op as well as ethereum. Is this a bridge from L1 to L2 by token operators so that tokens can be traded in a more scalable ...
tjtr's user avatar
  • 1
0 votes
0 answers
26 views

How to bring and display minted NFT image (ERC-721) in polygon Mumbai testnet. Attached the screenshot

In polygon testnet we are trying to bring minted NFT image in the image section, is there are any possibility to bring them, please let us know how to do that.
Prabhakaran Rajagopal's user avatar
0 votes
1 answer
76 views

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

In Ethereum the gasLimit is 21000. The constant. I haven't found anywhere the value of it for Polygon, though. How much is it? For a token as well as for MATIC itself. I've found the number 57000 on ...
kriss100's user avatar
0 votes
0 answers
11 views

New token no name or call sign?

I created a new token on the Polygon net and got it all worked out, showing in my wallet, and confirmed by etherscan (I did this all in remix). But now if we go to the token in the polygonscan it wont ...
newTokenMaker's user avatar
1 vote
3 answers
1k views

Unable to verify contracts on polygon Amoy testnet

I have deployed some contracts on amoy testnet. To verify I followed this doc and I have also used the same approach for other chains as well. But in this case I am getting the following error: Error ...
Solidity Nerd's user avatar
0 votes
0 answers
134 views

Methods allowed by RPCs providers for contracts Solidity Event listeners at etherjs

GM everyone. I'll appreciate any help to know how is the correct form of consume events in a backend listener of EVM solidity contracts, and if can share your favorite Rpcs Providers like infura,...
Gman's user avatar
  • 1
0 votes
1 answer
208 views

Polygon zkEVM get token balance Error: could not decode result data

I'm trying to get balance of every erc20 token's balance in polygon zkevm network with using Ethers.js But I'm getting the error: Error: could not decode result data (value="0x", info={ &...
YMG's user avatar
  • 101
1 vote
1 answer
96 views

Cannot send USDT on Polygon : Error happened while trying to execute a function inside a smart contract

//token_address is the adress of the contract : 0xc2132D05D31c914a87C6611C10748AEb04B58e8F //because USDT on polygon is a Proxy contract, minABI is the abi of the contract where it redirect : https://...
Francois's user avatar
0 votes
0 answers
9 views

Layer 2 gas fees are paid in which cryptocurrency?

I have a doubt regarding Layer 2 blockchains (zk, optimistic, ...). At some point, nodes running L2 blockchains, send transactions to the L1 blockchain (Ethereum for the sake of this example), which ...
Alberto Molina's user avatar
0 votes
1 answer
23 views

Paying fees in custom ERC20 tokens in MATIC blockchain

I came across a statement that I find quite undoable. How can you pay the fees using your custom token in MATIC? Is this doable or am I missing something?
Allennick's user avatar
  • 253
0 votes
0 answers
4k views

10,000 liquid tether was transferred to my coin base account!

On march first of 2024 I received a notification that 10,000 liquid tether was transferred into my coin base wallet. The wallet it was transferred from is all 0's. The profile picture says USD and it ...
Joe stewart'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
0 votes
0 answers
53 views

No gas for swap in matic

How to swap WETH(POLYGON) or ETH(ETHERIUM) to MATIC with empty balance on polygon (no money for gas in matic). Current gas fee 30 usdt but i need only 0.01 MATIC. Thank you
sara's user avatar
  • 1
0 votes
0 answers
12 views

Joining Ethereum Contracts with Polygon Contracts

Our Project consists of 5 Ethereum Contracts one Mintable ERC721 the others are function libraries and data storage. these are triggered from the mintable ERC721 contract. We now want to bring the ...
PupSt4r's user avatar
  • 61
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
0 votes
0 answers
52 views

How to create a ZKP rollups on top of any EVM (eg. Hyperledger Besu) blockchain network?

I have a Hyperledger Besu network running, with IBFT 2.0 consensus protocol, up and running. I'm figuring out how could I deploy a layer 2 network, on top of this Besu network, in order to increase ...
Alexander Herranz's user avatar
0 votes
0 answers
3 views

Corrupted string is being returns in the subgraph

I've created a subgraph, and it returns a corrupted string: Look at the "domain" value.
amit's user avatar
  • 390
0 votes
0 answers
31 views

How to sign transaction for two usdt receivers (same sender)?

I have a working code for creating a signed USDT transaction using web3js, but I am not successful in adding another receiver in the same signed transaction. How can I send USDT to two separate ...
CryptoCoder's user avatar
0 votes
0 answers
30 views

Query event - Range limit on Polygon, but not on Ethereum?

I want to query some deposit events to show all deposits for a user. On Ethereum, I did it like this to query all deposits (starting from block 0) const block = await provider.getBlockNumber() const ...
jan's user avatar
  • 111
0 votes
0 answers
82 views

Creating a signed transaction USDT / matic

I want to create a signed transaction that sends USDT to two different receivers, using MATIC. I have a polygon node working (from Alchemy), but I am currently stuck on this error: ...
CryptoCoder's user avatar
0 votes
1 answer
20 views

How scammers do this? loading up a unlimited supply for dump the market. INSANE RARE

I was digging into shitcoins recently listed and trying to know how this scammers are working. If you see the token, everything is normal until from no where like 999.999.999.999.999.999.999.99 insane ...
lucio's user avatar
  • 1
0 votes
0 answers
22 views

Alchemy GetNFTsForOwner mint address is null

I'm using GetNFTsForOwner from Alchemy SDK and I expected to get minting information such as mintAddress and transactionHash to linked to my data on my database. But in my result the mint data is null....
Guege Pol's user avatar

1
2 3 4 5
10