diff --git a/parachain/polkadot_parachain.star b/parachain/polkadot_parachain.star index a6c3bb7..5c48cb7 100644 --- a/parachain/polkadot_parachain.star +++ b/parachain/polkadot_parachain.star @@ -38,3 +38,19 @@ def run_acala(plan, args): ) plan.add_service(name="acala-node", config=acala_service_config) +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 + ) + )