Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/max-tonny8/using_rpc
Most advanced collection of Public RPC / API for EVM and non-EVM blockchains (Bitcoin, Ethereum, Solana and etc)
https://github.com/max-tonny8/using_rpc
api bitcoin collection ethereum rpc solana web3
Last synced: about 2 months ago
JSON representation
Most advanced collection of Public RPC / API for EVM and non-EVM blockchains (Bitcoin, Ethereum, Solana and etc)
- Host: GitHub
- URL: https://github.com/max-tonny8/using_rpc
- Owner: max-tonny8
- License: mit
- Created: 2024-06-03T14:36:01.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T14:36:52.000Z (8 months ago)
- Last Synced: 2024-09-28T06:01:38.478Z (4 months ago)
- Topics: api, bitcoin, collection, ethereum, rpc, solana, web3
- Language: Go
- Homepage:
- Size: 1.74 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Public RPC
Website ·
Public API
### Features
* The most complete list of public RPC nodes for the top EVM and non-EVM compatible blockchains.
* Free Public API: Easy and open access for all developers. No API key required.# Getting Started
## UI Component
**Install**
```shell
cd ui
yarn install
```**Prepare configuration**
Copy .env.template to .env.local and edit it.
```shell
cp .env.template .env.local
```**Run server in development mode**
Go to `https://localhost:3000` in your browser.
```shell
yarn dev
```**Build static files**
They will be placed in `out` directory.
```shell
yarn build
```## Backend component
**Install**
```shell
cd backend
go install
```**Prepare configuration**
Copy `.env.example` to `.env` to the same directory and edit it.
```shell
cp .env.example .env
```**Run server in development mode**
```shell
go run cmd/cli/main.go run
```**Request data from server**
```shell
curl -X GET http://localhost:8000/ | jq
```**Build application**
```shell
go build -o public-rpc cmd/cli/main.go
```## API Documentation
### Endpoints
* `GET "/"` - get public RPC nodes data
### Response format
The API returns data in JSON format. Here is an example of a successful response:
```json
[
{
"id": "75a38918-33f3-4277-a915-f3befb97283a",
"http": "https://endpoints.omniatech.io/v1/eth/mainnet/public",
"ws": "",
"provider": "omniatech",
"status": "active",
"chainId": "1",
"chain": "ethereum",
"network": "mainnet",
"addedAt": "2023-12-01T17:25:47.837Z",
"checkedAt": "2023-12-01T17:25:47.837Z"
},
...
]```
## License
Distributed under the MIT License. See LICENSE for more information.