diff --git a/parachain/moonbeam.star b/parachain/moonbeam.star index 5a00d19..0c4cd6f 100644 --- a/parachain/moonbeam.star +++ b/parachain/moonbeam.star @@ -6,6 +6,7 @@ def run_moonbeam(plan): "--rpc-cors=all", "--rpc-methods=unsafe", "--tmp", + "--unsafe-rpc-external", ] moonbeam_service_config = ServiceConfig( image = "moonbeamfoundation/moonbeam:sha-32933811", @@ -23,3 +24,24 @@ def run_moonbeam(plan): cmd = exec_command, ) plan.add_service(name = "acala-node", config = moonbeam_service_config) + +def run_moonriver(plan, args): + exec_command = [ + "--chain=dev", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--tmp", + "--unsafe-rpc-external", + ] + plan.add_service(name = "moonriver-node", config = ServiceConfig( + image = "moonbeamfoundation/moonbeam:sha-519bd694", + files = { + "/app": "configs", + }, + ports = { + "9944": PortSpec(9944, transport_protocol = "TCP"), + }, + cmd = exec_command, + ))