Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the cost for deploying on polygon network #61

Open
ElDla opened this issue Apr 11, 2022 · 3 comments
Open

Setting the cost for deploying on polygon network #61

ElDla opened this issue Apr 11, 2022 · 3 comments

Comments

@ElDla
Copy link

ElDla commented Apr 11, 2022

In the tutorial (Ultimate guide), Daniel leaves the cost set to 0.02 ether despite deploying it later on the polygon network. As he explains, "ether" just make it to be readable. I have three questions regarding this:

  1. Does this mean I can set the cost in WEI without adding "ether" to it?
  2. Is there any other unit besides "ether" that can be used instead as a unit in this contract? (for example "matic")
  3. At one point during his tutorial when deploying on polygon, he says (I'm paraphrasing) the cost (0.02 ether) is very low considering it will be deployed on polygon. Does this mean 0.02 ether represents matic token now that it is deployed on polygon despite it saying 0.02 ether?
@vivemateo
Copy link

I'm at the same point and hope you receive an answer before I finally deploy on polygon.

@avdean
Copy link

avdean commented May 16, 2022

From what I know, in Solidity programming the term "Ether" is just the unit of currency. As with all EVM compatible cheering, even though your programming with "ether" it would be the currency of that chain.

In this case 0.02 ether, would translate to 0.02 Matic once deployed.

@bettyboomy
Copy link

I'm at the same point, please someone can confirm? did you deploy in polygon? @ElDla @vivemateo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants