import { client } from '@/client'; import { VALIDATOR_PRIVATEKEY } from '@/config/env'; import { Long } from '@bnb-chain/greenfield-js-sdk'; import { useAccount } from 'wagmi'; import { MsgSubmitProposal, MsgVote } from '@bnb-chain/greenfield-cosmos-types/cosmos/gov/v1/tx'; import { MsgCreateValidator, MsgEditValidator, } from '@bnb-chain/greenfield-cosmos-types/cosmos/staking/v1beta1/tx'; import { Any } from '@bnb-chain/greenfield-cosmos-types/google/protobuf/any'; import { PubKey } from '@bnb-chain/greenfield-cosmos-types/cosmos/crypto/ed25519/keys'; /** * decrpred */ export const Validator = () => { const { address, connector } = useAccount(); return ( <>

create validator


edit validator

); };