Task Summary
Currently, we cannot provide any arguments for the contract constructor method from the ModalCreateDapps.vue component. We should allow the user to pass the arguments (even if it's just in raw string input that is converted inside the app) when instantiating a new contract.
Additionally, when we want to add a contract from a code hash, we need to provide the metadata.json (ABI) file for it. Right now it only accepts raw string input, but let's improve this so that the user can upload the json file directly.
Task List
Task Summary
Currently, we cannot provide any arguments for the contract
constructormethod from theModalCreateDapps.vuecomponent. We should allow the user to pass the arguments (even if it's just in raw string input that is converted inside the app) when instantiating a new contract.Additionally, when we want to add a contract from a code hash, we need to provide the
metadata.json(ABI) file for it. Right now it only accepts raw string input, but let's improve this so that the user can upload thejsonfile directly.Task List
allow users to input contract constructor arguments when instantiating a new contract (the

newmethod) https://github.com/PlasmNetwork/plasm-apps-vue/blob/45381bafb72eabba103bff0cae0b12a9dba092c2/src/components/dapps/ModalCreateDapps.vue#L288allow users to pass arguments for contract methods or fetch contract stores. We may want to create a contract modal that renders all interactable messages if we want this feature to be extendible. If this task takes too long, we'll separate this into its own issue and skip this one for the initial launch.
change the balance input component format for

Endowment (UNIT)andMax gas allowedso that it matches the style of ones in theTransfer <Token>modal. The input box should allow the users to choose a different token metric or use decimal strings https://github.com/PlasmNetwork/plasm-apps-vue/blob/45381bafb72eabba103bff0cae0b12a9dba092c2/src/components/dapps/ModalCreateDapps.vue#L140allow the user to upload the

metadata.jsonfile instead of pasting the full JSON string when adding a contract code hash and switch the location for the bundle name and code hash input box https://github.com/PlasmNetwork/plasm-apps-vue/blob/45381bafb72eabba103bff0cae0b12a9dba092c2/src/components/dapps/ModalCodeHash.vue#L55