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

Write deployment and activation transaction hex data to a file #100

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kairoski03
Copy link

Description

An option has been added to write the hex value of the bytecode for deployment transactions to a file when running the cargo check command.
cargo stylus c -e https://sepolia-rollup.arbitrum.io/rpc --output deployment_tx.txt

Additionally, the activation-tx command has been introduced to output or write the activation transaction bytecode hex to a file.
cargo stylus activation-tx --address 0x6b48549bF9Bf2e507c745Abc9Ad7b66d48B15025 --output activation_tx.txt

These features are currently being used when deploying Arbitrum Stylus contracts in Remix through the CODE BY WELLDONE STUDIO plugin. They will also be useful for developers building development tools.

Checklist

  • I have documented these changes where necessary.
  • I have read the DCO and ensured that these changes comply.
  • I assign this work under its open source licensing.

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.

1 participant