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

[Question] If I deploy smart contract 2 times - how can I interact with first one deploy? #410

Closed
zhil opened this issue Oct 12, 2024 · 1 comment

Comments

@zhil
Copy link

zhil commented Oct 12, 2024

After I deploy smart contract using

near deploy <created-account> build/hello_near.wasm

I may use it like

near view <created-account> get_greeting

But I cant understand, where did CLI save contract address.
Question - If I deploy smart contract 2 times - how can I interact with first one deploy?

@zhil
Copy link
Author

zhil commented Oct 24, 2024

the most simple way would be just to remove and redeploy contract
#109

@zhil zhil closed this as completed Oct 24, 2024
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

1 participant