Socket
Socket
Sign inDemoInstall

@quentin_nivelais/erpc-config-generator

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quentin_nivelais/erpc-config-generator

Simple typescript tools to generate eRPC yaml config file


Version published
Maintainers
0
Created
Source

eRPC Config Builder

A TypeScript-based configuration builder for eRPC, the RPC load balancer for blockchain.

🚧 Work in Progress

This project is currently under active development. Features and API may change.

Features

  • TypeScript types for eRPC config
  • Write YAML config file for eRPC config
  • Viem support to ease with chain and network configurations
  • Helpers for networks, upstream, and auth configurations

Overview

This library aims to simplify the process of creating and managing eRPC configurations by providing a TypeScript-based builder pattern. It allows you to programmatically create eRPC configs with type safety and output them as YAML files.

Installation

bun add @konfeature/erpc-config-builder

Usage

For a detailed example of how to use this library, please refer to our simple example in the repository.

This example demonstrates:

  1. How to create individual components like rate limit budgets, upstreams, and network configurations
  2. How to combine these components into a complete eRPC configuration
  3. How to use the writeErpcConfig function to output the configuration as a YAML file

You can use this example as a starting point for creating your own eRPC configurations.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

This project is built to work with eRPC, an excellent RPC load balancer for blockchain written in Go.

FAQs

Package last updated on 18 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc