ignite / cli

Ignite is a CLI tool and hub designed for constructing Proof of Stake Blockchains rooted in Cosmos-SDK
https://ignite.com
Other
1.25k stars 550 forks source link

Consider adding `simulate` to js client wrapper #799

Open ilgooz opened 3 years ago

ilgooz commented 3 years ago

Add a simulate func to the generated js wrapper.

It'll be called by vuex. the func returns a gas. The returned gas then can be passed to signAndBroadcast. That way we give the possibility of confirming the fee by a max threshold configured in vuex or can be confirmed by the UI user before broadcasting.

Pretty much the same what we have in SPN client.

aljo242 commented 1 year ago

@clockworkgr do you see this functionality as relevant still? Would frontend users want something like this?