Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup of polkadex parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Oct 30, 2023
1 parent 3c70d4d commit 3d17880
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions parachain/polkadex.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
def run_polkadex(plan):
exec_command = [
"--chain=dev",
"--collator",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--tmp",
"--",
"--execution=wasm",
"--chain=/app/rococo-local.json",
"--port=30345",
"--ws-port=9979"
]

polkadex_service_config = ServiceConfig(
image = "polkadex/parachain: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 = "acala-node", config = polkadex_service_config)

0 comments on commit 3d17880

Please sign in to comment.