aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/make_cache.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/make_cache.sh b/api/make_cache.sh
new file mode 100644
index 0000000..b9e7cb9
--- /dev/null
+++ b/api/make_cache.sh
@@ -0,0 +1,6 @@
+AK_CACHE="$AK_WORKDIR/cache"
+
+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
+