starknet_cli 0.0.1+4 copy "starknet_cli: ^0.0.1+4" to clipboard
starknet_cli: ^0.0.1+4 copied to clipboard

Starknet CLI in Dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add starknet_cli

With Flutter:

 $ flutter pub add starknet_cli

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

dependencies:
  starknet_cli: ^0.0.1+4

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:starknet_cli/account.dart';
import 'package:starknet_cli/block_number.dart';
import 'package:starknet_cli/call.dart';
import 'package:starknet_cli/chain_id.dart';
import 'package:starknet_cli/deploy.dart';
import 'package:starknet_cli/erc20.dart';
import 'package:starknet_cli/invoke.dart';
import 'package:starknet_cli/signer.dart';
import 'package:starknet_cli/utils.dart';