mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
Adds web3 (#316)
* adds web3 * adds comment * Revert "adds comment" This reverts commit dbe59e7e49f2351403a8749b28973a9fafcb5e0a. * adds comments
This commit is contained in:
parent
78a1c690fc
commit
1344932769
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -103,3 +103,6 @@
|
|||||||
url = https://github.com/arnetheduck/nim-sqlite3-abi.git
|
url = https://github.com/arnetheduck/nim-sqlite3-abi.git
|
||||||
ignore = dirty
|
ignore = dirty
|
||||||
branch = master
|
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_rpc_waku,
|
||||||
./v2/test_waku_swap,
|
./v2/test_waku_swap,
|
||||||
./v2/test_message_store,
|
./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",
|
"stew",
|
||||||
"stint",
|
"stint",
|
||||||
"metrics",
|
"metrics",
|
||||||
"libp2p" # Only for Waku v2
|
"libp2p", # Only for Waku v2
|
||||||
|
"web3"
|
||||||
|
|
||||||
### Helper functions
|
### Helper functions
|
||||||
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
|
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user