Skip to content

Commit

Permalink
Interactive code editor 6693 (#6769)
Browse files Browse the repository at this point in the history
* edited info section

* edited info section

* edited info section

* updated wrong description for wallets instead of web3.eth

* update stackblitz links with web3js org
  • Loading branch information
Santiago Trujillo Zuluaga authored Feb 1, 2024
1 parent a72e99a commit 95b37d8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/docs/guides/getting_started/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,8 @@ const subscription = uniswapToken.events.Transfer();
//listen to the events
subscription.on('data',console.log);
// ↳ [{...},{...}, ...] live events will be printed in the console
```
```

## Live code editor

<iframe width="100%" height="700px" src="https://stackblitz.com/edit/vitejs-vite-aksddx?embed=1&file=main.js&showSidebar=1"></iframe>
7 changes: 6 additions & 1 deletion docs/docs/guides/wallet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,9 @@ The following is a list of `Accounts` [methods](/libdocs/Wallet) in the `web3.et
- [recover](/libdocs/Accounts#recover)
- [recoverTransaction](/libdocs/Accounts#recovertransaction)
- [sign](/libdocs/Accounts#sign)
- [signTransaction](/libdocs/Accounts#signtransaction)
- [signTransaction](/libdocs/Accounts#signtransaction)


## Live code editor

<iframe width="100%" height="700px" src="https://stackblitz.com/edit/vitejs-vite-mhuwrk?embed=1&file=main.js&showSidebar=1"></iframe>
8 changes: 7 additions & 1 deletion docs/docs/guides/web3_providers_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,10 @@ provider.on('error', (error) => {
// the `maxAttempts` is equal to the provided value by the user, or the default value `5`.
}
});
```
```



## Live code editor

<iframe width="100%" height="700px" src="https://stackblitz.com/edit/vitejs-vite-zfusfd?embed=1&file=main.js&showSidebar=1"></iframe>

1 comment on commit 95b37d8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 95b37d8 Previous: 6c075db Ratio
processingTx 9474 ops/sec (±4.53%) 9301 ops/sec (±4.81%) 0.98
processingContractDeploy 40798 ops/sec (±7.35%) 39129 ops/sec (±7.62%) 0.96
processingContractMethodSend 19344 ops/sec (±5.82%) 19443 ops/sec (±5.19%) 1.01
processingContractMethodCall 38084 ops/sec (±6.41%) 38971 ops/sec (±6.34%) 1.02
abiEncode 42943 ops/sec (±7.05%) 44252 ops/sec (±6.92%) 1.03
abiDecode 30452 ops/sec (±8.24%) 30419 ops/sec (±8.89%) 1.00
sign 1616 ops/sec (±3.43%) 1656 ops/sec (±4.08%) 1.02
verify 376 ops/sec (±0.58%) 373 ops/sec (±0.78%) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.