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

How to customize a msg object #71

Open
zjx-github opened this issue Aug 8, 2024 · 0 comments
Open

How to customize a msg object #71

zjx-github opened this issue Aug 8, 2024 · 0 comments

Comments

@zjx-github
Copy link

When I came across the MsgLiquidStake object, I realized that it was not natively supported within the initia.js framework. This led me to ponder whether it's feasible to tailor an object specifically tailored to the content encapsulated within this MsgLiquidStake, akin to how the Application Binary Interface (ABI) of Ethereum Virtual Machine (EVM) smart contracts is dynamically generated by initia.js upon parsing the provided message.
Essentially, I'm exploring the possibility of constructing an object of a predetermined format, leveraging the information contained within the MsgLiquidStake message as a blueprint. This approach would essentially mimic the behavior of initia.js when it parses and generates objects based on ABI specifications, but in this case, it would be tailored to the unique structure and requirements of the MsgLiquidStake message.
In summary, I'm seeking a way to customize an object that adheres to a specific format, drawing inspiration from the content of MsgLiquidStake and leveraging the capabilities of initia.js (or potentially extending its functionality) to achieve this goal.

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