remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/libs/remix-simulator
yann300 a03c7d4b91 update import and logging 5 months ago
..
bin split options & add helper 5 months ago
src update import and logging 5 months ago
test lint fixes for remix-simulator 6 months ago
.eslintrc Use old eslint config 3 years ago
.npmignore moved libs into libs dir 4 years ago
README.md fix typos 1 year ago
package.json publish libs for 0.49.0 6 months ago
project.json added targets for linters of libs 6 months ago
tsconfig.json Setup tsconfig.base.json 3 years ago
tsconfig.lib.json provider export improved 4 years ago

README.md

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