Skip to content

Commit

Permalink
feat: implement kurtosis package for kilt package local setup (#11)
Browse files Browse the repository at this point in the history
* feat: implement kurtosis package for local setup moonbeam parachain

* feat: implement kurtosis package to local setup for kilt para-chain

* refactor: format code
  • Loading branch information
abhiyana authored Oct 30, 2023
1 parent 21f385f commit 039b750
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions parachain/kilt.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
def run_kilt(plan):

exec_command = [
"--chain=dev",
"--alice",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--execution=wasm",
"--tmp",
"--",
"--chain=/app/rococo-local.json",
"--execution=wasm"
]

kilt_service_config = ServiceConfig(
image = "kiltprotocol/kilt-node:latest",
files = {
"/app":"config"
},
ports = {
"9944": PortSpec(9944, transport_protocol="TCP"),
"9933": PortSpec(9933, transport_protocol="TCP")
},
public_ports = {
"9944": PortSpec(9432, transport_protocol="TCP"),
"9933": PortSpec(9431, transport_protocol="TCP")

},
cmd = exec_command,
)
plan.add_service(name="kilt-node", config=kilt_service_config)

0 comments on commit 039b750

Please sign in to comment.