Questions tagged [polygon]

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

Filter by
Sorted by
Tagged with
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
  • 380
0 votes
0 answers
14 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
25 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
21 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
17 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
11 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
0 votes
0 answers
23 views

My contract level metadata is not showing on Opensea!

I need some help I'm new to solidity and I'm reading the docs for opensea, but I must be missing something. I have an ERC721 contract on Polygon, but the contract level metadata won't show. I'm ...
Ordo's user avatar
  • 1
0 votes
0 answers
38 views

Polygon Mumbai Testnet Explorer: read/write contract error

One of the ABI in my contract is shown below. I found out the input for _suitableProductIDss (string[][]) triggered error when I was trying to write [[SCSG1]] into it in Mumbai Testnet Explorer, the ...
dewchan's user avatar
0 votes
1 answer
20 views

Find ERC20/Polygon address with the beginning and end

I found this post: Find the address of the wallet know almost all the letters I'm looking for a code to find an address on Polygon with a beginning and the end. I have this information: 0x858b...4B7d. ...
Naografix's user avatar
  • 171
0 votes
0 answers
26 views

Making meme coin on polygon network. Swap failure for no apparent reason

I'm working on developing a meme coin and I'm going through the testing phase to make sure everything works as intended. I am able to deploy the token and provide single sided liquidity to the pool ...
needhelpalways's user avatar
0 votes
0 answers
65 views

Setting initial price of token on Uniswap V3 single sided liquidity polygon token

I've been trying to set the initial price of my token for the past two days and I'm still confused. Please go easy on me as this is my first time messing with solidity and smart contracts. I have some ...
needhelpalways's user avatar
0 votes
1 answer
25 views

How to accommodate gas costs in a multi-user refund type transaction?

I want to build a donation kind of application using blockchain. It would also have the feature of automatic refund in case let say the patient dies before the donation could be used. My doubt is, in ...
Aniket Kumar Paul's user avatar
0 votes
0 answers
39 views

Eip838ExecutionError: execution reverted, while deploying contract with web3js

I maintain a web3 application, for each customer I deploy a smart-contract through the application. The contract was good and I were able to deploy it on polygon, but it isn't comply with the ERC721 ...
Lollo's user avatar
  • 101
1 vote
0 answers
24 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
2 votes
1 answer
153 views

How to estimate gas cost for a polygon zk evm transaction?

I understand how to estimate gas cost for L2s like Arbitrum and Optimism because their documents provide some details, e.g. total gas cost = L1 poster fee + L2 network fee. But I really cannot find ...
Felix's user avatar
  • 21
0 votes
0 answers
70 views

How do I get the amount of asset i have on the pool?

I' am trying to retrieve the amount of token i have on my liquidity pool but i don't know how should i do it i've been trying to use the NonFungiblePositionManager but i can't use the token amount ...
Paucar's user avatar
  • 11
1 vote
0 answers
31 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
0 votes
0 answers
14 views

Multiple Solidity Versions in flattened file

I have deployed a contract to Mumbai Polygon testnet. While verifying and publishing source code, the flattened file has multiple solidity versions. I got the error below. The OpenZeppelin contracts ...
Valli Nayaki's user avatar
0 votes
1 answer
38 views

Fund deposit on Polygon safe wallet whereas wallet is on gnosis chain

I've created a safe wallet on the gnosis chain using the safe relayer: https://gnosisscan.io/tx/0x1f41365850321f6ec1ee6d05acf44fc53fa56165fc5ef2f6139a67b06494b108#eventlog ChainId being 100 and ...
user3668100's user avatar
0 votes
1 answer
79 views

Trying to send Matic from one wallet to another on Mumbai but it is not sent

Below is my solidity code. I am trying to send MATIC to the "receiverAddress". Everything looks fine. I have 2.3875 MATIC in my wallet and I'm inserting 87500000000000000 as sending MATIC ...
nihilisama's user avatar
0 votes
1 answer
29 views

Trying to send matic to a wallet but Can't stake MATIC

basically what I am trying to do is create a contract that different wallets can send MATIC to one single wallet and after some time withdraw with some reward as MATIC. ie. Stake 100 matic, then ...
nihilisama's user avatar
1 vote
1 answer
37 views

How to fix invalid sender error using alchemy-sdk?

