Osmosis
Generated on 28 Sep 2023 from the Osmosis catalog page
Osmosis is an advanced automated market maker (AMM) protocol that allows developers to build customized AMMs with sovereign liquidity pools. Built using the Cosmos SDK, Osmosis utilizes Inter-Blockchain Communication (IBC) to enable cross-chain transactions.
Software Included
Package | Version | License |
---|---|---|
Osmosis | 15.2.0 | Apache 2 |
Creating an App using the Control Panel
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
Creating an App using the API
In addition to creating a Droplet from the Osmosis 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Osmosis Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "osmosislabs-osmosis"}' \
"https://api.digitalocean.com/v2/droplets"
Getting Started After Deploying Osmosis
Interacting with the Osmosis Network Using the One-Click Droplet
Once the Osmosis One-Click Droplet is created, you can log into it as root
:
ssh root@your_droplet_public_ipv4
You are now running a client and can interact with the Osmosis network using the osmosisd
binary:
osmosisd status --node https://rpc.osmosis.zone:443
Joining mainnet
To join the osmosis-1
mainnet, run:
/root/join.sh
Joining testnet
To join the osmo-test-5
testnet, run:
/root/join.sh
Other setups
For all other setups, please run the Osmosis installer:
source <(curl -sL https://get.osmosis.zone/run)
.