wallet-core icon indicating copy to clipboard operation
wallet-core copied to clipboard

Cosmos gov send proposals

Open enriquesouza opened this issue 2 months ago • 7 comments

I am developing a feature using WC and I am trying to find a way to send proposals to cosmos (DYDX) more specifically.

Therefore I could see we are able to vote. I am trying then to send via RAW JSON but it seems the operation isn't supported.

Is there any way of doing that?

{
                "title": "\(title)",
                "deposit": "\(deposit)",
                "summary": "\(summary)",
                "messages": [
                    {
                        "@type": "/cosmos.gov.v1.MsgExecLegacyContent",
                        "content": {
                            "@type": "/cosmos.gov.v1beta1.TextProposal",
                            "title": "\(contentTitle)",
                            "description": "\(contentDescription)"
                        },
                        "authority": "\(authority)"
                    }
                ]
            }

enriquesouza avatar Jun 14 '24 05:06 enriquesouza