I’m trying to set up a server as an explorer, so I can look at balances and transactions for addresses.I’ve set it up, I think correctly however I get no results for an address query.
I’ve so far got the cardano-sl code up and running with these commands:
curl https://nixos.org/nix/install | sh
sudo mkdir -p /etc/nix
sudo vi /etc/nix/nix.conf
binary-caches = https://cache.nixos.org https://hydra.iohk.io
binary-cache-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
git clone https://github.com/input-output-hk/cardano-sl.git
cd cardano-sl
Git checkout master
nix-build -A connectScripts.mainnetWallet -o connect-to-mainnet
./connect-to-mainnet
and I can run this command:
curl -k https://localhost:8090/api/settings/sync/progress
which returns:
{"Right":{"_spLocalCD":{"getChainDifficulty":{"getBlockCount":1198292}},"_spNetworkCD":{"getChainDifficulty":{"getBlockCount":1198292}},"_spPeers":0}}
However an address command (I found this address online, it’s not mine):
curl -k https://localhost:8090/api/addresses/summary/DdzFFzCqrhsx7XvWTXx2t7SoRvh1Q2h86FbccEt73GGenXXKBBJb8sbbGAApkTSJConQCeYt1rmyYM2NBL7Giv8BgBiFCbxUfipMYFsL
Just returns nothing. Surely it should return a summary of transactions?