Osmosis Neon major release brings new features and improvements to smart contract development on Osmosis.
Cosmwasm <> IBC Composability Work
Added hooks that provide sender information when transferring tokens to a contract between chains. This for instance suffices for someone to build ICA via cosmwasm. Added the ability for IBC contracts to register a callback that forwards into a smart contract. This work is stand-alone importable by other chains, to help this composability become more standard in the interchain.
Downtime Detection Tooling
This module detects if the Osmosis chain has been down for a period of time, allowing users of price oracles to wait until any price differential between on-chain liquidity and wider liquidity has been arbitraged away.
Geometric TWAP
Geometric Time Weighted Average Price (TWAP) is now available as a price oracle for pools. Geometric TWAPs should theoretically be more accurate in measuring the actual price over time of a pool than the more commonly used, but also available, Arithmetic mean TWAP.
Other Improvements
In addition to the above features, this release includes an upgrade to IBC v4.2.0 and wasmd v0.30.x, as well as a update to the go build version to go 1.19.
What Changed
See the full changelog here
Usage
🐳 Docker
The following Docker images are available in our registry:
Image | Description |
---|---|
osmolabs/osmosis:14.0.0
| Default image. Based on Distroless image |
osmolabs/osmosis:14.0.0-distroless
| Distroless image (same as above) |
osmolabs/osmosis:14.0.0-nonroot
| Distroless non root image |
osmolabs/osmosis:14.0.0-alpine
| Alpine image |
Example:
docker run osmolabs/osmosis:14.0.0 version
# v14.0.0
All the images have support for arm64
and amd64
architectures.
🔨 Build from source
git clone https://github.com/osmosis-labs/osmosis
cd osmosis && git checkout v14.0.0
make install
⚡️ Download binaries
Binaries for linux amd64 and arm64 are available below.
Darwin users should build binaries from source.