-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
48 lines (30 loc) · 991 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# JSON RPC Gatekeeper
The JSON RPC Gatekeeper is a proxy API which proxies the JSON RPC requests
to a geth instance using the IPC UXIX file. This proxy allows access to whitelisted methods only
## Prerequisites
Before running the API, make sure you have the following prerequisites installed:
- Node.js
## Installation
1. Clone the repository:
```bash
git clone https://github.com/etccopperative/jsonrpc-gatekeeper.git
```
2. Install the dependencies:
```bash
cd jsonrpc-gatekeeper
npm install
```
3. Set up the environment variables:
- Create a `.env` file in the root directory of the project.
- Add the following environment variables to the `.env` file:
```
PORT=3000
```
4. Start the API:
```bash
npm start
```
## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE).