85b3567d94
* Fix problem with contract out of assets * Add nully value json test * Fix bug with passing null to a few functions * Typesafe U256 parsing * Update readme for the web3 to include runner info * Cleanup commits Strip out unused JSON Update comment Remove echo Added DynamicBytes test More correct naming Remove one extra double check * Add specific object tests * Ensure we cover different status types * Add header comments * Cleanup * Add more tests * Cleanup * Revert docs * Nimpretty file * Fix issue in base stew * Add tests * Sorting * Work on tests * Move items to the correct location * Add TODO * Add all test executables * Work on generating tests * Push latest execution API changes * Work on eth_call test * Fix source type * Latest * Add many more tests * Add more tests * Revert "from" to "source" * Try fix types * Split to types which fail and those which dont * Cleanup * Remove whispher types again * re-remove whisper * Add more eth_api signature * Readding executions-apis submodule * Disable test_execution_api * Nitpick * add handlers * Add last line to handler * Some handler pass * Finally all tests pass * Add the test to all_tests * Consisten style * Turn on submodule downloading in CI * Temporary workaround of get eth_getBlockReceipts for nim 2.0 --------- Co-authored-by: jangko <jangko128@gmail.com> |
||
---|---|---|
.github/workflows | ||
tests | ||
web3 | ||
.gitignore | ||
.gitmodules | ||
LICENSE-APACHEv2 | ||
LICENSE-MIT | ||
README.md | ||
ci-test.sh | ||
config.nims | ||
nim.cfg | ||
simulator.sh | ||
web3.nim | ||
web3.nimble |
README.md
web3
The humble beginnings of a Nim library similar to web3.[js|py]
Installation
You can install the developement version of the library through nimble with the following command
nimble install https://github.com/status-im/nim-web3@#master
Development
You should first run ./simulator.sh
which runs ganache-cli
This creates a local simulated Ethereum network on your local machine and the tests will use this for their E2E processing
License
Licensed and distributed under either of
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT
or
- Apache License, Version 2.0, (LICENSE-APACHEv2 or http://www.apache.org/licenses/LICENSE-2.0)
at your option. This file may not be copied, modified, or distributed except according to those terms.