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-sdkbuf.build/cosmwasm/wasmdbuf.build/cosmos/ibcbuf.build/burnt-labs/abstractaccountbuf.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a5d6b9f11bc869c15eb0faa74ed20ef51e4c21720a12af734538a1a4c1f4617
|
|
| MD5 |
09f668c1bf36cf93594fd9d3cc9a2ee9
|
|
| BLAKE2b-256 |
011f8601c7eb8653bca52d04837bc8d8b7571827b477abb38d0bcec5030fcc91
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
186411ee49d4d9bd31cbea8f3deefc341837b6b8245185c879e45f732d354050
|
|
| MD5 |
fb4754ad4344cccf038c416381766b2a
|
|
| BLAKE2b-256 |
5033823029a15c2d7f79b4deacfb4b8fb82db50ef93abbbe085ef29292ffcc3c
|