Deploying to Testnet - Discussion

I am not getting my metamask connection automatic prompt… Also if I try to connect it shows that error.

I figured it out… i had to open a new tab for some reason.

1 Like

@elterremoto
Great to see you fix the problem.
Usually, for metamask, if there is some issue with it, we try to use another browser or another tab and the issue get fixed :+1:

1 Like

deployed!

1 Like

@filip I could not get the free ether on the test network … i get an error at the bottom of the webpage:

transactions

{“error”:"[ethjs-query] while formatting outputs from RPC ‘{“value”:{“code”:-32603,“message”:“Too Many Requests”,“data”:{“originalError”:{}},“stack”:“Error: Too Many Requests\n at eval (/www/node_modules/web3-provider-engine/subproviders/rpc.js:52:23)\n at Proxy.eval (/www/node_modules/web3-provider-engine/subproviders/rpc.js:54:11)\n at Object.eval [as apply] (LavaMoat/core/kernel:939:17)\n at Object.eval [as apply] (LavaMoat/core/kernel:939:17)\n at Request.self.callback (/www/node_modules/request/request.js:186:22)\n at Object.eval [as apply] (LavaMoat/core/kernel:939:17)\n at Proxy.emit (events.js:310:20)\n at Object.eval [as apply] (LavaMoat/core/kernel:939:17)\n at Request.eval (/www/node_modules/request/request.js:1155:10)\n at Object.eval [as apply] (LavaMoat/core/kernel:939:17)”}}’"}

Hey @javier_ortiz_mir

Faucets are sometimes buggy, here a list that I use (Ropsten):

https://faucet.ropsten.be/
https://faucet.metamask.io/
https://teth.bitaps.com/ ( This is good but is under maintenance at the moment).

Happy learning,
Dani

2 Likes

Hi,


I am receiving an error whenever I send a createPerson transaction. I got the code from Filip’s GitHub, removed the require(msg.value >= 1 ether); , made sure that there is a hundred wei attached to the transaction. Why could this be happening?

Thanks.

Hey @newavel

Usually the warning you are seeing is related to a require() statement which is failing.

Are you testing that on Ropsten?
If yes could I have the tx id?

Also please share your code.

Thanks
Dani

1 Like

Is the ropsten test network down? I can’t seem to recieve any test eth on my metamask wallet.

Also the transaction hash is not found on etherscan.

Hey @bjorkmanders

Which faucet are you using?

Have a look of this post and try them:

Happy coding,
Dani

1 Like

All of them except the last one which don’t work at the moment

They are working for me at the moment.
Would you please give me more info such as the tx hash or any error message ?

2 Likes

Ah wait, the ether suddenly apeared in my wallet. Took many minutes

1 Like

Getting the same error that everyone was getting when using https://faucet.metamask.io/

{"error":"[ethjs-query] while formatting outputs from RPC '{\"value\":{\"code\":-32603,\"message\":\"Too Many Requests\",\"data\":{\"originalError\":{}},\"stack...

Tried https://teth.bitaps.com/ and got this error:


#### Service is not available at that moment, because of the issue of Parity client:
https://github.com/openethereum/openethereum/issues/11862
Service will be available as soon as issue will be fixed.

Anyone have any ideas on how to get eth so I can test this? I will try again in the morning, maybe there will be less requests…

Hey @explorergeek

Try this one, it seems up and running at the moment: https://faucet.ropsten.be/

Cheers,
Dani

1 Like

Sorry for the late reply. Works well now. You’re right, I just forgot to change the cost of one require statement from 1 ether to 100 wei :sweat_smile:. Great thanks!

1 Like

@filip

Thank you! Great course. However I had some problems deploying the HelloWorld (mine is called personStruct) contract on the Ropsten testnet. I used chrome browser and the MetaMask extension had been installed already. I managed to get 3 ETH in the Robsten testnet. I also confirmed that the contract works well on JavaScript VM.

Working

This is a screenshot of one of your videos. However in my case the string “Ropsten (3) network” below “Injected Web3” is not shown! And I cannot select the matching ETH address of my MetaMask.

The connected button on MetaMask is green, but it still doesn’t work properly. When trying to deploy the contract I will get the following error message:

creation of personStruct errored: call to plugin has timed out compilerMetadata - deployMetadataOf - {“from”:“udapp”,“path”:“compilerMetadata”}

I don’t know exactly how to solve this problem. Can you help me, please?

Best regards

Ouzo69

Helo @Ouzo69, hope you are ok.

Now if you look at your “account”, the address looks different than yours in metamask.

You could try to delete the connection from metamask to remix, just click on the “connected” button and then the 3 dots button and the option “disconnect this account”

If you have any more questions, please let us know so we can help you! :slight_smile:

Carlos Z.

No links were working for me until I tried https://faucet.dimensions.network/. So thanks!

1 Like

@thecil
Hello Carlos Z., hope you are ok, too!

First of all I want to thank you for your quick reply. I still couldn’t it get to work properly, so I decided to do a step-by-step documentation of what I am doing and hope that this will help to figure out how things can go wrong on my system:

In order to prepare an easy test environment I just took a very easy and basic contract, which I found on the internet. This contract is able to receive newsfeeds from different addresses and I tested this contract on the JavaScript VM.

  1. I just perform the login on my MetaMask extension by typing the password and clicking on “ENTSPERREN”, which means “unlock”.


2.As you can see MetaMask is still not connected to remix.ethereum.org.


3. In this step I change the environment from “JavaScript VM” to “Injected Web3”. As soon as I do this the website tries to connect to my MetaMask. Then I clicked on the button “Weiter”, which means “Next”.


4. In this step I simply clicked on the button “Verbinden”, which means “Connect”.


5. In this screenshot you can see that the connection between remix.ehtereum.org and MetaMask is established.


6. This screenshot shows that the mentioned connection has been established.


7. After clicking on the “Deploy” button I will finally get the following error message:

creation of news errored: call to plugin has timed out compilerMetadata - deployMetadataOf - {“from”:“udapp”,“path”:“compilerMetadata”}

This is the last step I performed and now I want to get rid of this error to move on. Can you tell me when I did go wrong or how to solve my problem?

Thank you in advance.

Best regards

Ouzo69