Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jovijovi/ether-network
A provider network toolkit for Ethereum ecosystem.
https://github.com/jovijovi/ether-network
ether ethereum network provider typescript
Last synced: 1 day ago
JSON representation
A provider network toolkit for Ethereum ecosystem.
- Host: GitHub
- URL: https://github.com/jovijovi/ether-network
- Owner: jovijovi
- License: mit
- Created: 2022-05-18T07:03:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-21T07:01:57.000Z (about 2 years ago)
- Last Synced: 2025-01-11T20:53:21.338Z (6 days ago)
- Topics: ether, ethereum, network, provider, typescript
- Language: TypeScript
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Ether Network
[![npm](https://img.shields.io/npm/v/@jovijovi/ether-network.svg)](https://www.npmjs.com/package/@jovijovi/ether-network)
[![GitHub Actions](https://github.com/jovijovi/ether-network/workflows/Test/badge.svg)](https://github.com/jovijovi/ether-network)
[![Coverage](https://img.shields.io/codecov/c/github/jovijovi/ether-network?label=\&logo=codecov\&logoColor=fff)](https://codecov.io/gh/jovijovi/ether-network)A provider network toolkit for Ethereum ecosystem.
## Philosophy
*:kiss: KISS. Keep it small and simple.*
## Features
- Connect to RPC provider
- Get provider randomly from the `provider pool`## Development Environment
- typescript `4.8.4`
- node `v16.18.0`
- ts-node `v10.9.1`
- yarn `v1.22.19`## Install
```shell
npm install @jovijovi/ether-network
```or
```shell
yarn add @jovijovi/ether-network
```## Usage
```typescript
import {network} from '@jovijovi/ether-network';network.LoadConfig(customConfig);
network.isConnected().then(r => {
if (!r) {
return;
}
});const provider = network.MyProvider.Get();
```## Roadmap
- Documents
## License
[MIT](LICENSE)