Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-requisites starter script #51

Closed
muddlebee opened this issue Dec 30, 2023 · 5 comments
Closed

pre-requisites starter script #51

muddlebee opened this issue Dec 30, 2023 · 5 comments

Comments

@muddlebee
Copy link

https://github.com/scio-labs/inkathon?tab=readme-ov-file#2-build--deploy-contracts-on-a-local-node

image

script to automate installation of all the pre-requisites

@muddlebee
Copy link
Author

for substrate-contracts-node

can write a script to fetch the binary and untar it from https://github.com/paritytech/substrate-contracts-node/releases and can run directly from the binary
./substrate-contracts-node --dev

@wottpal
Copy link
Member

wottpal commented Jan 5, 2024

Hey @muddlebee, great suggestion. May I ask what platform you are running on? In my experience it's quite hard to get such scripts right (w/o lots of efforts) and work seemlessly in different environments (operating systems, rust versions, shells, etc.). Wdyt?

@muddlebee
Copy link
Author

muddlebee commented Jan 7, 2024

@wottpal I use wsl. Yes you are right quite tedious to maintain such utility script.

However we can add commands for cargo contract installation and for cargo contract node it can downloaded the latest binary and run it for local simulation, steps mentioned here

@ical10
Copy link
Contributor

ical10 commented Jan 25, 2024

This might be solved using the Dockerfile for contracts here. You can just run the Dockerfile regardless of the platform you're running on.

@wottpal
Copy link
Member

wottpal commented Jan 26, 2024

That's actually a good point, @ical10! Will close this.

@wottpal wottpal closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants