Skip to content

Commit

Permalink
Merge branch 'main' into DIVE-249-Mainnet-setup-for-Bifrost-Polkadot
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Nov 9, 2023
2 parents 4650d7e + e97e249 commit 6c4730d
Show file tree
Hide file tree
Showing 9 changed files with 677 additions and 7 deletions.
25 changes: 25 additions & 0 deletions parachain/mainnet-setup/acala.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
def run_acala(plan):

exec_command = [
"--chain=acala",
"--collator",
"--rpc-cors=all",
"--rpc-port=9933",
"--rpc-methods=unsafe",
"--unsafe-rpc-external",
"--tmp",
"--execution=wasm"
]

acala_service_config = ServiceConfig(
image = "acala/acala-node:latest",
files = {
"/app": "configs",
},
ports = {
"rpc": PortSpec(9933, transport_protocol = "TCP"),
},
cmd = exec_command,
entrypoint= ["/usr/local/bin/acala"]
)
plan.add_service(name = "acala-node", config = acala_service_config)
6 changes: 3 additions & 3 deletions parachain/mainnet-setup/bifrost.star
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
def run_bifrost_polkadot(plan):
def run_bifrost_kusama(plan):
exec_command = [
"--base-path=/data",
"--chain=/app/bifrost-polkadot.json",
"--chain=/app/bifrost-kusama.json",
"--ws-external",
"--rpc-external",
"--rpc-cors=all",
"--name=parachain-2001-0",
"--collator",
"--rpc-methods=unsafe",
"--force-authoring",
"--execution=wasm"
"--execution=wasm",
]
plan.add_service(
name = "bifrost",
Expand Down
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.

95 changes: 95 additions & 0 deletions parachain/static_files/configs/catalyst-spec.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.

30 changes: 30 additions & 0 deletions parachain/testnet-setup/altair.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
def run_altair(plan):
exec_command = [
"--chain=catalyst",
"--rpc-port=9933",
"--rpc-external",
"--rpc-cors=all",
"--rpc-methods=unsafe",
"--unsafe-ws-external",
"--execution=wasm",
"--tmp",
"--",
"--chain=rococo"
]
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)
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 6c4730d

Please sign in to comment.