Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
The goal is for this to support most common web3 functionality in ReasonML as well as some less common functionality that I need.
I am currently learning ReasonML and using this as an exercise at implementing something I understand fairly well (web3) using ReasonMl.
This means the API is likely going to change a lot as I learn more about idiomatic ReasonML and fix stupid beginners mistakes.
The RPC methods currently implemented are:
eth_accounts
as accounts()
eth_blockNumber
as blockNumber()
eth_call
as call()
eth_coinbase
as coinbase()
eth_estimateGas
as estimateGas()
eth_gasPrice
as gasPrice()
eth_getBalance
as balanceOf()
eth_getBlockByNumber
eth_getBlockByHash
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
eth_getCode
(only supports block number “latest”)eth_getCompilers
eth_getFilterChanges
eth_getFilterLogs
eth_getLogs
eth_getStorageAt
eth_getTransactionByHash
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
eth_getTransactionCount
eth_getTransactionReceipt
eth_hashrate
eth_mining
eth_newBlockFilter
eth_newFilter
(includes log/event filters)eth_protocolVersion
eth_sendTransaction
as sendTransaction()
eth_sendRawTransaction
eth_sign
eth_subscribe
(only for websocket connections. "syncing" subscriptions are not yet supported)eth_unsubscribe
(only for websocket connections. "syncing" subscriptions are not yet supported)eth_syncing
eth_uninstallFilter
net_listening
net_peerCount
net_version
miner_start
miner_stop
rpc_modules
web3_clientVersion
Non-Standard ganache-cli methods:
evm_snapshot
evm_revert
evm_increaseTime
evm_mine
as mineBlock()
FAQs
Web3 like library for ReasonML/Bucklescript
The npm package bs-eth receives a total of 12 weekly downloads. As such, bs-eth popularity was classified as not popular.
We found that bs-eth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.