Skip to content

Commit

Permalink
feat: implement the kurtosis package for kilt parachain testnet node …
Browse files Browse the repository at this point in the history
…setup (#47)

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Nov 8, 2023
1 parent 51b9627 commit 3670392
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions parachain/testnet-setup/kilt.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
def run_kilt(plan):
exec_command = [
"--chain=/node/dev-specs/kilt-parachain/peregrine-kilt.json",
"--alice",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--unsafe-ws-external",
"--rpc-methods=unsafe",
"--execution=wasm",
"--tmp",
"--",
"--chain=/node/dev-specs/kilt-parachain/peregrine-relay.json"
]

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 3670392

Please sign in to comment.