Trying to send a transaction with Alchemy-sdk, but I keep getting invalid sender. What am I doing wrong or missing, code below: My provider is created using ethers.providers.JSONRPCProvider(...
Maniac_1979's user avatar
1 vote
1 answer
85 views

Need Help Generating LP Contract Addresses using Uniswap V3 SDK

I'm in a bit of a coding jam, and could use some help understanding how to utilize the Uniswap V3 SDK to generate accurate Liquidity Pool Addresses. I have already gone through the uniswap ...
armitus's user avatar
  • 113
0 votes
0 answers
47 views

Smart contrat working in remix ide but actions not working with web3.js html interface, only displays work and i can't figure out where and why it is

first of all thank you for your time reading this. I'm trying to learn and play with solidity on polygon mumbai blockchain. I worked with internet forums, videos and chatgpt4. Here is some details ...
Jawhar Aredsgfs's user avatar
0 votes
1 answer
44 views

Are ethereum and polygon ENS synced?

I want to buy myself an ENS domain, but i don't want to pay the gas fees on eth. I know that ENS is integrated on both blockchains but I can't find info if they are synced in any way. If I buy the ...
Josif Hamed's user avatar
1 vote
0 answers
39 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
98 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
0 votes
0 answers
33 views

Solidity query works in dev environment but not in production build (nextJS)

I am calling a function that queries the token balance of a user. The query works on a dev environment but not in production build. I am using metamask and ethers to interact with my contract on the ...
Ciirno's user avatar
  • 11
0 votes
1 answer
67 views

Multisig wallet: Is it possible to start the signing process without eth or matic in the smart contract?

I built a webapp working nicely. I have a safe wallet, and I'm able to deposit on my app. But strangely, when my safe address don't have matic, the Safe application is not triggered when I want to ...
Nicolas Zozol's user avatar
0 votes
2 answers
33 views

Failing deposit transaction

The following deposit transaction on Mumbai test net is failing as opposed to this transaction on Polygon main net which had succeeded years ago. There are no fundamental differences from code or ...
Pulsares's user avatar
0 votes
0 answers
25 views

Eth::Client::ContractExecutionError - transaction underpriced

I am using the eth gem ruby library https://q9f.github.io/eth.rb/ to execute a function called from the ABI but it keeps getting the error transaction underpriced. I assume that it has something to do ...
javanoob2pro's user avatar
1 vote
1 answer
39 views

what are my erc-1155 transactions meaning? somebody airdrops or mints to my wallet

I currently made wallet in polygon. and some erc1155 contract was being made which i do not know. look below transactions in polygon scan. There are many erc-1155 tnxs to my wallet. but i do not have ...
jjunest Vpn's user avatar
2 votes
2 answers
97 views

Extract the amounts(t0, t1) for non-current tick from Uniswap v3 Pool

I want to get the amounts of the tokens for a tick range which is higher or lower than the current tick. For example I have current tick: -282986 with range [-282990, -282980], I want to get the ...
KunLun's user avatar
  • 197
0 votes
1 answer
42 views

Why is there only one USDT which PoS?

In Polygon wheneer I deal with USDT, it's always PoS. There's no ordinary USDT - without PoS remark, though. Are all USDT in Polygon PoS ones? Or are there other types too? Or did there use to be ...
Nondi's user avatar
  • 49
1 vote
0 answers
37 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
0 votes
0 answers
44 views

why can't use Apostrophe( ' ) in token Name,

Polygon explorer/ etherscan explorer why can't use Apostrophe( ' ) in token Name, And if I did the explorer shows "&#39"; instead Apostrophe. eg.(cat's = cat+ "&#39"+ s) ...
Jayasurya J's user avatar
1 vote
1 answer
68 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
2 votes
1 answer
160 views

What's Wrong With My Polygon Mainnet Aave Flashloan Script? - Fail with error '27' & Fail with error 'ERC20: transfer amount exceeds balance'

I have successfully deployed and executed a flashloan on the Polygon network in testnet and have since adapted it for mainnet. On Mainnet it compiles and gets deployed with no problem, but when I ...
Peter's user avatar
  • 23
1 vote
1 answer
220 views

Extract the amounts(t0, t1) per tick from Uniswap v3 Pool

I want to be extract the amounts of t0 and t1 from a Uniswap v3 Pool. I was trying with some method which I found on other post, but I think is not working, or I am doing something wrong. This is the ...
KunLun's user avatar
  • 197
1 vote
0 answers
57 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
0 votes
0 answers
22 views

Facing ZIPPO_CONTEXT_INVALID error while fetching price or calling any other api on mumbai testnet

I am trying to call this endpoint on mumbai testnet using 0x protocol and getting the error . { "code": 100, "reason": "Validation Failed", "validationErrors": [...
ShisukeUrahara's user avatar
1 vote
1 answer
124 views

Encode an integer to a uint256 to call a function

I have the following task. I have a contract, which I don't have the source code for, so what I have is the contract's function selector: 0xddc24be3. The function accepts a uint256 as an argument. ...
iliev951's user avatar
1 vote
1 answer
158 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
0 votes
0 answers
98 views

Trying to deploy a gnosis safe multisig wallet with 3/5 threshold on mumbai testnet

I am trying to deploy a gnosis safe multisig wallet with 3/5 threshold on mumbai testnet. I try and launch it using their website interface but apparently it does support mumbai mainnet but not mumbai ...
ShisukeUrahara's user avatar
0 votes
1 answer
110 views

Gas Estimation Error during deploy a smart contract using remix IDE with Injected Provider (Metamask)

When I try to deploy this smart contract address Using Remix IDE with Injected Provider Metamask wallet (Polygon Mumbai testnet) //SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import &...
Faisal Hussain's user avatar
0 votes
0 answers
80 views

Can't connect to Polygon wallet via ethersjs on production: Error: unknown account #0 (operation="getAddress", code=UNSUPPORTED_OPERATION

I'm creating an application where the user should be able to connect their wallet to the Polygon network. It works on my local machine (localhost), but fails on production (the live site). This is the ...
Jeremy Bernier's user avatar
0 votes
0 answers
20 views

Creating ETH Sidechains

I have been looking online for a resource that helps me how I can build ETH sidechain and Layer 2 How can i use the ETH blockchain and make it a sidechain are there any tutorials or guides ? Do i ...
michaelaberra's user avatar
1 vote
1 answer
41 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
1 answer
157 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
32 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
2 3 4 5
9