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-29.0.0rc1.tar.gz (178.6 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-29.0.0rc1-py3-none-any.whl (386.7 kB view details)

Uploaded Python 3

File details

Details for the file xion_types-29.0.0rc1.tar.gz.

File metadata

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

File hashes

Hashes for xion_types-29.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 9a5d6b9f11bc869c15eb0faa74ed20ef51e4c21720a12af734538a1a4c1f4617
MD5 09f668c1bf36cf93594fd9d3cc9a2ee9
BLAKE2b-256 011f8601c7eb8653bca52d04837bc8d8b7571827b477abb38d0bcec5030fcc91

See more details on using hashes here.

File details

Details for the file xion_types-29.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: xion_types-29.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 386.7 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-29.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 186411ee49d4d9bd31cbea8f3deefc341837b6b8245185c879e45f732d354050
MD5 fb4754ad4344cccf038c416381766b2a
BLAKE2b-256 5033823029a15c2d7f79b4deacfb4b8fb82db50ef93abbbe085ef29292ffcc3c

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