Skip to content

Commit

Permalink
Merge pull request #10 from HugoByte/DIVE-183-Localnet-setup-for-Nodl…
Browse files Browse the repository at this point in the history
…e-Polkadot

feat: implement the kurtosis package for runnig nodle parachain local
  • Loading branch information
shreyasbhat0 authored Oct 30, 2023
2 parents c55f937 + 6f0dbf1 commit f23a394
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions parachain/nodle.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
def run_nodle(plan):
exec_command = [
"--chain=local",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp",
"--",
"--chain=/app/rococo-local.json",
"--execution=wasm"
]
nodle_service_config = ServiceConfig(
image = "nodlecode/chain:latest",
files = {
"/app": "configs",
},
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 = "nodle-node", config = nodle_service_config)

0 comments on commit f23a394

Please sign in to comment.