Skip to main content

Generated Python types for Xion blockchain protocol buffers

Project description

xion-types

Generated multi-language types for the XION blockchain. All content is regenerated on each xion chain release — do not add manual code.

Languages

Language Output Published
TypeScript ts/ npm @burnt-labs/xion-types
Rust rust/ crates.io
Python python/ PyPI
Go via xion module directly
+ C, C++, C#, Java, Kotlin, Ruby, Swift, Scala <lang>/

How types are generated

Types are regenerated automatically on each xion chain release:

xion release tag
  → .github/workflows/generate-protobuf.yaml   (buf generate per language)
  → .github/workflows/publish-ts.yaml          (npm publish)
  → .github/workflows/publish-*.yaml           (other language registries)

Proto sources are pulled from BSR and configured in scripts/proto-sources.conf:

  • buf.build/cosmos/cosmos-sdk
  • buf.build/cosmwasm/wasmd
  • buf.build/cosmos/ibc
  • buf.build/burnt-labs/abstractaccount
  • buf.build/burnt-labs/xion

Regenerating manually

Requires buf CLI and internet access. No Go toolchain needed.

# Regenerate a specific language (e.g. ts)
XION_BSR_MODULE="buf.build/burnt-labs/xion:v28.1.0" ./scripts/proto-gen-ext.sh ts

# Regenerate all languages
XION_BSR_MODULE="buf.build/burnt-labs/xion:v26.0.0" ./scripts/proto-gen-ext.sh all

TypeScript

See ts/USAGE.md for import rules, the cosmjs bigint compatibility split, and how to use @burnt-labs/xion-types in xion.js projects.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xion_types-0.1.1.tar.gz (178.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xion_types-0.1.1-py3-none-any.whl (386.6 kB view details)

Uploaded Python 3

File details

Details for the file xion_types-0.1.1.tar.gz.

File metadata

  • Download URL: xion_types-0.1.1.tar.gz
  • Upload date:
  • Size: 178.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xion_types-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9f7c74b98a81d49544ba77dcc00af964d37a7cf28d11155282cfdc6d423cb198
MD5 cea4e8b99b6230f59314de36642cef72
BLAKE2b-256 4c092e4a54d7a178b7da7425519d5624b60151edf9c02d18a73704903e3b3b49

See more details on using hashes here.

File details

Details for the file xion_types-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: xion_types-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 386.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xion_types-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b730993eaa15e9f3b59f5a8a71111ba84c1109d0530e655b351a3e8ce0e1b2c
MD5 84d114f4dcf3a87eb0af7e6f748ebb07
BLAKE2b-256 04d98ebc5891b143d218a5fe31f826a90c593484d8a6a11e2bcd74f4eed4538d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page