Go to file
Will 85b3567d94
Feature/execution api spec (#69)
* 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>
2024-01-11 21:02:42 +07:00
.github/workflows Feature/execution api spec (#69) 2024-01-11 21:02:42 +07:00
tests Feature/execution api spec (#69) 2024-01-11 21:02:42 +07:00
web3 Feature/execution api spec (#69) 2024-01-11 21:02:42 +07:00
.gitignore Feature/execution api spec (#69) 2024-01-11 21:02:42 +07:00
.gitmodules Feature/execution api spec (#69) 2024-01-11 21:02:42 +07:00
LICENSE-APACHEv2 Initial commit 2018-12-21 18:27:09 +01:00
LICENSE-MIT Initial commit 2018-12-21 18:27:09 +01:00
README.md Bugfix/nully values (#61) 2023-12-14 06:56:54 +07:00
ci-test.sh v0.2.0: Revamp data types 2023-12-12 12:15:34 +07:00
config.nims v0.2.0: Revamp data types 2023-12-12 12:15:34 +07:00
nim.cfg v0.2.0: Revamp data types 2023-12-12 12:15:34 +07:00
simulator.sh Bugfix/nully values (#61) 2023-12-14 06:56:54 +07:00
web3.nim More flexibility to contract DSL, Async contract caller 2024-01-09 14:57:29 +01:00
web3.nimble Reduce compiler warnings when using Nim v2 2024-01-02 09:33:15 +07:00

README.md

web3

License: MIT License: Apache Stability: experimental Github action

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

or

at your option. This file may not be copied, modified, or distributed except according to those terms.