Skip to content

Commit

Permalink
update to sapphire mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushBherwani1998 committed Oct 7, 2024
1 parent 3bf30bf commit 96b850f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ class Web3AuthSFA {
// IMP START - Initialize Web3Auth SFA
await singleFactAuthFlutter.init(
SFAParams(
network: Web3AuthNetwork.mainnet,
network: Web3AuthNetwork.sapphire_mainnet,
clientId:
"BJRZ6qdDTbj6Vd5YXvV994TYCqY42-PxldCetmvGTUdoq6pkCqdpuC1DIehz76zuYdaq1RJkXGHuDraHRhCQHvA",
sessionTime: 40
"BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ",
),
);
// IMP END - Initialize Web3Auth SFA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ packages:
dependency: "direct main"
description:
name: single_factor_auth_flutter
sha256: d4297283248657dc00ee55e57ba22ecc4871881d784be78ea25c07ce66618883
sha256: "15f3076a4cc3b43b503326245758f0dfdfd1de35c98335e5a494d6e27af719a0"
url: "https://pub.dev"
source: hosted
version: "5.0.0"
version: "5.1.0"
sky_engine:
dependency: transitive
description: flutter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
firebase_core: ^2.24.2
provider: ^6.1.1
# // IMP START - Installation
single_factor_auth_flutter: ^5.0.0
single_factor_auth_flutter: ^5.1.0
get_it: ^7.6.7
# // IMP END - Installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ class Web3AuthSFA {
Future<void> init() async {
await singleFactAuthFlutter.init(
SFAParams(
network: Web3AuthNetwork.mainnet,
network: Web3AuthNetwork.sapphire_mainnet,
clientId:
"BJRZ6qdDTbj6Vd5YXvV994TYCqY42-PxldCetmvGTUdoq6pkCqdpuC1DIehz76zuYdaq1RJkXGHuDraHRhCQHvA",
sessionTime: 40
"BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ",
),
);
}
Expand All @@ -38,10 +37,9 @@ class Web3AuthSFA {

final SFAKey torusKey = await singleFactAuthFlutter.connect(
LoginParams(
verifier: 'w3a-sfa-flutter-google',
verifier: 'w3a-firebase-demo',
verifierId: user.uid,
idToken: token!,
aggregateVerifier: token
),
);

Expand Down
4 changes: 2 additions & 2 deletions single-factor-auth-flutter/sfa_flutter_solana/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,10 @@ packages:
dependency: "direct main"
description:
name: single_factor_auth_flutter
sha256: d4297283248657dc00ee55e57ba22ecc4871881d784be78ea25c07ce66618883
sha256: "15f3076a4cc3b43b503326245758f0dfdfd1de35c98335e5a494d6e27af719a0"
url: "https://pub.dev"
source: hosted
version: "5.0.0"
version: "5.1.0"
sky_engine:
dependency: transitive
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion single-factor-auth-flutter/sfa_flutter_solana/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies:
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
get_it: ^7.6.7
single_factor_auth_flutter: ^5.0.0
single_factor_auth_flutter: ^5.1.0
firebase_auth: ^5.3.0
firebase_core: ^3.5.0
google_sign_in: ^6.2.1
Expand Down

0 comments on commit 96b850f

Please sign in to comment.