Skip to content

Commit

Permalink
feat: implement kurtosis package for kilt mainnet node setup (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Nov 10, 2023
1 parent 3d65049 commit f19858c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions parachain/mainnet-setup/kilt.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
def run_kilt(plan):
exec_command = [
"--chain=spiritnet",
"--alice",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--unsafe-ws-external",
"--rpc-methods=unsafe",
"--execution=wasm",
"--tmp"
]

kilt_service_config = ServiceConfig(
image = "kiltprotocol/kilt-node:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP")
},
cmd = exec_command,
entrypoint = ["/usr/local/bin/node-executable"]
)
plan.add_service(name = "kilt-node", config = kilt_service_config)

0 comments on commit f19858c

Please sign in to comment.