Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(proto): add archway-proto crate #18

Merged
merged 17 commits into from
Oct 13, 2023
Merged

feat(proto): add archway-proto crate #18

merged 17 commits into from
Oct 13, 2023

Conversation

aelesbao
Copy link
Member

@aelesbao aelesbao commented Oct 13, 2023

Rust build of Archway's ProtoBuf definitions.

This package can be used both in CosmWasm smart contracts and gRPC clients. It is based on the cosmos-sdk-proto v0.18.0 crate to provide the Cosmos SDK v0.45.x messages and follows the same feature definitions, with the tonic gRPC clients enabled by default.

Usage

In CosmWasm smart contracts

archway-proto = { version = "0.1.0", default-features = false, features = ["cosmwasm"] }

For the gRPC client functionality (won't work in CosmWasm)

archway-proto = "0.1.0"

@aelesbao aelesbao merged commit 3da2b00 into main Oct 13, 2023
@aelesbao aelesbao deleted the feat/proto branch October 13, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant