Last active
February 3, 2021 11:38
-
-
Save vikiival/636f9d11d49855502073aa152059a059 to your computer and use it in GitHub Desktop.
Fetching RMRK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i=5438000 | |
while [ $i -le 6010749 ] | |
do | |
yarn fetch --ws 'wss://kusama-rpc.polkadot.io' --from $i --to $((i+999)) | |
let "i+=1000" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat rmrk-3.csv | grep '^[0-9]' | cut -d ',' -f 2 | sort | awk '$0>=4892957' | xargs -I{} yarn fetch --ws 'wss://kusama-rpc.polkadot.io' --from {} --to {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment