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

Cannot pass data (static variables) when deploying contract #705

Closed
pizza-777 opened this issue Jun 6, 2022 · 1 comment
Closed

Cannot pass data (static variables) when deploying contract #705

pizza-777 opened this issue Jun 6, 2022 · 1 comment

Comments

@pizza-777
Copy link

Can I pass data (static variables) when deploying contract with tonos-cli?
If not, please add this ability.

@SilkovAlexander
Copy link
Contributor

Yes you can with tonos-cli genaddr command. It was poorly described in readme, I have updated it.
https://github.com/tonlabs/tonos-cli/tree/SilkovAlexander/update_readme#41-generate-contract-address
Just use --data <data> and --save options

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

No branches or pull requests

2 participants