Skip to content

Commit 8416245

Browse files
Updated typescript link command in README
1 parent 257ec38 commit 8416245

File tree

10 files changed

+18
-1
lines changed

10 files changed

+18
-1
lines changed

step21_web3_node_getbalance/readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,16 @@ const accountAddress = "0x53d284357ec70ce289d6d64134dfac8e511c8a3d";
6969

7070
## Step 6
7171

72-
Now, run the project with the following two commands:
72+
Run the project with the following commands:
7373

7474
```bash
75+
npm link typescript
7576
npm start
7677
```
78+
79+
or with these commands.
80+
81+
```bash
82+
tsc
83+
node index
84+
```

step22_web3_smartcontract_read_data/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ In `index.ts`, we use the ABI and address of DAI to instantiate an ERC20Token ob
3030
Run the project with the following commands:
3131

3232
```bash
33+
npm link typescript
3334
npm start
3435
```
3536

step23_web3_smartcontract_read_data_typechain/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ In `index.ts`, we instantiate a `DaiToken` object, and then, play with it.
5858
Run the project with the following commands:
5959

6060
```bash
61+
npm link typescript
6162
npm start
6263
```
6364

step24_web3_send_transaction_unlocked_account/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const account2Address = "ACCOUNT_2_ADDRESS";
3232
Run the project with the following command:
3333

3434
```bash
35+
npm link typescript
3536
npm start
3637
```
3738

step25_web3_send_transaction_signed/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ You will see in the code that here we have explicitly signed our transaction usi
5959
Run the project with the following command:
6060

6161
```bash
62+
npm link typescript
6263
npm start
6364
```
6465

step26_web3_deploy_contract/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const smartContractByteCode = "PASTE_CONTRACT_BYTECODE";
7575
Run the project with the following command:
7676

7777
```bash
78+
npm link typescript
7879
npm start
7980
```
8081

step27_web3_invoke_smartContract_with_signed_functions/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ const contractAddress = "CONTRACT_ADDRESS";
116116
Run the project with the following command:
117117

118118
```bash
119+
npm link typescript
119120
npm start
120121
```
121122

step28_web3_fetch_events/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const RPC_ENDPOINT = `https://${network}.infura.io/v3/${INFURA_PROJECT_ID}`;
3030
Run the project with the following command:
3131

3232
```bash
33+
npm link typescript
3334
npm start
3435
```
3536

step29_web3_inspect_blocks/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ In `EthNetwork.ts`, we have implemented different methods to fetch and explore E
2828
Run the project with the following command:
2929

3030
```bash
31+
npm link typescript
3132
npm start
3233
```
3334

step30_web3_utils/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const RPC_ENDPOINT = `https://${network}.infura.io/v3/${INFURA_PROJECT_ID}`;
2626
Run the project with the following command:
2727

2828
```bash
29+
npm link typescript
2930
npm start
3031
```
3132

0 commit comments

Comments
 (0)