Skip to content

Commit

Permalink
feat: implement kurtosis package for altair mainnet node
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana committed Nov 10, 2023
1 parent f19858c commit 64c6f89
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions parachain/mainnet-setup/altair.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
def run_altair(plan):
exec_command = [
"--chain=altair",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--unsafe-ws-external",
"--execution=wasm"
]
altair_service_config = ServiceConfig(
image = "centrifugeio/centrifuge-chain:test-main-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 = ["/usr/local/bin/centrifuge-chain"]
)
plan.add_service(name = "altair-node", config = altair_service_config)

0 comments on commit 64c6f89

Please sign in to comment.