npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gluwa/evm-network-test

v0.1.5

Published

empowers developers to rapidly assess both the compatibility and usability of EVM

Downloads

400

Readme

Welcome to Gluwa-EVM-Network-Evaluation

How to install?

  • run npm i -g to install this repo

Run basic test

  • run basicTest --rpc rpc-string. For example basicTest --rpc http://4.246.123.154:21010 will run the test at RPC url http://4.246.123.154:21010
  • You can provide a private key string to run the test. For example: basicTest --rpc http://4.246.123.154:21010 --private-key your-private-key. This will use your wallet to deploy and run the tests.
  • If you are running in a network that requires fee to send transaction, you must provide a private key which has ETH in wallet

Run gas consummation test

  • run gasTest --rpc rpc-string
  • The test will run inside the provided rpc and the hardhat vm, record the gas usage in each transaction and write into a csv file
  • Finally, compare both csv file and check if gas used difference. If difference is < 2% is considered success
  • Remove all written files once test finished

Run state override test

  • run npx hardhat test ./test/stateOverride.test.js
  • The test will help to check if the network support state overidding which is useful for simulating transaction
  • You can test your desired network by adding the network in hardhat.config.js and run with npx hardhat test ./test/stateOverride.test.js --network {network-name}

Note

  • Be careful that this code will write your input json rpc and private key into hardhat.config.json. It will remove the data once test is completed but if you force terminate the program your sensitive will last in the hardhat.config.json. Be careful your data to be exposed.