Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.35 KB

File metadata and controls

42 lines (27 loc) · 1.35 KB

XION Contracts

Smart contract implementations for XION blockchain.

Contract Registry Notice

The XION deployed contracts registry has been moved to a dedicated repository:

🔗 burnt-labs/deployed-contract-listings

The new repository provides:

Please update your bookmarks and references to use the new location.

About This Repository

This repository contains the source code for smart contracts that can be deployed on XION, including:

Contracts

  • Account: MetaAccount implementation
  • Treasury: Treasury management contract
  • User Map: User mapping functionality

Compiling

To compile the contracts, use the CosmWasm optimizer:

docker run --rm -v "$(pwd)":/code \
  --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
  --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
  cosmwasm/optimizer:0.17.0

Development

For contract development and deployment information, please refer to the individual contract directories.