kinetic 1.0.0-rc.12 copy "kinetic: ^1.0.0-rc.12" to clipboard
kinetic: ^1.0.0-rc.12 copied to clipboard

The official Kinetic Dart SDK brought to you by the Kin Foundation.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add kinetic

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

dependencies:
  kinetic: ^1.0.0-rc.12

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:kinetic/constants.dart';
import 'package:kinetic/exceptions.dart';
import 'package:kinetic/generated/lib/api.dart';
import 'package:kinetic/generated/lib/api/account_api.dart';
import 'package:kinetic/generated/lib/api/airdrop_api.dart';
import 'package:kinetic/generated/lib/api/app_api.dart';
import 'package:kinetic/generated/lib/api/transaction_api.dart';
import 'package:kinetic/generated/lib/api_client.dart';
import 'package:kinetic/generated/lib/api_exception.dart';
import 'package:kinetic/generated/lib/api_helper.dart';
import 'package:kinetic/generated/lib/auth/api_key_auth.dart';
import 'package:kinetic/generated/lib/auth/authentication.dart';
import 'package:kinetic/generated/lib/auth/http_basic_auth.dart';
import 'package:kinetic/generated/lib/auth/http_bearer_auth.dart';
import 'package:kinetic/generated/lib/auth/oauth.dart';
import 'package:kinetic/generated/lib/model/account_info.dart';
import 'package:kinetic/generated/lib/model/app_config.dart';
import 'package:kinetic/generated/lib/model/app_config_api.dart';
import 'package:kinetic/generated/lib/model/app_config_app.dart';
import 'package:kinetic/generated/lib/model/app_config_cluster.dart';
import 'package:kinetic/generated/lib/model/app_config_environment.dart';
import 'package:kinetic/generated/lib/model/app_config_mint.dart';
import 'package:kinetic/generated/lib/model/app_health.dart';
import 'package:kinetic/generated/lib/model/balance_response.dart';
import 'package:kinetic/generated/lib/model/balance_token.dart';
import 'package:kinetic/generated/lib/model/close_account_request.dart';
import 'package:kinetic/generated/lib/model/cluster_type.dart';
import 'package:kinetic/generated/lib/model/commitment.dart';
import 'package:kinetic/generated/lib/model/compiled_inner_instruction.dart';
import 'package:kinetic/generated/lib/model/compiled_instruction.dart';
import 'package:kinetic/generated/lib/model/confirmation_status.dart';
import 'package:kinetic/generated/lib/model/confirmed_signature_info.dart';
import 'package:kinetic/generated/lib/model/confirmed_transaction_meta.dart';
import 'package:kinetic/generated/lib/model/context.dart';
import 'package:kinetic/generated/lib/model/create_account_request.dart';
import 'package:kinetic/generated/lib/model/get_transaction_response.dart';
import 'package:kinetic/generated/lib/model/history_response.dart';
import 'package:kinetic/generated/lib/model/latest_blockhash_response.dart';
import 'package:kinetic/generated/lib/model/make_transfer_request.dart';
import 'package:kinetic/generated/lib/model/minimum_rent_exemption_balance_response.dart';
import 'package:kinetic/generated/lib/model/request_airdrop_request.dart';
import 'package:kinetic/generated/lib/model/request_airdrop_response.dart';
import 'package:kinetic/generated/lib/model/rpc_response_and_context.dart';
import 'package:kinetic/generated/lib/model/signature_status.dart';
import 'package:kinetic/generated/lib/model/token_amount.dart';
import 'package:kinetic/generated/lib/model/token_balance.dart';
import 'package:kinetic/generated/lib/model/token_info.dart';
import 'package:kinetic/generated/lib/model/transaction.dart';
import 'package:kinetic/generated/lib/model/transaction_data.dart';
import 'package:kinetic/generated/lib/model/transaction_error.dart';
import 'package:kinetic/generated/lib/model/transaction_error_type.dart';
import 'package:kinetic/generated/lib/model/transaction_response.dart';
import 'package:kinetic/generated/lib/model/transaction_status.dart';
import 'package:kinetic/helpers/generate_create_account_transaction.dart';
import 'package:kinetic/helpers/generate_make_transfer_transaction.dart';
import 'package:kinetic/helpers/get_public_key.dart';
import 'package:kinetic/helpers/get_solana_rpc_endpoint.dart';
import 'package:kinetic/helpers/validate_kinetic_sdk_config.dart';
import 'package:kinetic/interfaces/close_account_options.dart';
import 'package:kinetic/interfaces/create_account_options.dart';
import 'package:kinetic/interfaces/generate_create_account_options.dart';
import 'package:kinetic/interfaces/generate_make_transfer_options.dart';
import 'package:kinetic/interfaces/get_account_info_options.dart';
import 'package:kinetic/interfaces/get_balance_options.dart';
import 'package:kinetic/interfaces/get_history_options.dart';
import 'package:kinetic/interfaces/get_token_accounts_options.dart';
import 'package:kinetic/interfaces/get_transaction_options.dart';
import 'package:kinetic/interfaces/kinetic_sdk_config.dart';
import 'package:kinetic/interfaces/make_transfer_options.dart';
import 'package:kinetic/interfaces/request_airdrop_options.dart';
import 'package:kinetic/interfaces/transaction_type.dart';
import 'package:kinetic/interfaces/transfer_destination.dart';
import 'package:kinetic/keypair.dart';
import 'package:kinetic/kinetic_sdk.dart';
import 'package:kinetic/kinetic_sdk_internal.dart';
import 'package:kinetic/solana.dart';
import 'package:kinetic/tools.dart';
import 'package:kinetic/version.dart';
0
likes
130
points
29
downloads

Publisher

verified publisherkin.org

Weekly Downloads

The official Kinetic Dart SDK brought to you by the Kin Foundation.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

bip39, bs58, flutter, http, intl, logger, meta, solana

More

Packages that depend on kinetic