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

Instantiate #10

Closed
27 tasks done
Tracked by #7
iboss-ptk opened this issue May 19, 2022 · 0 comments
Closed
27 tasks done
Tracked by #7

Instantiate #10

iboss-ptk opened this issue May 19, 2022 · 0 comments
Assignees

Comments

@iboss-ptk
Copy link
Collaborator

iboss-ptk commented May 19, 2022

$ membrane wasm instantiate counter --raw '{ "counter": 0 }' # imply --label default
$ membrane wasm instantiate counter --raw '{ "counter": 0 }' --label "sth"

# won't work with --code-id
$ membrane wasm instantiate counter # use counter/instantiate-msgs/default.json
$ membrane wasm instantiate counter one # use counter/instantiate-msgs/one.json, imply --name "one"
  • instantiate with raw string
    • without name
      • test request (let's try cosmwasm js)
      • save address
      • check if same label can use twice or not?
      • return instantiate response
      • refactor
        • shared arguments
          • create SignerArg
          • implement SignerArg method
          • create GasArg
          • Implement GasArg method
          • compute fee logic before passing into ops (-> fix too many args)
          • create coin.rs
          • parse denom from gas input
          • remove denom global config
        • add gas input
        • shared logic
        • format result
          • Event formatter (create support/format)
          • marcro for formatter
          • Add important info, implications to result: address, code_id, label, creator, admin, (ibc_port_id could be separated part, IBC support)
    • with label
  • instantiate with file
    • default.json
    • {label}.json
  • fill all the mnemonics
@iboss-ptk iboss-ptk moved this to Todo in CosmWasm Ecosystem May 19, 2022
@iboss-ptk iboss-ptk self-assigned this May 23, 2022
@iboss-ptk iboss-ptk moved this from Todo to In Progress in CosmWasm Ecosystem May 23, 2022
Repository owner moved this from In Progress to Done in CosmWasm Ecosystem May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant