Osmo

Osmo

Osmo can be accessed with the following coin types:

EnvironmentCoin TypeFaucet
Osmo Productionosmo
Osmo Testnettosmohttps://faucet.testnet.osmosis.zone

Explorer

https://www.mintscan.io/osmosis/

Generating wallets

To create a Osmo wallet using BitGoJS:

bitgo
  .coin('tosmo')
  .wallets()
  .generateWallet({
    label: 'My Test Wallet',
    passphrase: 'secretpassphrase1a5df8380e0e30',
  })
  .then(function (wallet) {
    // print the new wallet
    console.dir(wallet);
  });

To create a Osmo wallet using the platform API:

LABEL="My Test Wallet"
PASSPHRASE="secretpassphrase1a5df8380e0e30"

curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d "{ \"label\": \"$LABEL\", \"passphrase\": \"$PASSPHRASE\" }" \
http://$BITGO_EXPRESS_HOST/api/v2/tosmo/wallet/generate

Creating addresses

bitgo
  .coin('tosmo')
  .wallets()
  .getWallet({ id: '585c51a5df8380e0e3082e46' })
  .then(function (wallet) {
    return wallet.createAddress();
  })
  .then(function (newAddress) {
    // print new address details
    console.dir(newAddress);
  });
WALLET=585c51a5df8380e0e3082e46

curl -X POST \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://app.bitgo-test.com/api/v2/tosmo/wallet/$WALLET/address

Staking

  • Osmo supports staking. Osmo uses a delegated proof-of-stake (DPoS) consensus mechanism. Osmo holders can stake their tokens to validators.
  • Validators participate in consensus to produce new blocks and validate transactions.
  • By staking Osmo, holders can earn rewards.

Balances

The base unit of Osmo is uosmo (microosmo).

  • 1 osmo = 1,000,000 uosmo
  • 1 uosmo = 0.000001 osmo

To check the balance of a wallet:

const address = yield walletInstance.getAddress({ address: 'osmo15al6vq6yfyqwru5adaxd9ju5e46qpvxx345cyg' });
const bal = address.balance;
return bal;

Tokens

Osmo does not support tokens transactions.

Consolidation

We are supporting memo based addresses. Therefore, consolidation is not required.

Fee rate

The default gas fee is 0.028 osmo