@remix-project/remix-simulator
is a web3 wrapper for different kind of providers. It is used in remix-tests
library and in Remix IDE codebase.
@remix-project/remix-simulator
is an NPM package and can be installed using NPM as:
yarn add @remix-project/remix-simulator
@remix-project/remix-simulator
implements:
- web3_clientVersion
- web3_sha3
- net_version
- net_listening
- net_peerCount
- eth_protocolVersion
- eth_syncing
- eth_coinbase
- eth_mining
- eth_hashrate
- [~] eth_gasPrice
- [~] eth_accounts
- eth_blockNumber
- eth_getBalance
- [~] eth_getStorageAt
- eth_getTransactionCount
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- [~] eth_getUncleCountByBlockHash
- [~] eth_getUncleCountByBlockNumber
- eth_getCode
- [~] eth_sign
- eth_sendTransaction
- [_] eth_sendRawTransaction
- eth_call
- [~] eth_estimateGas
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionReceipt
- [_] eth_getUncleByBlockHashAndIndex
- [_] eth_getUncleByBlockNumberAndIndex
- eth_getCompilers (DEPRECATED)
- eth_compileSolidity (DEPRECATED)
- eth_compileLLL (DEPRECATED)
- eth_compileSerpent (DEPRECATED)
- eth_newFilter
- eth_newBlockFilter
- eth_newPendingTransactionFilter
- eth_uninstallFilter
- [~] eth_getFilterChanges
- [~] eth_getFilterLogs
- eth_getLogs
- [_] eth_getWork
- [_] eth_submitWork
- [_] eth_submitHashrate
- [_] eth_getProof
- [_] db_putString
- [_] db_getString
- [_] db_putHex
- [_] db_getHex
- [_] debug_traceTransaction
- eth_subscribe
- eth_unsubscribe
- [_] miner_start
- [_] miner_stop
- [_] personal_listAccounts
- [_] personal_lockAccount
- [_] personal_newAccount
- [_] personal_importRawKey
- [_] personal_unlockAccount
- [_] personal_sendTransaction
- [_] rpc_modules
Please feel free to open an issue or a pull request.
In case you want to add some code, do have a look at our contribution guidelines here. Reach us on Gitter in case of any queries.
MIT © 2018-21 Remix Team