On this page, we'll provide an example of how to sign and verify arbitrary data as per the ADR-036 specification on Cosmos.
You can use the generateArbitrarySignDoc function from @injectivelabs/sdk-ts to generate ADR-36 compatible signDoc. You can then use it to sign/verify using a browser wallet or in a CLI environment. Make sure you are using the latest package versions.