Skip to content

Commit

Permalink
feat: implement kurtosis package for kintsugi mainnet node setup (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyana authored Nov 9, 2023
1 parent 2db553e commit 0c5564a
Show file tree
Hide file tree
Showing 5 changed files with 524 additions and 4 deletions.
29 changes: 29 additions & 0 deletions parachain/mainnet-setup/kintsugi.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
def run_kintsungi(plan):

exec_command = [
"--chain=/app/kintsugi.json",
"--wasm-execution=compiled",
"--force-authoring",
"--port=30333",
"--rpc-port=9944",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=Unsafe",
"--unsafe-ws-external"
]
service_details = plan.add_service(
name="kintsungi",
config= ServiceConfig(
image = "interlayhq/interbtc:latest",
files={
"/app":"configs"
},
ports = {
"ws" : PortSpec(9944, transport_protocol="TCP"),
},
cmd=exec_command,
entrypoint= ["/usr/local/bin/interbtc-parachain"]
)
)

return service_details
168 changes: 168 additions & 0 deletions parachain/static_files/configs/bifrost-k-rococo.json

Large diffs are not rendered by default.

182 changes: 182 additions & 0 deletions parachain/static_files/configs/interlay.json

Large diffs are not rendered by default.

137 changes: 137 additions & 0 deletions parachain/static_files/configs/kintsugi.json

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions parachain/testnet-setup/bifrost.star
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
def run_bifrost(plan):
exec_command = [
"--chain /specs/bifrost-testnet.json",
"--chain=/app/bifrost-k-rococo.json",
"--port=30333",
"--rpc-port=9933",
"--rpc-cors=all",
"--rpc-external"
]

service_config = ServiceConfig(
image = "thebifrost/bifrost-node:latest",
image = "bifrostnetwork/bifrost:bifrost-v0.9.66",
files = {
"/app": "configs",
},
ports = {
"rpc": PortSpec(9933, transport_protocol = "TCP"),
"ws": PortSpec(30333, transport_protocol = "TCP"),
},
entrypoint = exec_command,
cmd = exec_command,
entrypoint =["/usr/local/bin/bifrost"]
)

plan.add_service(name="bifrost-node", service_config = service_config)
plan.add_service(name="bifrost-node", config = service_config)

0 comments on commit 0c5564a

Please sign in to comment.