GitHub Workflow Status Codecov branch Pub Version GitHub

Alan.dart is a pure Dart package allowing you to easily integrate your Dart-based project with any Cosmos-based blockchain.

You can find the documentation on the official website.

Cosmos-SDK compatibility table

Over time, we developed different versions of this library to be compatible with multiple Cosmos SDK releases. Following you can find the compatibility table that indicates which version you should use:

Cosmos SDK version(s) Alan.dart version
v0.40.x, v0.41.x, v0.42.x v0.40.x
v0.45.x v0.41.x

Getting started

To start using this library inside your project, just edit your pubspec.yml file adding the following lines:

dependencies:
  alan: <version>

The latest available version is:
Pub Version

You can even use a specific GitHub tag or branch if you want:

dependencies:
  alan:
    git:
      url: git://github.com/alan-sdk/alan.dart.git
      ref: <branch or tag>

Libraries

alan
codec/codec
codec/export
proto/confio/export
proto/confio/proofs.pb
proto/confio/proofs.pbenum
proto/confio/proofs.pbjson
proto/cosmos/auth/v1beta1/auth.pb
proto/cosmos/auth/v1beta1/auth.pbenum
proto/cosmos/auth/v1beta1/auth.pbjson
proto/cosmos/auth/v1beta1/export
proto/cosmos/auth/v1beta1/genesis.pb
proto/cosmos/auth/v1beta1/genesis.pbenum
proto/cosmos/auth/v1beta1/genesis.pbjson
proto/cosmos/auth/v1beta1/query.pb
proto/cosmos/auth/v1beta1/query.pbenum
proto/cosmos/auth/v1beta1/query.pbgrpc
proto/cosmos/auth/v1beta1/query.pbjson
proto/cosmos/authz/v1beta1/authz.pb
proto/cosmos/authz/v1beta1/authz.pbenum
proto/cosmos/authz/v1beta1/authz.pbjson
proto/cosmos/authz/v1beta1/event.pb
proto/cosmos/authz/v1beta1/event.pbenum
proto/cosmos/authz/v1beta1/event.pbjson
proto/cosmos/authz/v1beta1/export
proto/cosmos/authz/v1beta1/genesis.pb
proto/cosmos/authz/v1beta1/genesis.pbenum
proto/cosmos/authz/v1beta1/genesis.pbjson
proto/cosmos/authz/v1beta1/query.pb
proto/cosmos/authz/v1beta1/query.pbenum
proto/cosmos/authz/v1beta1/query.pbgrpc
proto/cosmos/authz/v1beta1/query.pbjson
proto/cosmos/authz/v1beta1/tx.pb
proto/cosmos/authz/v1beta1/tx.pbenum
proto/cosmos/authz/v1beta1/tx.pbgrpc
proto/cosmos/authz/v1beta1/tx.pbjson
proto/cosmos/bank/v1beta1/authz.pb
proto/cosmos/bank/v1beta1/authz.pbenum
proto/cosmos/bank/v1beta1/authz.pbjson
proto/cosmos/bank/v1beta1/bank.pb
proto/cosmos/bank/v1beta1/bank.pbenum
proto/cosmos/bank/v1beta1/bank.pbjson
proto/cosmos/bank/v1beta1/export
proto/cosmos/bank/v1beta1/genesis.pb
proto/cosmos/bank/v1beta1/genesis.pbenum
proto/cosmos/bank/v1beta1/genesis.pbjson
proto/cosmos/bank/v1beta1/query.pb
proto/cosmos/bank/v1beta1/query.pbenum
proto/cosmos/bank/v1beta1/query.pbgrpc
proto/cosmos/bank/v1beta1/query.pbjson
proto/cosmos/bank/v1beta1/tx.pb
proto/cosmos/bank/v1beta1/tx.pbenum
proto/cosmos/bank/v1beta1/tx.pbgrpc
proto/cosmos/bank/v1beta1/tx.pbjson
proto/cosmos/base/abci/v1beta1/abci.pb
proto/cosmos/base/abci/v1beta1/abci.pbenum
proto/cosmos/base/abci/v1beta1/abci.pbjson
proto/cosmos/base/abci/v1beta1/export
proto/cosmos/base/kv/v1beta1/export
proto/cosmos/base/kv/v1beta1/kv.pb
proto/cosmos/base/kv/v1beta1/kv.pbenum
proto/cosmos/base/kv/v1beta1/kv.pbjson
proto/cosmos/base/query/v1beta1/export
proto/cosmos/base/query/v1beta1/pagination.pb
proto/cosmos/base/query/v1beta1/pagination.pbenum
proto/cosmos/base/query/v1beta1/pagination.pbjson
proto/cosmos/base/reflection/v1beta1/export
proto/cosmos/base/reflection/v1beta1/reflection.pb
proto/cosmos/base/reflection/v1beta1/reflection.pbenum
proto/cosmos/base/reflection/v1beta1/reflection.pbgrpc
proto/cosmos/base/reflection/v1beta1/reflection.pbjson
proto/cosmos/base/reflection/v2alpha1/export
proto/cosmos/base/reflection/v2alpha1/reflection.pb
proto/cosmos/base/reflection/v2alpha1/reflection.pbenum
proto/cosmos/base/reflection/v2alpha1/reflection.pbgrpc
proto/cosmos/base/reflection/v2alpha1/reflection.pbjson
proto/cosmos/base/snapshots/v1beta1/export
proto/cosmos/base/snapshots/v1beta1/snapshot.pb
proto/cosmos/base/snapshots/v1beta1/snapshot.pbenum
proto/cosmos/base/snapshots/v1beta1/snapshot.pbjson
proto/cosmos/base/store/v1beta1/commit_info.pb
proto/cosmos/base/store/v1beta1/commit_info.pbenum
proto/cosmos/base/store/v1beta1/commit_info.pbjson
proto/cosmos/base/store/v1beta1/export
proto/cosmos/base/store/v1beta1/listening.pb
proto/cosmos/base/store/v1beta1/listening.pbenum
proto/cosmos/base/store/v1beta1/listening.pbjson
proto/cosmos/base/tendermint/v1beta1/export
proto/cosmos/base/tendermint/v1beta1/query.pb
proto/cosmos/base/tendermint/v1beta1/query.pbenum
proto/cosmos/base/tendermint/v1beta1/query.pbgrpc
proto/cosmos/base/tendermint/v1beta1/query.pbjson
proto/cosmos/base/v1beta1/coin.pb
proto/cosmos/base/v1beta1/coin.pbenum
proto/cosmos/base/v1beta1/coin.pbjson
proto/cosmos/base/v1beta1/export
proto/cosmos/capability/v1beta1/capability.pb
proto/cosmos/capability/v1beta1/capability.pbenum
proto/cosmos/capability/v1beta1/capability.pbjson
proto/cosmos/capability/v1beta1/export
proto/cosmos/capability/v1beta1/genesis.pb
proto/cosmos/capability/v1beta1/genesis.pbenum
proto/cosmos/capability/v1beta1/genesis.pbjson
proto/cosmos/crisis/v1beta1/export
proto/cosmos/crisis/v1beta1/genesis.pb
proto/cosmos/crisis/v1beta1/genesis.pbenum
proto/cosmos/crisis/v1beta1/genesis.pbjson
proto/cosmos/crisis/v1beta1/tx.pb
proto/cosmos/crisis/v1beta1/tx.pbenum
proto/cosmos/crisis/v1beta1/tx.pbgrpc
proto/cosmos/crisis/v1beta1/tx.pbjson
proto/cosmos/crypto/ed25519/export
proto/cosmos/crypto/ed25519/keys.pb
proto/cosmos/crypto/ed25519/keys.pbenum
proto/cosmos/crypto/ed25519/keys.pbjson
proto/cosmos/crypto/multisig/export
proto/cosmos/crypto/multisig/keys.pb
proto/cosmos/crypto/multisig/keys.pbenum
proto/cosmos/crypto/multisig/keys.pbjson
proto/cosmos/crypto/multisig/v1beta1/export
proto/cosmos/crypto/multisig/v1beta1/multisig.pb
proto/cosmos/crypto/multisig/v1beta1/multisig.pbenum
proto/cosmos/crypto/multisig/v1beta1/multisig.pbjson
proto/cosmos/crypto/secp256k1/export
proto/cosmos/crypto/secp256k1/keys.pb
proto/cosmos/crypto/secp256k1/keys.pbenum
proto/cosmos/crypto/secp256k1/keys.pbjson
proto/cosmos/crypto/secp256r1/export
proto/cosmos/crypto/secp256r1/keys.pb
proto/cosmos/crypto/secp256r1/keys.pbenum
proto/cosmos/crypto/secp256r1/keys.pbjson
proto/cosmos/distribution/v1beta1/distribution.pb
proto/cosmos/distribution/v1beta1/distribution.pbenum
proto/cosmos/distribution/v1beta1/distribution.pbjson
proto/cosmos/distribution/v1beta1/export
proto/cosmos/distribution/v1beta1/genesis.pb
proto/cosmos/distribution/v1beta1/genesis.pbenum
proto/cosmos/distribution/v1beta1/genesis.pbjson
proto/cosmos/distribution/v1beta1/query.pb
proto/cosmos/distribution/v1beta1/query.pbenum
proto/cosmos/distribution/v1beta1/query.pbgrpc
proto/cosmos/distribution/v1beta1/query.pbjson
proto/cosmos/distribution/v1beta1/tx.pb
proto/cosmos/distribution/v1beta1/tx.pbenum
proto/cosmos/distribution/v1beta1/tx.pbgrpc
proto/cosmos/distribution/v1beta1/tx.pbjson
proto/cosmos/evidence/v1beta1/evidence.pb
proto/cosmos/evidence/v1beta1/evidence.pbenum
proto/cosmos/evidence/v1beta1/evidence.pbjson
proto/cosmos/evidence/v1beta1/export
proto/cosmos/evidence/v1beta1/genesis.pb
proto/cosmos/evidence/v1beta1/genesis.pbenum
proto/cosmos/evidence/v1beta1/genesis.pbjson
proto/cosmos/evidence/v1beta1/query.pb
proto/cosmos/evidence/v1beta1/query.pbenum
proto/cosmos/evidence/v1beta1/query.pbgrpc
proto/cosmos/evidence/v1beta1/query.pbjson
proto/cosmos/evidence/v1beta1/tx.pb
proto/cosmos/evidence/v1beta1/tx.pbenum
proto/cosmos/evidence/v1beta1/tx.pbgrpc
proto/cosmos/evidence/v1beta1/tx.pbjson
proto/cosmos/feegrant/v1beta1/export
proto/cosmos/feegrant/v1beta1/feegrant.pb
proto/cosmos/feegrant/v1beta1/feegrant.pbenum
proto/cosmos/feegrant/v1beta1/feegrant.pbjson
proto/cosmos/feegrant/v1beta1/genesis.pb
proto/cosmos/feegrant/v1beta1/genesis.pbenum
proto/cosmos/feegrant/v1beta1/genesis.pbjson
proto/cosmos/feegrant/v1beta1/query.pb
proto/cosmos/feegrant/v1beta1/query.pbenum
proto/cosmos/feegrant/v1beta1/query.pbgrpc
proto/cosmos/feegrant/v1beta1/query.pbjson
proto/cosmos/feegrant/v1beta1/tx.pb
proto/cosmos/feegrant/v1beta1/tx.pbenum
proto/cosmos/feegrant/v1beta1/tx.pbgrpc
proto/cosmos/feegrant/v1beta1/tx.pbjson
proto/cosmos/genutil/v1beta1/export
proto/cosmos/genutil/v1beta1/genesis.pb
proto/cosmos/genutil/v1beta1/genesis.pbenum
proto/cosmos/genutil/v1beta1/genesis.pbjson
proto/cosmos/gov/v1beta1/export
proto/cosmos/gov/v1beta1/genesis.pb
proto/cosmos/gov/v1beta1/genesis.pbenum
proto/cosmos/gov/v1beta1/genesis.pbjson
proto/cosmos/gov/v1beta1/gov.pb
proto/cosmos/gov/v1beta1/gov.pbenum
proto/cosmos/gov/v1beta1/gov.pbjson
proto/cosmos/gov/v1beta1/query.pb
proto/cosmos/gov/v1beta1/query.pbenum
proto/cosmos/gov/v1beta1/query.pbgrpc
proto/cosmos/gov/v1beta1/query.pbjson
proto/cosmos/gov/v1beta1/tx.pb
proto/cosmos/gov/v1beta1/tx.pbenum
proto/cosmos/gov/v1beta1/tx.pbgrpc
proto/cosmos/gov/v1beta1/tx.pbjson
proto/cosmos/mint/v1beta1/export
proto/cosmos/mint/v1beta1/genesis.pb
proto/cosmos/mint/v1beta1/genesis.pbenum
proto/cosmos/mint/v1beta1/genesis.pbjson
proto/cosmos/mint/v1beta1/mint.pb
proto/cosmos/mint/v1beta1/mint.pbenum
proto/cosmos/mint/v1beta1/mint.pbjson
proto/cosmos/mint/v1beta1/query.pb
proto/cosmos/mint/v1beta1/query.pbenum
proto/cosmos/mint/v1beta1/query.pbgrpc
proto/cosmos/mint/v1beta1/query.pbjson
proto/cosmos/params/v1beta1/export
proto/cosmos/params/v1beta1/params.pb
proto/cosmos/params/v1beta1/params.pbenum
proto/cosmos/params/v1beta1/params.pbjson
proto/cosmos/params/v1beta1/query.pb
proto/cosmos/params/v1beta1/query.pbenum
proto/cosmos/params/v1beta1/query.pbgrpc
proto/cosmos/params/v1beta1/query.pbjson
proto/cosmos/slashing/v1beta1/export
proto/cosmos/slashing/v1beta1/genesis.pb
proto/cosmos/slashing/v1beta1/genesis.pbenum
proto/cosmos/slashing/v1beta1/genesis.pbjson
proto/cosmos/slashing/v1beta1/query.pb
proto/cosmos/slashing/v1beta1/query.pbenum
proto/cosmos/slashing/v1beta1/query.pbgrpc
proto/cosmos/slashing/v1beta1/query.pbjson
proto/cosmos/slashing/v1beta1/slashing.pb
proto/cosmos/slashing/v1beta1/slashing.pbenum
proto/cosmos/slashing/v1beta1/slashing.pbjson
proto/cosmos/slashing/v1beta1/tx.pb
proto/cosmos/slashing/v1beta1/tx.pbenum
proto/cosmos/slashing/v1beta1/tx.pbgrpc
proto/cosmos/slashing/v1beta1/tx.pbjson
proto/cosmos/staking/v1beta1/authz.pb
proto/cosmos/staking/v1beta1/authz.pbenum
proto/cosmos/staking/v1beta1/authz.pbjson
proto/cosmos/staking/v1beta1/export
proto/cosmos/staking/v1beta1/genesis.pb
proto/cosmos/staking/v1beta1/genesis.pbenum
proto/cosmos/staking/v1beta1/genesis.pbjson
proto/cosmos/staking/v1beta1/query.pb
proto/cosmos/staking/v1beta1/query.pbenum
proto/cosmos/staking/v1beta1/query.pbgrpc
proto/cosmos/staking/v1beta1/query.pbjson
proto/cosmos/staking/v1beta1/staking.pb
proto/cosmos/staking/v1beta1/staking.pbenum
proto/cosmos/staking/v1beta1/staking.pbjson
proto/cosmos/staking/v1beta1/tx.pb
proto/cosmos/staking/v1beta1/tx.pbenum
proto/cosmos/staking/v1beta1/tx.pbgrpc
proto/cosmos/staking/v1beta1/tx.pbjson
proto/cosmos/tx/signing/v1beta1/export
proto/cosmos/tx/signing/v1beta1/signing.pb
proto/cosmos/tx/signing/v1beta1/signing.pbenum
proto/cosmos/tx/signing/v1beta1/signing.pbjson
proto/cosmos/tx/v1beta1/export
proto/cosmos/tx/v1beta1/service.pb
proto/cosmos/tx/v1beta1/service.pbenum
proto/cosmos/tx/v1beta1/service.pbgrpc
proto/cosmos/tx/v1beta1/service.pbjson
proto/cosmos/tx/v1beta1/tx.pb
proto/cosmos/tx/v1beta1/tx.pbenum
proto/cosmos/tx/v1beta1/tx.pbjson
proto/cosmos/upgrade/v1beta1/export
proto/cosmos/upgrade/v1beta1/query.pb
proto/cosmos/upgrade/v1beta1/query.pbenum
proto/cosmos/upgrade/v1beta1/query.pbgrpc
proto/cosmos/upgrade/v1beta1/query.pbjson
proto/cosmos/upgrade/v1beta1/upgrade.pb
proto/cosmos/upgrade/v1beta1/upgrade.pbenum
proto/cosmos/upgrade/v1beta1/upgrade.pbjson
proto/cosmos/vesting/v1beta1/export
proto/cosmos/vesting/v1beta1/tx.pb
proto/cosmos/vesting/v1beta1/tx.pbenum
proto/cosmos/vesting/v1beta1/tx.pbgrpc
proto/cosmos/vesting/v1beta1/tx.pbjson
proto/cosmos/vesting/v1beta1/vesting.pb
proto/cosmos/vesting/v1beta1/vesting.pbenum
proto/cosmos/vesting/v1beta1/vesting.pbjson
proto/cosmos_proto/cosmos.pb
proto/cosmos_proto/cosmos.pbenum
proto/cosmos_proto/cosmos.pbjson
proto/cosmos_proto/export
proto/cosmwasm/wasm/v1/export
proto/cosmwasm/wasm/v1/genesis.pb
proto/cosmwasm/wasm/v1/genesis.pbenum
proto/cosmwasm/wasm/v1/genesis.pbjson
proto/cosmwasm/wasm/v1/ibc.pb
proto/cosmwasm/wasm/v1/ibc.pbenum
proto/cosmwasm/wasm/v1/ibc.pbjson
proto/cosmwasm/wasm/v1/proposal.pb
proto/cosmwasm/wasm/v1/proposal.pbenum
proto/cosmwasm/wasm/v1/proposal.pbjson
proto/cosmwasm/wasm/v1/query.pb
proto/cosmwasm/wasm/v1/query.pbenum
proto/cosmwasm/wasm/v1/query.pbgrpc
proto/cosmwasm/wasm/v1/query.pbjson
proto/cosmwasm/wasm/v1/tx.pb
proto/cosmwasm/wasm/v1/tx.pbenum
proto/cosmwasm/wasm/v1/tx.pbgrpc
proto/cosmwasm/wasm/v1/tx.pbjson
proto/cosmwasm/wasm/v1/types.pb
proto/cosmwasm/wasm/v1/types.pbenum
proto/cosmwasm/wasm/v1/types.pbjson
proto/gogoproto/export
proto/gogoproto/gogo.pb
proto/gogoproto/gogo.pbenum
proto/gogoproto/gogo.pbjson
proto/google/api/annotations.pb
proto/google/api/annotations.pbenum
proto/google/api/annotations.pbjson
proto/google/api/export
proto/google/api/http.pb
proto/google/api/http.pbenum
proto/google/api/http.pbjson
proto/google/api/httpbody.pb
proto/google/api/httpbody.pbenum
proto/google/api/httpbody.pbjson
proto/google/protobuf/any.pb
proto/google/protobuf/any.pbenum
proto/google/protobuf/any.pbjson
proto/google/protobuf/duration.pb
proto/google/protobuf/duration.pbenum
proto/google/protobuf/duration.pbjson
proto/google/protobuf/export
proto/google/protobuf/timestamp.pb
proto/google/protobuf/timestamp.pbenum
proto/google/protobuf/timestamp.pbjson
proto/tendermint/abci/export
proto/tendermint/abci/types.pb
proto/tendermint/abci/types.pbenum
proto/tendermint/abci/types.pbgrpc
proto/tendermint/abci/types.pbjson
proto/tendermint/crypto/export
proto/tendermint/crypto/keys.pb
proto/tendermint/crypto/keys.pbenum
proto/tendermint/crypto/keys.pbjson
proto/tendermint/crypto/proof.pb
proto/tendermint/crypto/proof.pbenum
proto/tendermint/crypto/proof.pbjson
proto/tendermint/libs/bits/export
proto/tendermint/libs/bits/types.pb
proto/tendermint/libs/bits/types.pbenum
proto/tendermint/libs/bits/types.pbjson
proto/tendermint/p2p/export
proto/tendermint/p2p/types.pb
proto/tendermint/p2p/types.pbenum
proto/tendermint/p2p/types.pbjson
proto/tendermint/types/block.pb
proto/tendermint/types/block.pbenum
proto/tendermint/types/block.pbjson
proto/tendermint/types/evidence.pb
proto/tendermint/types/evidence.pbenum
proto/tendermint/types/evidence.pbjson
proto/tendermint/types/export
proto/tendermint/types/params.pb
proto/tendermint/types/params.pbenum
proto/tendermint/types/params.pbjson
proto/tendermint/types/types.pb
proto/tendermint/types/types.pbenum
proto/tendermint/types/types.pbjson
proto/tendermint/types/validator.pb
proto/tendermint/types/validator.pbenum
proto/tendermint/types/validator.pbjson
proto/tendermint/version/export
proto/tendermint/version/types.pb
proto/tendermint/version/types.pbenum
proto/tendermint/version/types.pbjson
queries/export
queries/headers
queries/query_helper
transactions/builder/export
transactions/builder/tx_builder
transactions/config/base
transactions/config/default
transactions/config/export
transactions/encoder/base
transactions/encoder/default
transactions/encoder/export
transactions/export
transactions/sender/export
transactions/sender/tx_sender
transactions/sign_mode_handler/base
transactions/sign_mode_handler/direct
transactions/sign_mode_handler/export
transactions/signer/export
transactions/signer/tx_signer
types/cosmos_signature
types/export
types/ext_bigint
types/ext_coins
types/ext_int
types/ext_txresponse
types/ext_uint8list
types/utils_bytearray
utils/big_int_big_endian
utils/bip_32
utils/bip_39
utils/export
wallet/bech32_encoder
wallet/export
wallet/network_info
wallet/wallet
x/auth/account
x/auth/export
x/auth/querier
x/export
x/node/export
x/node/querier
x/vesting/export
x/vesting/vesting_account