adds web3

This commit is contained in:
Sanaz 2020-12-03 10:23:45 -08:00
parent 57f69201d6
commit 96702ee0b9
No known key found for this signature in database
GPG Key ID: 0B5ACFC518E67998
5 changed files with 13 additions and 2 deletions

3
.gitmodules vendored
View File

@ -103,3 +103,6 @@
url = https://github.com/arnetheduck/nim-sqlite3-abi.git
ignore = dirty
branch = master
[submodule "vendor/nim-web3"]
path = vendor/nim-web3
url = https://github.com/status-im/nim-web3.git

View File

@ -10,4 +10,5 @@ import
./v2/test_rpc_waku,
./v2/test_waku_swap,
./v2/test_message_store,
./v2/test_jsonrpc_waku
./v2/test_jsonrpc_waku,
./v2/test_web3

5
tests/v2/test_web3.nim Normal file
View File

@ -0,0 +1,5 @@
import web3
proc web3Test() =
var web3: Web3 # an identifier from web3 package
web3Test()

1
vendor/nim-web3 vendored Submodule

@ -0,0 +1 @@
Subproject commit dde382f70e811d964a000bdd4d86151615f9d4c0

View File

@ -20,7 +20,8 @@ requires "nim >= 1.2.0",
"stew",
"stint",
"metrics",
"libp2p" # Only for Waku v2
"libp2p", # Only for Waku v2
"web3"
### Helper functions
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =