You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @deuszx , thank you for the suggestion! Yes, I think we can consider adding that. I also thought about some auto-deploy functionality where you can just make some simple JSON file, with all the necessary data, init value etc. And by running some typechain deploy it will go through all contracts and deploy them with init, and then you just need to connect to the contract by the address provided. Would it be useful?
@varex83 For some use-cases, most probably yes, but I want to control the moment it's uploaded myself. Currently I'm writing deployment pipelines in TS and upload manually precisely when I need it so the auto-deploy feature would not be useful to me at least.
It would be nice to have a DSL to upload code to chain like we have for
new
.Consider the code that uploads and initialises (called
new
in this lib parle):The code above will do both: upload the
my_contract
contract and callnew
constructor on it.But sometimes we want to just upload and that's not available directly on any of the types. We have to
I think it's clear why I'd prefer to write:
The text was updated successfully, but these errors were encountered: