audio_file
audioduration (s)
0.21
15.8
text
stringlengths
2
65
that we have our link or Oracle gas, we're going to send it to
deploy Funmi we're going to say const. Verify equals require dot
this doesn't work right away, I would recommend Wait a minute
stuff in here and think, okay, yeah, that's, that's data,
number of solidity features, such as importing inheritance,
actually paste our address in here and see details about our
through space. And being a part of the blockchain ecosystem is
done. If our popcorn was a method, putting popcorn in the
here, we automatically had to call our fun function up here.
quickly. This might look a little bit weird, but this is
little bit easier. So instead of starting Funmi balance, plus
going to work. And the reason that remix knows that it's
we're gonna go ahead and use yarn. So for us to add it, we'll
people commonly refer to it as a digital gold similar to gold.
first, in proof of work. This is civil resistant, because a
do is we can copy this and go back to our VS code, and paste
called modifiers come in. So for now, we're gonna go ahead and
includes network dot name.
And exactly as we did up here, we'll give it a URL accounts and
people who are people array, so we're gonna say function, add
current case is Nakamoto consensus, Nakamoto consensus is
gas limit and gas usage by transaction, there was a limit
really going to be the basics for all the fundamentals of all
these EVM blockchains, there's this value field that we can set
signatures work and how everything sticks together.
into this with a better understanding of JavaScript and
here, and then with our last project, but in the future,
JavaScript course to learn more about this. But I'll also let
ganache, except for instead of having this UI, it runs in the
then we want to require success. And if this send fails will
config and see if that's what's going on. Uh huh, we put account
say const ending deployer balance equals await, fund me
these funders now has zero, because in just a second, we're
price feed in here and then replace this with args and then
like to output it to a file by doing output file. Yes, report
we can do is we can add a try catch onto this await. So
up the exact same way we normally would spdx license
the yarn package manager instead to do all of our package
ganache, we see that we do indeed get a transaction here,
collaborative space. So as you get better, and as you learn
grab our contract address, place it into place into the search
can import ethers from hard hat. And in our ethers package,
store function here. So we're going to allow our store
we have in this contract that are going to be required to be
hardhat. And this deployments object has, has a function
network is in the documentation. So to get some COVID, we're
this could go on either StackOverflow. But it's probably
install meta mask for brave,
no update. And if you don't get anything, feel free to jump into
returns here, and boom, now we have a good conversion rate
hat is actually doing. Now for the rest of the course, I'm
me dot address. So we're gonna start with the balance of the
perfect. It looks like that one is also passing. Great. So the
our Hard Hat Network, which gets reset every time we run it. But
want to send an ether polygon or avalanche. And then data is
called chronological updates, be sure that this is the first
scan. Like I said, right now, it's totally blank. This
our code is a little bit tricky for other developers. Now that
keep it high level for now. Projects like board apes and
dependencies added in package dot JSON, we know that they've
ethers before but with hard hat. So one of the first things we
contract can call the withdrawal function. So how would we do
in the constructor variables that we set one time but outside
documentation. So this is also really helpful for automatically
familiar with other programming language, a constructor is
long as they're both connected, you can see which accounts are
a theory main net. Or if we go to ropsten, we also have
go ahead and verify and same as last time. And if process dot e
entire string associated with the air. So for example, with
a hard hat network, every time we run a script, we run that
interact with a blockchain node. Blockchain nodes run with
the Retrieve function, which grabs our favorite number,
And we don't get a hash with the calls. That's because clicking
dot reverted and then we want to loop through all these accounts
bottom, we're going to do module exports. Exports equals verify.
it more gas efficient and a little bit. Now that we've set
function is going to give us this function is going to return
working out of a folder called Hard Hat Free Code Camp at this
let's see how much deploying the polygon would cost well in our
back and iterate on these steps. Now that you have the basic
to grab this line. And we're also going to use this at the
this up in a way that I think works best. So we'll go ahead
add, notice, this function, funds this contract. And we can
promise and this feeling of I can't breathe because of
and on macOS, if you just type git on the command line, it
const initial answer. Answer equals, and we'll do 2000. So
smart contracts. We've learned more about multiplication, and
inside of describes, which again have more before each and more
as if we had sent zero Aetherium to this contract. Let's hit
call in here. And to tell JavaScript that this is a
contracts and more. We're going to teach you the skills
certain level, whatever event that you want to code, you
your terminal. Here's an example of if you run yarn, hard hat
WsL. Now that we're inside our WsL environment, you'll notice
tool because it has a lot of features that allow us to really
account associated with my private key is the same on test
back tick, to actually toggle your terminal mode, this will
gas limit is 21,000. And usage is 21,000. So this transaction
with ethers. However, you'll notice in our dev dependencies,
polygon. So docstoc, chain link, polygon or Matic and then we'll
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
38
Edit dataset card