mirror of
https://github.com/codex-storage/nim-ethers.git
synced 2025-01-10 19:36:28 +00:00
Move JSON RPC related modules into providers/jsonrpc
This commit is contained in:
parent
ff5a35aac0
commit
3e507af8cc
@ -5,8 +5,8 @@ import pkg/json_rpc/rpcclient
|
||||
import ../basics
|
||||
import ../provider
|
||||
import ../signer
|
||||
import ./rpccalls
|
||||
import ./conversions
|
||||
import ./jsonrpc/rpccalls
|
||||
import ./jsonrpc/conversions
|
||||
|
||||
export basics
|
||||
export provider
|
||||
|
@ -1,10 +1,10 @@
|
||||
import std/json
|
||||
import pkg/json_rpc/jsonmarshal
|
||||
import pkg/stew/byteutils
|
||||
import ../basics
|
||||
import ../transaction
|
||||
import ../blocktag
|
||||
import ../provider
|
||||
import ../../basics
|
||||
import ../../transaction
|
||||
import ../../blocktag
|
||||
import ../../provider
|
||||
|
||||
export jsonmarshal
|
||||
|
11
ethers/providers/jsonrpc/rpccalls.nim
Normal file
11
ethers/providers/jsonrpc/rpccalls.nim
Normal file
@ -0,0 +1,11 @@
|
||||
import std/os
|
||||
import pkg/json_rpc/rpcclient
|
||||
import ../../basics
|
||||
import ../../transaction
|
||||
import ../../blocktag
|
||||
import ../../provider
|
||||
import ./conversions
|
||||
|
||||
const file = currentSourcePath.parentDir / "signatures.nim"
|
||||
|
||||
createRpcSigs(RpcClient, file)
|
@ -1,11 +0,0 @@
|
||||
import std/os
|
||||
import pkg/json_rpc/rpcclient
|
||||
import ../basics
|
||||
import ../transaction
|
||||
import ../blocktag
|
||||
import ../provider
|
||||
import ./conversions
|
||||
|
||||
const file = currentSourcePath.parentDir / "rpccalls" / "signatures.nim"
|
||||
|
||||
createRpcSigs(RpcClient, file)
|
Loading…
x
Reference in New Issue
Block a user