Skip to content

Commit 48f2730

Browse files
spelling issues in documents (#1864)
* Update quickstart.md * Update zks_getbridgecontracts.mdx * Update quickstart.md * Update use-rust.md * Update use-web3.js.md * Update deploy-a-contract-using-web3.js.md * Update retrieve-and-display-erc-721-and-erc-1155-tokens.md * Update retrieve-the-balance-of-an-erc-20-token.md * Update subscribe-to-pending-transactions.md * Update track-erc-20-token-transfers.md * Update services/tutorials/ethereum/send-a-transaction/use-rust.md --------- Co-authored-by: Alexandra Carrillo <[email protected]>
1 parent 87c92ad commit 48f2730

10 files changed

+16
-16
lines changed

services/reference/unichain/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta
5656

5757
#### Node Fetch
5858

59-
1. In your project folder, install the `node-fetch` package using npm::
59+
1. In your project folder, install the `node-fetch` package using npm:
6060

6161
```bash
6262
npm i node-fetch

services/reference/zksync/json-rpc-methods/zks_getbridgecontracts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ None.
1515

1616
The default bridges used in the ZKsync network:
1717

18-
- `1Erc20DefaultBridge` - The address of the default bridge contract responsible for handling ERC-20 token
18+
- `l1Erc20DefaultBridge` - The address of the default bridge contract responsible for handling ERC-20 token
1919
transfers from the L1 network to the L2 network
2020
- `l2Erc20DefaultBridge` - The address of the default bridge contract responsible for handling ERC-20 token
2121
transfers from the L2 network to the L1 network
@@ -63,4 +63,4 @@ wscat -c wss://zksync-mainnet.infura.io/ws/v3/<YOUR-API-KEY> -x '{"jsonrpc": "2.
6363
```
6464

6565
</TabItem>
66-
</Tabs>
66+
</Tabs>

services/reference/zksync/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Don't have an Infura account? Sign up for our free plan and start using the ZKsy
1515

1616
## Prerequisites
1717

18-
Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/create-api/) with the ZKsync Era networked enabled.
18+
Ensure you have an [API key](../../../../developer-tools/dashboard/get-started/create-api/) with the ZKsync Era network enabled.
1919

2020
## Make calls
2121

services/tutorials/ethereum/deploy-a-contract-using-web3.js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ async function main() {
212212
// The contract is now deployed on chain!
213213
console.log(`Contract deployed at ${deployedContract.options.address}`)
214214
console.log(
215-
`Add DEMO_CONTRACT to the.env file to store the contract address: ${deployedContract.options.address}`
215+
`Add DEMO_CONTRACT to the .env file to store the contract address: ${deployedContract.options.address}`
216216
)
217217
}
218218

services/tutorials/ethereum/retrieve-and-display-erc-721-and-erc-1155-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This example has been written for web3js v4.x. It may not work for earlier versi
4747

4848
### 3. Set up the script
4949

50-
Create a file called `retrieveBalance.js`. At the top of file, add the following lines to import the web3.js library and connect to the Infura HTTPS endpoint:
50+
Create a file called `retrieveBalance.js`. At the top of the file, add the following lines to import the web3.js library and connect to the Infura HTTPS endpoint:
5151

5252
```javascript
5353
const { Web3 } = require("web3")

services/tutorials/ethereum/retrieve-the-balance-of-an-erc-20-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ npm install web3
4141

4242
### 3. Set up the script
4343

44-
Create a file called `retrieveBalance.js`. At the top of file, add the following lines to import the web3.js library and connect to the Infura HTTPS endpoint:
44+
Create a file called `retrieveBalance.js`. At the top of the file, add the following lines to import the web3.js library and connect to the Infura HTTPS endpoint:
4545

4646
```javascript
4747
const { Web3 } = require("web3")

services/tutorials/ethereum/send-a-transaction/use-rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async fn main() -> Result<()> {
8282
// Define the signer.
8383
// Replace the SIGNER_PRIVATE_KEY with
8484
// the private key of your Ethereum account (without the 0x prefix).
85-
// However, we recommended that you load it from
85+
// However, we recommend that you load it from
8686
// an .env file or external vault.
8787
let wallet: LocalWallet = "SIGNER_PRIVATE_KEY"
8888
.parse::<LocalWallet>()?
@@ -217,7 +217,7 @@ async fn main() -> Result<()> {
217217
// Define the signer.
218218
// Replace the SIGNER_PRIVATE_KEY with
219219
// the private key of your Ethereum account (without the 0x prefix).
220-
// However, we recommended that you load it from
220+
// However, we recommend that you load it from
221221
// an .env file or external vault.
222222
let wallet: LocalWallet = "SIGNER_PRIVATE_KEY"
223223
.parse::<LocalWallet>()?

services/tutorials/ethereum/send-a-transaction/use-web3.js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To use an alternative network, ensure that your account has testnet ETH for that
4040
When using an alternative network, you'll:
4141

4242
- Update your `.env` file in [Step 4](#4-create-a-env-file) with the alternative network name.
43-
- Update the `chaindId` in [Step 5](#5-create-a-sendjs-file) with the alternative network chain ID.
43+
- Update the `chainId` in [Step 5](#5-create-a-sendjs-file) with the alternative network chain ID.
4444
:::
4545

4646
</TabItem>

services/tutorials/ethereum/subscribe-to-pending-transactions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Install `web3.py` and the `websockets` library:
3838
pip install web3 websockets
3939
```
4040

41-
### 2. Import project libraries
41+
### 3. Import project libraries
4242

4343
Create your file (for example `subscribe.py`) and import the libraries needed for the project:
4444

@@ -50,7 +50,7 @@ from web3 import Web3
5050
from websockets import connect
5151
```
5252

53-
### 3. Connect to Infura
53+
### 4. Connect to Infura
5454

5555
Connect to Infura’s WebSockets endpoint to subscribe to new pending transactions, and Infura’s HTTP Ethereum endpoint so we can make JSON-RPC calls such as `eth_get_transaction` to get more information about a specific transaction.
5656

@@ -68,7 +68,7 @@ Replace `<YOUR-API-KEY>` with your Infura API key, you can use the same for both
6868

6969
:::
7070

71-
### 4. Subscribe to pending transactions
71+
### 5. Subscribe to pending transactions
7272

7373
Create an `async` method that connects to Infura’s WebSocket endpoint:
7474

@@ -140,7 +140,7 @@ if __name__ == "__main__":
140140
loop.run_until_complete(get_event())
141141
```
142142

143-
### 5. Execute the program
143+
### 6. Execute the program
144144

145145
Execute the program using the following:
146146

@@ -159,7 +159,7 @@ You should now see the terminal fill up with Ethereum transfers:
159159
...
160160
```
161161

162-
### 6. Monitor a specific address for transactions
162+
### 7. Monitor a specific address for transactions
163163

164164
You can update the program to monitor incoming transactions to a specific Ethereum address. Let’s define an account we’d like to monitor first, outside of the `get_event()` function:
165165

services/tutorials/ethereum/track-erc-20-token-transfers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This example has been written for web3js v4.x. It may not work for earlier versi
4747

4848
### 3. Set up the script
4949

50-
Create a file called `trackERC20.js`. At the top of file, add the following lines to import the web3.js library and connect to the Infura WebSocket endpoint:
50+
Create a file called `trackERC20.js`. At the top of the file, add the following lines to import the web3.js library and connect to the Infura WebSocket endpoint:
5151

5252
```javascript
5353
const { Web3 } = require("web3");

0 commit comments

Comments
 (0)