Skip to content

Commit

Permalink
feat: implement kurtosis package for litentry mainnet node setup (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana authored Nov 10, 2023
1 parent c646c06 commit 8ba6a5f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions parachain/mainnet-setup/litentry.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
def run_litentry(plan):
exec_command = [
"--chain=litentry",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--execution=wasm",
"--unsafe-ws-external"
]
litentry_service_config = ServiceConfig(
image = "litentry/litentry-parachain:latest",
files = {
"/app": "configs",
},
ports = {
"ws": PortSpec(9944, transport_protocol = "TCP"),
"rpc": PortSpec(9933, transport_protocol = "TCP"),
},
cmd = exec_command,
entrypoint = ["/usr/local/bin/litentry-collator"]
)

service_details = plan.add_service(name = "litentry-node", config = litentry_service_config)

return service_details

0 comments on commit 8ba6a5f

Please sign in to comment.