Skip to content

Commit

Permalink
Correct contract name to be pascal case (CryptozombiesHQ#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
hurricanenara authored Oct 6, 2021
1 parent 8a81698 commit cf6f0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/11/02.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ The first thing you'll need to do every time you start writing a new test suite

Let's look at a simple example.

Say there was a contract called `myAwesomeContract`. We could do something like the following to load the build artifacts:
Say there was a contract called `MyAwesomeContract`. We could do something like the following to load the build artifacts:

```javascript
const myAwesomeContract = artifacts.require(“myAwesomeContract”);
const MyAwesomeContract = artifacts.require(“MyAwesomeContract”);
```

The function returns something called a **_contract abstraction_**. In a nutshell, a _contract abstraction_ hides the complexity of interacting with **Ethereum** and provides a convenient _JavaScript_ interface to our _Solidity_ smart contract. We'll be using it in the next chapters.
Expand Down

0 comments on commit cf6f0bf

Please sign in to comment.