Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit facc2e6

Browse files
author
Dan Forbes
authored
Fix Typos (#7310)
1 parent 9edb183 commit facc2e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/docs/guides/05_smart_contracts/mastering_smart_contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ In the code editor you'll find:
1919
- `getNumber()`: this function will return the current value of the `number` variable.
2020
- `counterABI.json`: the ABI of the ContractCounter.sol
2121
- `counterBytecode.json`: the compiled Bytecode of the ContractCounter.sol
22-
- `main.js`: here you will find 3 funtions:
22+
- `main.js`: here you will find 3 functions:
2323

2424
- `deploy()`: sample script to deploy the smart contract using the ABI and Bytecode
2525
- `getNumber()`: sample script to call the reading function getNumber() of the smart contract

docs/docs/guides/06_events_subscriptions/custom_subscriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This guide is most likely for advanced users who are connecting to a node that p
1414
:::important
1515
If you are the developer who provides custom subscriptions to users. We encourage you to develop a web3.js Plugin after you follow the guide below. However, you can find how to develop a plugin at [web3.js Plugin Developer Guide](/guides/web3_plugin_guide/plugin_authors).
1616

17-
And even if you are not the developer who provides this custom subscription, we encourage you to write a web3.js plugin for the custom subscription, and publish it to the npm package registry. This way you can help the community. And they might contribute to your repository helping for things like: feature addition, maintenance, and bug detection.
17+
And even if you are not the developer who provides this custom subscription, we encourage you to write a web3.js plugin for the custom subscription, and publish it to the npm package registry. This way you can help the community. And they might contribute to your repository by helping for things like: feature addition, maintenance, and bug detection.
1818
:::
1919

2020
## Implementing the Subscription
@@ -114,7 +114,7 @@ To subscribe, you need to pass the custom subscriptions to the `Web3`. And then
114114

115115
```ts
116116
const CustomSubscriptions = {
117-
// the key (`custom`) is what you chose to use when you call `web3.subscriptionManager.subscribe`.
117+
// the key (`custom`) is what you choose to use when you call `web3.subscriptionManager.subscribe`.
118118
// the value (`CustomSubscription`) is your class name.
119119
custom: MyCustomSubscription,
120120
// you can have as many custom subscriptions as you like...

0 commit comments

Comments
 (0)