Running a Mina block producer in minutes with Pulumi

Deploy a block producer

You need to download and install Pulumi, the AWS CLI and Kubectl. We also use k9s to easily access the cluster.

yarn install
  • in a file called key.pub , write your public key
  • in a file called key, write your encrypted private key
  • in a file called password , write the password for your private key
pulumi up
  • deploy an EKS cluster
  • Deploy the block-producer helm chart
  • Start the block producing container with your credentials
pulumi stack export kubeconfig > kubeconfig.yaml
k9s --kubeconfig=kubeconfig.yaml
Mina block producer running in an EKS cluster
Using password from environment variable CODA_PRIVKEY_PASS
Using coda keypair private-key password from environment variable CODA_PRIVKEY_PASS
😄 Imported account!
Public key: B62qnBJBhcEUC4i1Pfo5ko46Q4UXpnzA1TZwyePsPwWhudaEQ8Lw1FE stream closed
coda client status

About MIDL.dev

We are a proof-of-stake infrastructure company. We create and maintain open-source framework for safe staking operations. We support the leading proof-of-stake cryptocurrencies: Tezos, Polkadot. We are eager to improve our Mina tooling to make it production-ready once the mainnet launches, and submit Helm chart improvements upstream as we go!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store