Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/using-kava-endpoints/endpoints.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 1

# Public Endpoints

ANKR, Kava Labs and Chainstack provide public API endpoints for the community to use for consuming and integrating with Kava, e.g. for setting up and syncing a new archive node or getting the latest block info.
ANKR, Grove, Kava Labs and Chainstack provide public API endpoints for the community to use for consuming and integrating with Kava, e.g. for setting up and syncing a new archive node or getting the latest block info.

## Pruning API

Expand All @@ -19,6 +19,11 @@ Pruning APIs provide information on the last 1000 blocks, and are useful for get
- evm.kava-rpc.com - EVM JSON-RPC Endpoint
- wevm.kava-rpc.com - EVM Websocket Endpoint

#### Grove Hosted
- https://kava.rpc.grove.city/v1/01fdb492 - Public JSON-RPC Endpoint
- https://kava.rpc.grove.city/v1/<APP_ID> - Private JSON-RPC Endpoint


#### Nodies hosted

- KAVA EVM - https://lb.nodies.app/v1/05b5daeba22c4ff685a72e610b0a5509
Expand Down Expand Up @@ -73,6 +78,10 @@ Archive APIs provide a complete historical record of all state on the chain from
- evm.data.kava.chainstacklabs.com - EVM JSON-RPC Endpoint
- wevm.data.kava.chainstacklabs.com - EVM Websocket Endpoint

#### Grove Hosted
- https://kava.rpc.grove.city/v1/01fdb492 - Public JSON-RPC Endpoint
- https://kava.rpc.grove.city/v1/<APP_ID> - Private JSON-RPC Endpoint

### Testnet Archive API Endpoints

#### Kava Labs hosted:
Expand Down
60 changes: 60 additions & 0 deletions docs/using-kava-endpoints/grove_private_endpoint.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Private Endpoints - Grove

If you're building decentralized applications on KAVA's EVM, you'll need a dependable RPC service to access its full capabilities. This tutorial will show you how to set up your own private RPC endpoints using Grove, a premium RPC provider.

## Who are Grove?

Grove are the builders and maintainers of [Pocket Network](https://pocket.network) the original decentralized RPC protocol dating back to 2018.

Grove builds and maintains an enterprise grade quality layer on top of the decentralized Pocket Network, [PATH](https://github.com/buildwithgrove/path), which is also vendored as a SaaS app at https://portal.grove.city

## What is an RPC endpoint?

An RPC (Remote Procedure Call) endpoint is a network address used by software applications to request and receive data from a remote server or service. In the context of blockchain, an RPC endpoint is used to access the blockchain data and execute transactions on the network.

## Benefits of a private endpoint

- **Avoid Rate Limiting:** Public endpoints provided by certain service providers may have rate limits or usage restrictions. Private endpoints typically offer more generous usage limits or may not have them at all, ensuring your application can function without interruptions.
- **Performance:** Private endpoints provide more consistent and predictable performance because they are not shared with a large number of users. This can be critical for applications that require low latency and high throughput.
- **Control:** With a private RPC endpoint, you have full control over who can access your endpoint. You can grant permissions on a per-user basis to ensure that only trusted parties can view or manage your endpoint.
- **Reliability:** By having your own endpoint, you can ensure that your
application is not impacted by the performance or availability of shared
endpoints. This means your application will have greater uptime and
reliability.

## Accounts and Applications

- Your Grove User account is organized into Accounts and Applications.
- Team members can be assigned to Accounts.
- Team members can be assigned roles that define access to the Account and Applications.
- An Application contains endpoints that can be used for all networks currently supported by Grove.
- Statistics can be viewed on the account and application level.

## Usage Tiers

Grove supports a public endpoint and two private plans:

- **Public Endpoint**: https://kava.rpc.grove.city/v1/01fdb492
- **Free**: Provides 150,000 Monthly Relays throttled at 30 RPS. Relays can be used on any supported network.
- **Unlimited**: Exactly what is says. Unlimited Relays at unlimited RPS. Flat rate of $5 / million relays.

## Registration and Usage

**Step 1: Create an account at [https://portal.grove.city](https://portal.grove.city).**

We provide multiple methods for registration to cater to various user preferences:

- **Email and Password:** You can register using your email address and a unique password.
- **Google Login:** Leverage your existing Google account to register quickly and conveniently.
- **Github Login:** Use your Github account credentials for easy registration.

**Step 2: Copy and Test your private Kava endpoint**

You can test your private endpoint by making a HTTP request to it. Below is an example of a simple cURL command.

```sh
curl https://kava.rpc.grove.city/v1/<INSERT URL> \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber", "params": []}'
```