Great article ! Thanks for mentioning wax 💪
Here is our package on npm: https://www.npmjs.com/package/@hiveio/wax
Here is the high-level documentation: https://doc.openhive.network/wax/develop/manual
Here are some corrections for @hiveio/wax 💯:
@hiveio/waxgzip size is 1.08 MiB (not ~3,341 KB)- The license is MIT
- Wax itself can't stream blocks/transactions, but
@hiveio/workerbeecan (which is based on Wax) - https://doc.openhive.network/workerbee/main/manual - Wax itself does not manage user keys, but you can generate the private key from seed (
getPrivateKeyFromPassword), and suggest the brain key + private key (suggestBrainKey). - Wax has no explicit method for password verification, but you can verify the private key, by calling
calculatePublicKeymethod - Wax has a predefined set of JSON-RPC methods, but you can also use extensible wax features by extending Chain interface with api packages, providing FULLY TYPED access to JSON-RPC API, along with the REST API (e.g. https://www.npmjs.com/package/@hiveio/wax-api-jsonrpc). Those packages are automatically generated on the CI to ensure you can use the latest REST API as soon as it is implemented.
- Wax provides only the ESM version (No CommonJS natively)
- Wax does not provide source maps in the bundle
- Timeout is configurable
- Wax does not provide the built-in retry library (yet!)
- Wax formatter is far more advanced and customizable than any other library.
Wax also passed an independent security audit as a dependency of @hiveio/metamask-snap!
RE: Ultimate Stand off