Skip to content

Commit

Permalink
feat: implement kurtosis package for local setup of kintsungi paracha…
Browse files Browse the repository at this point in the history
…in (#30)

* feat: implement kurtosis package for local setup of kintsungi parachain

* refactor: change entrypoint to cmd and change port key value to ws

---------

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
abhiyana and shreyasbhat0 authored Oct 31, 2023
1 parent ef14454 commit d72e409
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions parachain/kintsungi.star
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
def run_kintsungi(plan,args):

exec_command = [
"--chain=dev",
"--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"
]
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
)
)

return service_details

0 comments on commit d72e409

Please sign in to comment.