1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash AK_CACHE="$AK_WORKDIR/cache" if [ ! -d $AK_CACHE ] then mkdir $AK_CACHE fi ak-find-latest-mined-sblock > $AK_CACHE/ak-find-latest-mined-sblock.json ak-get-chain-minified > $AK_CACHE/ak-get-chain-minified.json ak-get-latest > $AK_CACHE/ak-get-latest.json