diff --git a/parachain/interlay.star b/parachain/interlay.star new file mode 100644 index 0000000..f521e14 --- /dev/null +++ b/parachain/interlay.star @@ -0,0 +1,16 @@ +def interrelay_run(plan,args): + + exec_command = [ "bin/sh","-c","/usr/local/bin/interbtc-parachain --chain=dev --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json"] + parachain = plan.add_service( + name="interrelay", + config= ServiceConfig( + image = "interlayhq/interbtc:latest", + files={ + "/app":"output" + }, + ports = { + "parachain" : PortSpec(9944, transport_protocol="TCP"), + }, + entrypoint=exec_command + ) + )