Skip to content

Commit

Permalink
add layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Mar 27, 2023
1 parent 717d319 commit 8d3649e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/docs/building-apps/03-protobuf-annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,29 @@ sidebar_position: 1
# ProtocolBuffer Annotations

This document explains the various protobuf scalars that have been added to make working with protobuf easier for Cosmos SDK application developers

## Scalars

(cosmos_proto.scalar) = "cosmos.AddressString";

## Interfaces

option (cosmos_proto.implements_interface) = "cosmos.auth.v1beta1.AccountI";

## Amino

### Name

option (amino.name) = "cosmos-sdk/BaseAccount";

### Field Name

(amino.field_name) = "public_key"

### Dont_OmitEmpty

(amino.dont_omitempty) = true,

### Encoding

(amino.encoding) = "legacy_coins",

0 comments on commit 8d3649e

Please sign in to comment.