Skip to main content

Installation

Add abidock_mvx to your Dart or Flutter project.

Using pub.dev

Add the dependency to your pubspec.yaml:

dependencies:
abidock_mvx: ^3.0.0

Then run:

dart pub get
# or for Flutter
flutter pub get

From Git

For the latest development version:

dependencies:
abidock_mvx:
git:
url: https://github.com/ABIdock/abidock_mvx.git
ref: main

Verify Installation

Create a simple test file:

import 'package:abidock_mvx/abidock_mvx.dart';

void main() {
// Create a simple address
final address = Address.fromBech32(
'erd1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gq4hu'
);

print('Address: ${address.bech32}');
print('Hex: ${address.hex}');

// Create a BigUInt value
final amount = BigUIntType.create(BigInt.from(1000000000000000000));
print('Amount: ${amount.nativeValue}');
}

Run it:

dart run test_install.dart

Expected output:

Address: erd1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gq4hu
Hex: 0000000000000000000000000000000000000000000000000000000000000000
Amount: 1000000000000000000

Platform Support

PlatformSupport
Dart VM (CLI, server)Full
Flutter (Android)Full
Flutter (iOS)Full
Flutter (Desktop)Full
Flutter (Web)Not supported
caution

The network layer, the WebSocket event stream, and the file-backed wallet helpers use dart:io, which does not exist on the web. Build for the VM, mobile, or desktop; on web, put the SDK behind a backend you control.

Dependencies

PackageUsed for
dioHTTP client for the API and Gateway providers
web_socket_channelWebSocket event streaming
pointycastleCryptographic primitives
cryptographyKeystore key derivation
pinenaclEd25519 signing and secret-box encryption
ed25519_hd_keyHD key derivation
bip39_plusMnemonic generation and validation
unorm_dartUnicode normalization of mnemonics
convertHex and base encodings
yamlReading abidock.yaml in the CLI
pathFilesystem paths in the CLI and wallet helpers
metaAnnotations

Everything is pure Dart — no platform channels, no native build step.

Next Steps