Skip to content

Commit

Permalink
feat: implement kurtosis package for nodle testnet setup
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Nov 13, 2023
1 parent f19858c commit e770152
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions parachain/testnet-setup/nodle.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
def run_nodle(plan):
exec_command = [
"--chain=test",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--unsafe-ws-external",
]
nodle_service_config = ServiceConfig(
image = "nodlecode/chain:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
"rpc": PortSpec(9933, transport_protocol = "TCP"),
},
public_ports = {
"ws": PortSpec(9432, transport_protocol = "TCP"),
"rpc": PortSpec(9431, transport_protocol = "TCP"),
},
cmd = exec_command,
entrypoint = ["nodle-parachain"]
)
plan.add_service(name = "nodle-node", config = nodle_service_config)

0 comments on commit e770152

Please sign in to comment.