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

Add Nitro Dev Node script with automatic chain ownership and Cache Manager deployment #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mahsamoosavi
Copy link
Collaborator

This PR creates a script to start a Nitro dev node and automatically deploy the Stylus Cache Manager contract for testing purposes. Key features include:

  • Nitro dev node setup: The script uses Docker to start the Nitro dev node in --dev mode.
  • Automatic chain ownership: The pre-funded dev account is automatically set as the chain owner using the becomeChainOwner() function, necessary for performing critical functions like registering the Cache Manager.
  • Cache Manager deployment: The script deploys the Stylus Cache Manager contract and registers it as a WASM cache manager on the local Nitro network.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
run_dev_node.sh Outdated Show resolved Hide resolved
run_dev_node.sh Outdated Show resolved Hide resolved
run_dev_node.sh Outdated Show resolved Hide resolved
run_dev_node.sh Outdated Show resolved Hide resolved
run_dev_node.sh Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants