Skip to content

Commit

Permalink
Merge pull request #8 from HugoByte/DIVE-199-Localnet-setup-for-Manta…
Browse files Browse the repository at this point in the history
…-Polkadot

feat: implement the kurtosis package to run manta parachain local
  • Loading branch information
shreyasbhat0 authored Oct 30, 2023
2 parents ca210b1 + d17e7c2 commit d0fa387
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions parachain/manta.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
def run_manta(plan, args):
exec_command = [
"bin/sh",
"-c",
"/usr/local/bin/manta --chain=manta-local --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json",
]
plan.add_service(
name = "interrelay",
config = ServiceConfig(
image = "mantanetwork/manta:latest",
files = {
"/app": "configs",
},
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
entrypoint = exec_command,
),
)

def run_calamari(plan, args):
exec_command = [
"bin/sh",
"-c",
"/usr/local/bin/manta --chain=calamari-local --wasm-execution=compiled --force-authoring --port 30333 --rpc-port 9944 --rpc-external --rpc-cors all --rpc-methods=Unsafe -- --wasm-execution=compiled --chain=/app/rococo-local.json",
]
plan.add_service(
name = "interrelay",
config = ServiceConfig(
image = "mantanetwork/manta:latest",
files = {
"/app": "configs",
},
ports = {
"parachain": PortSpec(9944, transport_protocol = "TCP"),
},
entrypoint = exec_command,
),
)

0 comments on commit d0fa387

Please sign in to comment.