Tutorials
Apply and improve your developer skills with hands-on tutorials. The examples run against Astroport's contracts on Terra and Neutron and use CosmJS.
- Network: connect to Terra and Neutron, query contracts and send transactions.
- Trading: swap in a pool and route swaps through several pools with Router 2.0.
- Farming: create pools, provide and withdraw liquidity, stake LP tokens in Incentives and claim rewards.
- Creating a Token: create a tokenfactory token on Terra or Neutron.
- Creating and Seeding a Pool: an end-to-end script that creates a pool and makes the first deposit.
- Swapping with CosmJS: an end-to-end swap script.
- Staking/Unstaking LP Tokens with CosmJS: an end-to-end staking script.
- Querying Oracle Prices: read recent prices from a pool.
Contract addresses are on the Contract Addresses page. Astroport is in long-term support: governance and ASTRO emissions are retired, so there are no governance or emissions tutorials.