darttonconnect 1.0.3 copy "darttonconnect: ^1.0.3" to clipboard
darttonconnect: ^1.0.3 copied to clipboard

Dart SDK for TON Connect. Use it to connect your app to TON wallets via TonConnect protocol.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add darttonconnect

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  darttonconnect: ^1.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:darttonconnect/crypto/session_crypto.dart';
import 'package:darttonconnect/exceptions.dart';
import 'package:darttonconnect/logger.dart';
import 'package:darttonconnect/models/wallet_app.dart';
import 'package:darttonconnect/parsers/connect_event.dart';
import 'package:darttonconnect/parsers/rpc_parser.dart';
import 'package:darttonconnect/parsers/send_transaction.dart';
import 'package:darttonconnect/provider/bridge_gateway.dart';
import 'package:darttonconnect/provider/bridge_provider.dart';
import 'package:darttonconnect/provider/bridge_session.dart';
import 'package:darttonconnect/provider/provider.dart';
import 'package:darttonconnect/storage/default_storage.dart';
import 'package:darttonconnect/storage/interface.dart';
import 'package:darttonconnect/ton_connect.dart';
import 'package:darttonconnect/wallets_list_manager.dart';
5
likes
120
points
107
downloads

Publisher

unverified uploader

Weekly Downloads

Dart SDK for TON Connect. Use it to connect your app to TON wallets via TonConnect protocol.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, hex, http, logger, pinenacl, shared_preferences, universal_html

More

Packages that depend on darttonconnect