siwe_flutter 0.0.12
siwe_flutter: ^0.0.12 copied to clipboard
A frontend implementation of Sign in With Ethereum for Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add siwe_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
siwe_flutter: ^0.0.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:siwe_flutter/create_external_message.dart';
import 'package:siwe_flutter/create_message.dart';
import 'package:siwe_flutter/get_nonce.dart';
import 'package:siwe_flutter/global.dart';
import 'package:siwe_flutter/initalize_provider.dart';
import 'package:siwe_flutter/library.dart';
import 'package:siwe_flutter/sign_message.dart';
import 'package:siwe_flutter/siwe.dart';
import 'package:siwe_flutter/verify_message.dart';