Skip to content

Commit 1881084

Browse files
Rename master => main
1 parent 4723837 commit 1881084

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ We'll writing all of our smart contracts in Solidity and writing the rest of our
3737

3838
## The Task
3939
We're going to be deploying an ERC20 contract (written in Solidity) to Optimistic Ethereum.
40-
We've already gone ahead and written that contract for you, which you should be able to locate in [`optimism-tutorial/contracts/ERC20.sol`](https://github.com/ethereum-optimism/optimism-tutorial/blob/master/contracts/ERC20.sol).
40+
We've already gone ahead and written that contract for you, which you should be able to locate in [`optimism-tutorial/contracts/ERC20.sol`](https://github.com/ethereum-optimism/optimism-tutorial/blob/main/contracts/ERC20.sol).
4141
This contract is just a relatively standard (though completely unsafe) ERC20 implementation.
4242

4343
(**Note**: Seriously! This implementation is unsafe! Don't use it in production!)
@@ -49,10 +49,10 @@ yarn compile
4949
```
5050

5151
## The Tests
52-
We've also written some very basic tests for you, which you can locate in [`optimism-tutorial/test/erc20.spec.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/master/test/erc20.spec.ts).
52+
We've also written some very basic tests for you, which you can locate in [`optimism-tutorial/test/erc20.spec.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/main/test/erc20.spec.ts).
5353
Though tests are pretty straight forward, we'd recommend taking a quick read through the test file.
5454
We're using [Ethers](https://docs.ethers.io/v5/) for the majority of our testing and [Waffle](https://ethereum-waffle.readthedocs.io/en/latest/) for some of its utilities.
55-
Hardhat provides convenient plugins for both; we've already added these plugins to [`optimism-tutorial/hardhat.config.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/master/hardhat.config.ts).
55+
Hardhat provides convenient plugins for both; we've already added these plugins to [`optimism-tutorial/hardhat.config.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/main/hardhat.config.ts).
5656

5757
Once you've taken a look at the tests, feel free to verify that everything is working correctly by running the following command:
5858

@@ -74,7 +74,7 @@ First, add the Optimism plugins package to your project:
7474
yarn add @eth-optimism/plugins
7575
```
7676

77-
Next, add the following line to [`optimism-tutorial/hardhat.config.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/master/hardhat.config.ts):
77+
Next, add the following line to [`optimism-tutorial/hardhat.config.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/main/hardhat.config.ts):
7878

7979
```ts
8080
// hardhat.config.ts
@@ -101,11 +101,11 @@ Now it's time to test this ERC20 again.
101101
This time, however, we'll be testing our new OVM-compatible smart contract on top of Optimistic Ethereum.
102102
Luckily, this is almost as easy as compiling the contract!
103103

104-
First, make a copy of [`optimism-tutorial/test/erc20.spec.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/master/test/erc20.spec.ts).
104+
First, make a copy of [`optimism-tutorial/test/erc20.spec.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/main/test/erc20.spec.ts).
105105
You can name the copy whatever you'd like, perhaps `optimistic-erc20.spec.ts`.
106106
We'll modify this copy in just a minute.
107107

108-
Now we're going to add another Hardhat plugin to [`optimism-tutorial/hardhat.config.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/master/hardhat.config.ts):
108+
Now we're going to add another Hardhat plugin to [`optimism-tutorial/hardhat.config.ts`](https://github.com/ethereum-optimism/optimism-tutorial/blob/main/hardhat.config.ts):
109109

110110
```ts
111111
// hardhat.config.ts

0 commit comments

Comments
 (0)