diff --git a/parachain/testnet-setup/bifrost.star b/parachain/testnet-setup/bifrost.star new file mode 100644 index 0000000..58b2d56 --- /dev/null +++ b/parachain/testnet-setup/bifrost.star @@ -0,0 +1,19 @@ +def run_bifrost(plan): + exec_command = [ + "--chain /specs/bifrost-testnet.json", + "--port=30333", + "--rpc-port=9933", + "--rpc-cors=all", + "--rpc-external" + ] + + service_config = ServiceConfig( + image = "thebifrost/bifrost-node:latest", + ports = { + "rpc": PortSpec(9933, transport_protocol = "TCP"), + "ws": PortSpec(30333, transport_protocol = "TCP"), + }, + entrypoint = exec_command, + ) + + plan.add_service(name="bifrost-node", service_config = service_config)