Skip to content

0xDmtri/eden-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Client for dealing with Eden Mempool Streaming services

Usage:

// Initialize client
let url = Url::parse(EDEN_WSS_URL).unwrap();
let client = Client::new(url);

// Subscribe to a stream
let mut stream = client.subscribe_txs().await.unwrap();

// Listen for new pedning txs
while let Some(tx) = stream.next().await {
    // types::EdenPendingTx
    dbg!(&tx);
    // ethers_core::types::Transaction
    dbg!(&tx.into_ethers_tx());
    ...
}

About

Compact client for dealing with Eden Mempool Streaming services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages