Skip to content

ETCCooperative/jsonrpc-gatekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 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).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published