Skip to main content

xion-types

Auto-generated, multi-language client types for the XION blockchain. Regenerated on every xion release — do not edit generated files; improve the tooling instead.

Languages

Language Output Published as
TypeScript ts/ npm @burnt-labs/xion-types
Python python/ PyPI xion-types
Rust rust/ crates.io xion-types
Ruby ruby/ RubyGems xion_types
Kotlin kotlin/ Maven Central io.github.burnt-labs:xion-types-kotlin
Swift swift/ CocoaPods XionTypes
C, C++, C#, Java, Objective-C, PHP, Scala <lang>/ — (generated, unpublished)

Proto-derived reference docs are generated into docs/.

Proto sources

Sources are pulled from BSR at generation time — no git submodules required. Configured in scripts/proto-sources.conf:

  • github.com/cosmos/ibc-apps (packet-forward-middleware, git)
  • buf.build/cosmos/ibc
  • buf.build/cosmwasm/wasmd
  • buf.build/cosmos/cosmos-sdk
  • buf.build/burnt-labs/abstractaccount
  • buf.build/burnt-labs/tokenfactory
  • buf.build/burnt-labs/xion (pinnable via BSR_MODULE / XION_BSR_MODULE)

Xion contracts (TypeScript client types only) are fetched from burnt-labs/contracts at release time.

How releases happen

xion release published
   └─▶ release.yaml            generate all languages in parallel, open PR, enable auto-merge
       └─▶ auto-tag.yaml       on merge: cut v0.<xion_major>.<patch>-<xion_short>-<contracts_short>
           └─▶ publish.yaml    fan out to publish-{ts,python,rust,ruby,kotlin,swift}.yaml

See .github/workflows/README.md for the full workflow reference and tag scheme.

Regenerating locally

Requires Docker (builds a pinned proto-builder image). No Go or language toolchains needed on the host.

# One language, specific xion version
make proto-gen-ts BSR_MODULE=buf.build/burnt-labs/xion:v29.0.0

# Any language: c, cpp, csharp, docs, java, kotlin, objc, php, python, ruby, rust, scala, swift, ts
make proto-gen-python

Without Docker, ./scripts/proto-gen-ext.sh <lang> works too, but requires buf and each language's plugins on $PATH.

TypeScript usage

See ts/USAGE.md for import rules, the cosmjs bigint-compatibility split, and integration with xion.js.

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.2.tar.gz (179.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-0.1.2-py3-none-any.whl (387.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xion_types-0.1.2.tar.gz
  • Upload date:
  • Size: 179.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xion_types-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d95d0fcc419d71c37fb6a7a78c8e1b64e0459d76827b89be05967118763485d7
MD5 6f0a8ca72bbc3a82cf90bdad604588ab
BLAKE2b-256 46ad400684e56ead912c2d7c0a4c88cfb16e3a8f9a388d3d736dbe0bbc58dfb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xion_types-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 387.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xion_types-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ac09d104d79a5484bc0d75e78a70d9558ce526bce2a44ac1c062b156f527ea1d
MD5 e21e3bfd201c2346564864fa8ebcc591
BLAKE2b-256 9a108963bbd318e3eccdbf1b07a19a9ad9b17e57ff30a177b9cfd6a1b00094dc

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page