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.
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 branch |
---|---|
v0.37.x |
cosmos-v0.37.x |
v0.38.x |
cosmos-v0.38.x |
v0.39.x |
cosmos-v0.39.x |
v0.40.x , v0.41.x , v0.42.x |
main |
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:
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>