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

Dart SDK for TON Connect. TON Connect 2.0 is a communication protocol between wallets and apps in TON. Using TonConnect allows you to create authorization for applications, as well as send transaction [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add darttonconnect

With Flutter:

 $ flutter pub add darttonconnect

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

dependencies:
  darttonconnect: ^1.0.2

Alternatively, your editor might support dart pub get or 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/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
0
pub points
71%
popularity

Publisher

unverified uploader

Dart SDK for TON Connect. TON Connect 2.0 is a communication protocol between wallets and apps in TON. Using TonConnect allows you to create authorization for applications, as well as send transactions within applications, confirming them using wallets integrated with TonConnect.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

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

More

Packages that depend on darttonconnect