cosmos-grpc-client 0.2.4

Cosmos grpc client with wallet integration
1
2
3
4
5
6
7
8
9
use cosmwasm_std::StdResult;

use crate::errors::IntoStdResult;

pub trait IntoSerdeSerialize: serde::Serialize {
    fn json_serialize(&self) -> StdResult<Vec<u8>> {
        serde_json::to_vec(self).into_std_result()
    }
}