Skip to content

Latest commit

 

History

History
92 lines (82 loc) · 3.07 KB

README.md

File metadata and controls

92 lines (82 loc) · 3.07 KB

Remix Simulator

npm version npm npm GitHub contributions welcome

@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.

Installation

@remix-project/remix-simulator is an NPM package and can be installed using NPM as:

yarn add @remix-project/remix-simulator

How to use

@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

Contribute

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.

License

MIT © 2018-21 Remix Team