I hereby claim:
- I am rogerso on github.
- I am rogerso (https://keybase.io/rogerso) on keybase.
- I have a public key whose fingerprint is EB62 8561 5DF7 80A1 946C 32A2 D70D 3F12 AFEF E818
To claim this, I am signing this object:
use ethers::prelude::*; | |
#[tokio::main] | |
async fn main() -> eyre::Result<()> { | |
let client = Provider::<Ws>::connect("wss://api.avax.network/ext/bc/C/ws").await?; | |
let mut stream = client.subscribe_blocks().await?; | |
while let Some(block) = stream.next().await { | |
println!("New block: {:?}", block); | |
} | |
Ok(()) |
#!/bin/sh | |
# Compile and install watchman on both CircleCI and Heroku | |
set -x | |
set -e | |
# no need to apt-get build-essential autoconf automake | |
# as both CircleCI and Heroku has them installed | |
if [ ! -e /usr/local/bin/watchman -a ! -e node_modules/.bin/watchman ]; then |
I hereby claim:
To claim this, I am signing this object: