https://github.com/deltartificial/subscribe-blocks-ethers-rs
Simple example of using Ethers-RS to subscribe to new blocks with Rust.
https://github.com/deltartificial/subscribe-blocks-ethers-rs
Last synced: 4 months ago
JSON representation
Simple example of using Ethers-RS to subscribe to new blocks with Rust.
- Host: GitHub
- URL: https://github.com/deltartificial/subscribe-blocks-ethers-rs
- Owner: deltartificial
- License: mit
- Created: 2022-11-25T15:10:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T15:10:49.000Z (over 2 years ago)
- Last Synced: 2023-10-05T00:24:34.521Z (over 1 year ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Subscribe-blocks-ethers-rs
Simple example of using Ethers-RS to subscribe to new blocks with Rust.
### Usage
1. Replace your WSS endpoint in main.rs
2. Install dependencies
```bash
cargo check
```3. Run the script
```bash
cargo run
```Fun