A Golang implementation of the Umee network, a decentralized universal capital facility in the Cosmos ecosystem.
Umee is a Universal Capital Facility that can collateralize assets on one blockchain towards borrowing assets on another blockchain. The platform specializes in allowing staked assets from PoS blockchains to be used as collateral for borrowing across blockchains. The platform uses a combination of algorithmically determined interest rates based on market driven conditions. As a cross chain DeFi protocol, Umee will allow a multitude of decentralized debt products.
See Release procedure for more information about the release model.
Since umeed v3.2
there is a new runtime dependency: libwasmvm.x86_64.so v1.1.1
is required.
Building from source will automatically link the libwasmvm.x86_64.so
created as a part of the build process (you must build on same host as you run the binary, or copy the libwasmvm.x86_64.so
your lib directory).
Umee Version | Mainnet | Experimental | Cosmos SDK | IBC | Peggo | Price Feeder | Gravity Bridge |
---|---|---|---|---|---|---|---|
v0.8.x | ✗ | ✓ | v0.45.x | v2.0.x | v0.2.x | v0.1.x | |
v1.x.x | ✓ | ✗ | v0.45.x | v2.0.x | v0.2.x | N/A | umee/v1 module/v1.4.x-umee |
v2.x.x | ✗ | ✓ | v0.45.x | v2.3.x | v0.2.x | v0.2.x | umee/v2 module/v1.4.x |
v3.0-1.x | ✓ | ✗ | v0.46.x | v5.0.x | v1.3.x+ | v1.0.x | umee/v3 module/v1.5.x-umee |
v3.1.0-cw1 | ✗ | ✓ | v0.46.x | v5.0.x | v1.3.x+ | v2.0.x | umee/v3 module/v1.5.x-umee |
v3.2.x | ✓ | ✗ | v0.46.6+ | v5.1.x | v1.3.x+ | v2.0.x | umee/v3 v1.5.3-umee-3 |
v3.3.x | ✓ | ✗ | v0.46.6+ | v5.1.x | v1.3.x+ | v2.0.2 | umee/v3 v1.5.3-umee-3 |
v4.0.x | ✓ | ✗ | v0.46.6+ | v5.1.x | v1.3.x+ | v2.0.3 | umee/v4 v1.5.3-umee-4 |
v4.1.x | ✓ | ✗ | v0.46.7+ | v5.2.x | v1.3.x+ | v2.1.0 | umee/v4 v1.5.3-umee-4 |
To install the umeed
binary:
$ make install
- To enable it, modify the node config at
$UMEE_HOME/config/app.toml
toapi.swagger
true
- Run the node normally
umeed start
- Enter the swagger docs
http://localhost:1317/swagger/
Docs Note:
cosmovisor
only works for upgrades in theumeed
, for off-chain processes updates likepeggo
orprice-feeder
, manual steps are required.
-
cosmovisor
is a small process manager for Cosmos SDK application binaries that monitors the governance module for incoming chain upgrade proposals. If it sees a proposal that gets approved,cosmovisor
can automatically download the new binary, stop the current binary, switch from the old binary to the new one, and finally restart the node with the new binary. -
Install it with go
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@latest
- For the usual use of
cosmovisor
, we recommend setting theses env variables
export DAEMON_NAME=umeed
export DAEMON_HOME={NODE_HOME}
export DAEMON_RESTART_AFTER_UPGRADE=true
export DAEMON_ALLOW_DOWNLOAD_BINARIES=true
export DAEMON_PREUPGRADE_MAX_RETRIES=3
- If you didn't build binary from source in the machine, you have to download the respective
libwasmvm
into your machine.
$ wget https://raw.githubusercontent.com/CosmWasm/wasmvm/v1.1.1/internal/api/libwasmvm.$(uname -m).so -O /lib/libwasmvm.$(uname -m).so
- To use
cosmovisor
for startingumeed
process, instead of callingumeed start
, usecosmovisor run start [umeed flags]