diff --git a/parachain/testnet-setup/zeitgeist.star b/parachain/testnet-setup/zeitgeist.star new file mode 100644 index 0000000..2766a2a --- /dev/null +++ b/parachain/testnet-setup/zeitgeist.star @@ -0,0 +1,24 @@ +def run_zeitgeist(plan): + exec_command = [ + "--chain=battery_station", + "--rpc-port=9933", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--unsafe-ws-external", + "--execution=wasm", + "--tmp" + ] + zeitgeist_service_config = ServiceConfig( + image = "zeitgeistpm/zeitgeist-node-parachain", + files = { + "/app": "configs", + }, + ports = { + "ws": PortSpec(9944, transport_protocol = "TCP"), + "rpc": PortSpec(9933, transport_protocol = "TCP"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/zeitgeist"] + ) + plan.add_service(name = "zeitgeist-node", config = zeitgeist_service_config)