Alephium Stack on GKE
Alephium is the first operational sharded blockchain that brings scalability, ETH-inspired smart contracts and dApps capabilities to Bitcoin’s proven core technologies while ensuring better performance and improved energy efficiency. Alephium is one of those rare gems in the crypto space that has solid innovations, high code quality and great mindset for decentralization.
The project comes with a docker setup that helps to run the entire stack, including the full node, block explorer (frontend & backend), GPU miner, as well as monitoring (prometheus & grafana). This is especially convenient if you want to experiment with the entire stack on your local machine. For more details, please consult the documentation.
It might also be a good idea to run the Alephium full stack on K8S cluster. Here are some of the potential benefits:
- Expose Alephium stack to the public
- Mine with the rented GPUs in the cloud
- Develop against remote Alephium stack locally
- Run applications that depends on Alephium full node in production
- Scale different components of the Alephium stack depending on your use case
- Leverage managed service such as CloudSQL for Postgres
- Ease of operation if you are already familiar with K8S
I have setup the Alephium stack on GKE, mined some ALPHs and and exposed the following sites:
- Alephium Explorer (alephium.softfork.se)
- Alephium Monitoring (grafana.softfork.se)
- Alephium API Documenation (alephium.softfork.se/docs)
It’s comforting to be able to monitor the status of your full node wherever you are:
It is also pretty easy to develop against the remote Alephium locally, e.g.
The code for setting everything up is open sourced in the alephium-stack repo. Checkout the README.md for more details. Happy Hacking!