I'm looking to use a testnet to test an application. I know I can get ether, but is there an easy way I could convert it to Dai? Thanks
-
Why do you need DAI in Rinkeby? As alternative you can deploy your own ERC20 token in Rinkeby.– Ismael ♦Jun 30, 2019 at 21:08
-
Would like to test an application that runs on Rinkeby– BrennanJul 1, 2019 at 1:36
-
Any news on this? Did you solve this? I'm also struggling to get DAI (on Kovan though, but Rinkeby would help too).– J. HestersOct 7, 2019 at 18:07
-
No, I wasn't able to find a solution. I just ended up using a ETH test faucet instead.– BrennanOct 9, 2019 at 14:54
2 Answers
Go to "https://app.compound.finance/" connect metamask using rinkeby test network
In supply section select DAI -> Faucet
I deployed a mock ERC20 on all Ethereum testnets (Goerli, Kovan, Rinkeby and Ropsten) so you don't have to:
- Goerli at 0x97cb342Cf2F6EcF48c1285Fb8668f5a4237BF862
- Kovan at 0x79dfab686Ef87cd2c871D5182F08538589234189
- Rinkeby at 0x5eD8BD53B0c3fa3dEaBd345430B1A3a6A4e8BD7C
- Ropsten at 0x3ac1c6ff50007ee705f36e40F7Dc6f393b1bc5e7
You can mint as many tokens as you wish by calling the mint
function on Etherscan. Just makes sure you have MetaMask connected and click one of the addresses above.
The source code for the contract can be found here.
-
How do I call mint()? Can I do that from metamask? Or from a js program running on a page that connects to metamask lib?– TomachiOct 24, 2021 at 12:37
-
@Tomachi I updated my answer to be more specific. You have to use Etherscan. Oct 24, 2021 at 17:52