From 701ee18560193d4e6f5cd8fc2c4d64a03b0a27de Mon Sep 17 00:00:00 2001 From: abhiyana Date: Thu, 9 Nov 2023 22:57:41 +0530 Subject: [PATCH] feat: implement kurtosis package for moonbeam mainnet node setup --- parachain/mainnet-setup/moonbeam.star | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 parachain/mainnet-setup/moonbeam.star diff --git a/parachain/mainnet-setup/moonbeam.star b/parachain/mainnet-setup/moonbeam.star new file mode 100644 index 0000000..6657a2d --- /dev/null +++ b/parachain/mainnet-setup/moonbeam.star @@ -0,0 +1,21 @@ +def run_moonbeam(plan): + exec_command = [ + "--chain=moonbeam", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-rpc-external", + ] + moonbeam_service_config = ServiceConfig( + image = "moonbeamfoundation/moonbeam:sha-32933811", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint = ["/moonbeam/moonbeam"] + ) + plan.add_service(name = "acala-node", config = moonbeam_service_config)