If you are using 1.4.x, please review this Upgrade Guide from 1.4.x to 1.5.x
Please note that the SDK particle_auth_core
only supports ios-arm64 (iOS devices), does not support simulators, to perform testing, you will require an actual iPhone device.
Particle Auth Core is a simple self-custodial auth infra for Web3 apps and wallets.
Particle Connect is the best way to onboard any user for your dApp.
Particle Wallet is not an independent wallet—it is a wallet infrastructure plugged into apps or wallets.
Particle AA support Account Abstraction
Specify all pod versions in your Podfile, get the lateset versions from iOS native particle-ios and particle-connect
Depend on it
Run this command:
Import Connect and Wallet SDKs using the same method
flutter pub add particle_connect
import 'package:particle_connect/particle_connect.dart';
flutter pub add particle_wallet
import 'package:particle_wallet/particle_wallet.dart';
flutter pub add particle_aa
import 'package:particle_aa/particle_aa.dart';
Please note that the particle_auth_core
supports ios-arm64 (iOS devices). We currently do not support simulators. To perform testing, you will require an actual iPhone device.
flutter pub add particle_auth_core
import 'package:particle_auth_core/particle_auth_core.dart';
In particle-auth/example/lib/mock/transaction_mock.dart, We provide several examples that show how to structure transactions, how to read contract and write contract.