1

I am developing a Dapp and I want to test it using the Mumbai testnet but I need many matic tokens. Currently the Mumbai faucet is giving you only 1 MATIC token. Is there a way to obtain some more?

Note: My idea is the testnet to be something like stage environment where QA test could be done. I want the testnet because of the polygonscan explorer which is making the tracing of the transaction very easy.

2 Answers 2

1

Do you really need many MATIC tokens on testnet? Or do you just need something like a hard fork of the main net with all the contract and wallet addresses present there that you can run locally to then test your contracts with the scenarios you want? In a locally run fork of the mainnet you can assign yourself as many test MATIC tokens you need. There's a link on Hardhat that describes mainnet forking at https://hardhat.org/hardhat-network/guides/mainnet-forking.html which may allow you an option here.

3
  • 1
    It depends, can I use polygonscan to snatch my transactions. I want to use the test net for something like stage environment where QAs can test. Jan 11, 2022 at 7:57
  • 1
    So if you're doing QA you probably want to automate this, using a script to document the test transaction path so you can repeat this tests over time, so the issue here would be to get the transaciton history. In Hardhat there's documentation for transaction history/logs here and with Brownie this is documented at here so you in essence get what Polygonscan would give you as well. Hope this helps.
    – reddi.tech
    Jan 11, 2022 at 8:25
  • 1
    My concern is that when testing against forked mainnet with automated test made by me I will test only the testcases I can think of where as if QA do some testing he/she will try every nonsense which they can think of eventually finding some problems. I assume that the QA persons are not technical people that is why I want it to make the interactions with the web as simple as possible. Jan 11, 2022 at 8:46
0

Use http://buildbear.io/ and create your own Testnet by forking Ethereum, Polygon, Binance, Optimism, Arbitrum, Fantom, and Avalanche chains, allowing you to test your projects on the actual Mainnet state.enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.