Skip to content

Commit fad4829

Browse files
committed
First pass of ERC20 lesson review. Change Goerli to Sepolia
1 parent 09f28e6 commit fad4829

File tree

1 file changed

+22
-22
lines changed
  • pages/lessons/projects

1 file changed

+22
-22
lines changed

pages/lessons/projects/6.mdx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -607,13 +607,13 @@ property rights. We can think of this as deploying our contract to a blockchain,
607607
where our token will be fully functioning for every address that wants to
608608
interact with it.
609609

610-
We are going to need a small amount of Goerli ETH to be able to pay for the
611-
transaction to deploy our contract. If you already have some Test ETH in Goerli,
610+
We are going to need a small amount of Sepolia ETH to be able to pay for the
611+
transaction to deploy our contract. If you already have some Test ETH in Sepolia,
612612
you can continue, if you don't you can always ask for some in the many faucets
613-
that are online. Some options are: [Alchemy](https://goerlifaucet.com/),
614-
[Goerli Faucet](https://goerlifaucet.org/) or
615-
[Paradigm](https://faucet.paradigm.xyz/), but you can find more if you search
616-
for Goerli Faucet in any search engine.
613+
that are online. Some options are: [Alchemy](https://sepoliafaucet.com/),
614+
[Sepolia Faucet](https://testnet-faucet.com/sepolia/) or
615+
[Quicknode](https://faucet.quicknode.com/ethereum/sepolia), but you can find more if you search
616+
for Sepolia Faucet in any search engine.
617617

618618
We are going to create an `.env` file, where we will store our _secrets_. And
619619
when we mean _secrets_, we are specially referring to the private key to your
@@ -630,8 +630,8 @@ project's root folder called `.env` and we should fill it with this:
630630

631631
```env
632632
RAW_PRIVATE_KEY=REPLACE_THIS_VALUE_WITH_YOUR_PRIVATE_KEY
633-
ETH_RPC_URL=https://rpc.ankr.com/eth_goerli
634-
CHAIN=goerli
633+
ETH_RPC_URL=https://rpc.ankr.com/eth_sepolia
634+
CHAIN=sepolia
635635
ETHERSCAN_API_KEY=REPLACE_WITH_ETHERSCAN_API_KEY
636636
```
637637

@@ -649,7 +649,7 @@ Overview of our values:
649649
one but you can use your Infura, Alchemy, Quicknode or whatever provider you
650650
prefer
651651
- **CHAIN**: The blockchain where we will be deploying out contract. We are using
652-
the goerli testnet since this is not intended to be on mainnet.
652+
the Sepolia testnet since this is not intended to be on mainnet.
653653
- **ETHERSCAN_API_KEY**: Here we will use our Etherscan API KEY so we can verify
654654
our contract for everyone to see the deployed code and foster transparency in
655655
the web3 space.
@@ -738,22 +738,22 @@ the tool will return an error when trying to verify.
738738
This is the output I got:
739739

740740
```less
741-
[] Compiling...
741+
[] Compiling...
742742
No files changed, compilation skipped
743-
744-
Deployer: 0xC53128eAe55d64C2bD70F842247a0E8D27647241
745-
Deployed to: 0x2778aB7e31C56B73F4d83ABb265c0bEcA8A0655a
746-
Transaction hash: 0xef9dfa70fa3cc6c5f5f994f00ac46f6c343f378b2135d80b34c6e56bd5f7036e
743+
Deployer: 0xf4bAFA90241e808461653C17dB0f8669Fa4342a1
744+
Deployed to: 0xCE68eD7AEd9A1c6C185f2B8b576e7cBD7bf5dAAf
745+
Transaction hash: 0xeb420acc65f54fc3a564db28856e4496acb59615f837d784c75a9c00a0bb96d4
747746
Starting contract verification...
748747
Waiting for etherscan to detect contract deployment...
749-
Start verifying contract `0x2778ab7e31c56b73f4d83abb265c0beca8a0655a` deployed on goerli
748+
Start verifying contract `0xCE68eD7AEd9A1c6C185f2B8b576e7cBD7bf5dAAf` deployed on sepolia
749+
750+
Submitting verification for [src/MyToken.sol:MyToken] "0xCE68eD7AEd9A1c6C185f2B8b576e7cBD7bf5dAAf".
750751

751-
Submitting verification for [src/MyToken.sol:MyToken] "0x2778aB7e31C56B73F4d83ABb265c0bEcA8A0655a".
752752
Submitted contract for verification:
753753
Response: `OK`
754-
GUID: `6mfsxsqsbau8rfsdtmisn2ihq5wh568mr9myxbbgcf66hcspbv`
754+
GUID: `fn91mxzy58kyjw5ps1tjid2jtulktj8zhdx583pxbfekthb5jm`
755755
URL:
756-
https://goerli.etherscan.io/address/0x2778ab7e31c56b73f4d83abb265c0beca8a0655a
756+
https://sepolia.etherscan.io/address/0xce68ed7aed9a1c6c185f2b8b576e7cbd7bf5daaf
757757
Contract verification status:
758758
Response: `NOTOK`
759759
Details: `Pending in queue`
@@ -765,17 +765,17 @@ Contract successfully verified
765765

766766
If we filter out all information, we can pay attention to the second line, where
767767
the tool tells us what is the address of the deployed contract:
768-
`0x2778aB7e31C56B73F4d83ABb265c0bEcA8A0655a`.
768+
`0xCE68eD7AEd9A1c6C185f2B8b576e7cBD7bf5dAAf`.
769769

770-
You can go into [Goerli Etherscan](https://goerli.etherscan.io/) block explorer
770+
You can go into [Sepolia Etherscan](https://sepolia.etherscan.io/) block explorer
771771
and search for this address that the command returned to check out your very own
772772
newly deployed smart contract!
773773

774774
![ERC20.etherscan](/assets/lessons/6/ERC20.etherscan.png)
775775

776776
If you got to verify it, it also gives you a link to see your contract on the
777777
block explorer, in our case it's the last line the _Submitted contract for
778-
verification_ section: [Goerli Etherscan](https://goerli.etherscan.io/address/0x2778ab7e31c56b73f4d83abb265c0beca8a0655a) **and** you get to see the code for
778+
verification_ section: [Sepolia Etherscan](https://sepolia.etherscan.io/address/0xce68ed7aed9a1c6c185f2b8b576e7cbd7bf5daaf) **and** you get to see the code for
779779
the contract and all it's libraries right there in the tab named _Contract_ with
780780
a green checkmark.
781781

@@ -800,7 +800,7 @@ our decimals in 18, that would be exactly 1000 MTK.
800800

801801
## Invite your frens!
802802

803-
That's it! We deployed our contract on the Goerli testnet, and our token should
803+
That's it! We deployed our contract on the Sepolia testnet, and our token should
804804
be live and kicking.
805805

806806
Now that we have built our house and it's has been accepted in the real estate

0 commit comments

Comments
 (0)