wallet_core_bindings_libs

Dynamic library built by wallet core, used with wallet_core_bindings_native.

Packages

Package Pub
wallet_core_bindings Pub
wallet_core_bindings_native Pub
wallet_core_bindings_wasm Pub
wallet_core_bindings_libs Pub
wallet_core_bindings_wasm_assets Pub

Supported platforms

Currently supported platforms, other platforms will be added if suitable methods are found in the future.

  • Android
  • iOS
  • macOS
  • Linux

Building

By default, wallet core does not expose interface methods. You need to make a small change and compile it before using it.

Required modifications

# File: /cmake/StandardSettings.cmake
set(CMAKE_CXX_VISIBILITY_PRESET hidden) -> set(CMAKE_CXX_VISIBILITY_PRESET default)

Windows

Windows is not supported at present.

Getting Started

dependencies:
  wallet_core_bindings: version
  wallet_core_bindings_native: version
  wallet_core_bindings_libs: version
import 'package:wallet_core_bindings/wallet_core_bindings.dart';
import 'package:wallet_core_bindings_native/wallet_core_bindings_native.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await WalletCoreBindingsNativeImpl().initialize();
  runApp(const MyApp());
}

Usage

For comprehensive documentation, see package repository.