mirror of
https://github.com/codex-storage/nim-json-rpc.git
synced 2025-02-24 00:48:12 +00:00
Update README.md
This commit is contained in:
parent
93296d40c1
commit
57a85c8f60
22
README.md
22
README.md
@ -1,20 +1,22 @@
|
|||||||
# Nim-eth-rpc
|
**Nim-eth-rpc**
|
||||||
|
|
||||||
[")](https://travis-ci.org/status-im/nim-eth-rpc)
|
[")](https://travis-ci.org/status-im/nim-eth-rpc)
|
||||||
[")](https://ci.appveyor.com/project/jarradh/nim-eth-rpc)
|
[")](https://ci.appveyor.com/project/jarradh/nim-eth-rpc)
|
||||||
|
|
||||||
Nim-eth-rpc is designed to provide remote procedure calls to the Nimbus Ethereum research project.
|
Nim-eth-rpc is designed to provide remote procedure calls to the Nimbus Ethereum research project.
|
||||||
|
|
||||||
## Installation
|
# Installation
|
||||||
|
|
||||||
### Requirements
|
|
||||||
* Nim 17.3 and up
|
|
||||||
|
|
||||||
`git clone https://github.com/status-im/nim-eth-rpc`
|
`git clone https://github.com/status-im/nim-eth-rpc`
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
### Server
|
## Requirements
|
||||||
|
* Nim 17.3 and up
|
||||||
|
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
## Server
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
import rpcserver, asyncdispatch
|
import rpcserver, asyncdispatch
|
||||||
@ -25,7 +27,7 @@ when isMainModule:
|
|||||||
runForever()
|
runForever()
|
||||||
```
|
```
|
||||||
|
|
||||||
### Client
|
## Client
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
import rpcclient, asyncdispatch, json
|
import rpcclient, asyncdispatch, json
|
||||||
@ -40,10 +42,10 @@ waitFor main()
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
# Contributing
|
||||||
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
||||||
|
|
||||||
Please make sure to update tests as appropriate.
|
Please make sure to update tests as appropriate.
|
||||||
|
|
||||||
## License
|
# License
|
||||||
[MIT](https://choosealicense.com/licenses/mit/)
|
[MIT](https://choosealicense.com/licenses/mit/)
|
Loading…
x
Reference in New Issue
Block a user