mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-11 15:24:59 +00:00
Adds web3 (#316)
* adds web3 * adds comment * Revert "adds comment" This reverts commit dbe59e7e49f2351403a8749b28973a9fafcb5e0a. * adds comments
This commit is contained in:
parent
57f69201d6
commit
a1ba0e5176
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||
|
@ -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 # will remove it when rln-relay tests get added
|
||||
|
5
tests/v2/test_web3.nim
Normal file
5
tests/v2/test_web3.nim
Normal file
@ -0,0 +1,5 @@
|
||||
import web3
|
||||
proc web3Test() =
|
||||
var web3: Web3 # an identifier from web3 package
|
||||
|
||||
web3Test()
|
1
vendor/nim-web3
vendored
Submodule
1
vendor/nim-web3
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit dde382f70e811d964a000bdd4d86151615f9d4c0
|
@ -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") =
|
||||
|
Loading…
x
Reference in New Issue
Block a user