-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightweight dApp Development Guide #7364
Conversation
Bundle StatsHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Benchmark suite | Current: 4cdf9dd | Previous: 95b4bab | Ratio |
---|---|---|---|
processingTx |
22787 ops/sec (±8.92% ) |
21855 ops/sec (±6.97% ) |
0.96 |
processingContractDeploy |
39391 ops/sec (±6.85% ) |
39254 ops/sec (±7.93% ) |
1.00 |
processingContractMethodSend |
15888 ops/sec (±7.17% ) |
15819 ops/sec (±7.30% ) |
1.00 |
processingContractMethodCall |
27918 ops/sec (±6.48% ) |
27336 ops/sec (±7.42% ) |
0.98 |
abiEncode |
43335 ops/sec (±8.48% ) |
44297 ops/sec (±7.25% ) |
1.02 |
abiDecode |
30837 ops/sec (±7.57% ) |
30746 ops/sec (±6.13% ) |
1.00 |
sign |
1543 ops/sec (±0.82% ) |
1531 ops/sec (±0.76% ) |
0.99 |
verify |
367 ops/sec (±0.63% ) |
358 ops/sec (±0.58% ) |
0.98 |
This comment was automatically generated by workflow using github-action-benchmark.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.x #7364 +/- ##
==========================================
- Coverage 94.50% 94.50% -0.01%
==========================================
Files 217 217
Lines 8487 8491 +4
Branches 2343 2345 +2
==========================================
+ Hits 8021 8024 +3
- Misses 466 467 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
5. Use only necessary packages and analyze the result | ||
|
||
:::tip | ||
If you encounter any issues while following this guide or have any questions, don't hesitate to seek assistance. Our friendly community is ready to help you out! Join our [Discord](https://discord.gg/F4NUfaCC) server and head to the **#web3js-general** channel to connect with other developers and get the support you need. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://discord.gg/F4NUfaCC is not valid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 🙏🏻 I've updated this in all the guides/tutorials.
Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
|
||
```console | ||
npm install -g create-web3js-dapp | ||
npx create-web3js-dapp --framework react --template minimal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the whole idea of npx is that there is no need to install a package globally
Closes #7300