aztlan-labs / chicmoz

An Aztec block explorer - officially known as "Aztec Scout".
https://aztecscout.xyz
Apache License 2.0
2 stars 2 forks source link
aztec block-explorer blockchain ethereum

Chicmoz

running locally

Requirements:

terminal 1:

minikube start --kubernetes-version=v1.25.3 --cpus max --memory max && skaffold run -f k8s/local/skaffold.default.yaml

terminal 2:

⚠️ will ask for your password in order to port forward

⚠️ Make sure you have .chicmoz-local.env file in the root

# It will end with keeping the terminal open for the tunnel.
./scripts/miscallaneous.sh

Now you can access the explorer at http://explorer-ui.localhost and also...

Different Aztec-setups

Option 0 - default

Default settings is to set up a sandbox in the local cluster.

Option 1 - connect to your already running sandbox or to public devnet

Update the CHICMOZ_AZTEC_RPC in the .chicmoz-local.env to desired endpoint and then run

skaffold run -f k8s/local/skaffold.remote_aztec.yaml

Pro tip

1

after the first time you have deployed the app you can run the following command to have faster deployments:

skaffold run -f k8s/local/skaffold.default_dev.yaml

2

if you run the explorer with skaffold run -f k8s/local/skaffold.no_ui.yaml you can run the explorer-ui locally for even faster frontend development:

cd services/exporer-ui/
yarn dev