Skip to content

Commit

Permalink
Fix Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
danforbes committed Oct 7, 2024
1 parent 9edb183 commit 5e98e6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In the code editor you'll find:
- `getNumber()`: this function will return the current value of the `number` variable.
- `counterABI.json`: the ABI of the ContractCounter.sol
- `counterBytecode.json`: the compiled Bytecode of the ContractCounter.sol
- `main.js`: here you will find 3 funtions:
- `main.js`: here you will find 3 functions:

- `deploy()`: sample script to deploy the smart contract using the ABI and Bytecode
- `getNumber()`: sample script to call the reading function getNumber() of the smart contract
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This guide is most likely for advanced users who are connecting to a node that p
:::important
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).

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.
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.
:::

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

```ts
const CustomSubscriptions = {
// the key (`custom`) is what you chose to use when you call `web3.subscriptionManager.subscribe`.
// the key (`custom`) is what you choose to use when you call `web3.subscriptionManager.subscribe`.
// the value (`CustomSubscription`) is your class name.
custom: MyCustomSubscription,
// you can have as many custom subscriptions as you like...
Expand Down

0 comments on commit 5e98e6d

Please sign in to comment.