Skip to content

Lesson 8: Is "value" parameter inside fund() a global variable? #2250

Answered by alymurtazamemon
nsawit asked this question in Q&A
Discussion options

You must be logged in to vote

@nsawit Which one ethers or ethAmount ?

ethers is coming from this file import { ethers } from "./ethers-5.6.esm.min.js";
And ethAmount is coming from a text field that we define in the HTML. <input id="ethAmount" placeholder="0.1"> <br>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nsawit
Comment options

@alymurtazamemon
Comment options

Answer selected by nsawit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants