Practical overview
When it fits
Use Astroport Core when you need contract-level AMM building blocks or want to inspect and build the components behind pool creation, swaps, routing and related tokenomics.
Who it is for
- Developers building or adapting automated market-maker contracts.
- Teams evaluating pool types, multi-hop routing or liquidity-reward and staking components.
Documented uses
- Create pools through a factory and select among documented pool designs.
- Route trades across multiple pools.
- Distribute liquidity-provider incentives and manage fee-collection flows.
- Build and test the repository's Rust smart contracts.
Requirements & limits
The repository is public and identifies GPL-3.0 as its license.
- Pool choices include constant-product, stable-swap, concentrated-liquidity, constant-sum and taxed XYK designs.
- The repository names Terra, Injective, Neutron and Osmosis as protocol ecosystems.
- Deployment version and commit information is pointed to in the Astroport changelog.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Build and test Astroport Core contracts
Compile a contract, run the repository test suite, or create the documented optimized build.
Before you start
- Rust 1.68.0 or later
- The wasm32-unknown-unknown target installed
Steps
From the directory of a contract, run the command below to compile it.
cargo wasmFrom the repository root, run the command below to run tests for all contracts.
cargo testFrom the repository root, run
./scripts/build_release.shto create a production-oriented compressed build.
Expected outcome
The optimized contracts are generated in the artifacts/ directory. The README also describes a contract-level Wasm compilation workflow.
Guide limitations
- The repository instructions do not establish deployment steps or network-specific compatibility.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 9 October 2026
- Original website title
- astroport-fi/astroport-core · Official homepage title · retained in its source language

