-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
250 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## 3.3.0-beta05 | ||
## 3.3.0-beta06 | ||
|
||
- One-Click Auth + SIWE implementation | ||
- Coinbase Wallet dependency update | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/services/blockchain_service/blockchain_service_singleton.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import 'package:web3modal_flutter/services/blockchain_service/i_blockchain_service.dart'; | ||
|
||
class BlockChainServiceSingleton { | ||
IBlockChainService? instance; | ||
late IBlockChainService instance; | ||
} | ||
|
||
final blockchainService = BlockChainServiceSingleton(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import 'package:web3modal_flutter/services/blockchain_service/models/blockchain_identity.dart'; | ||
|
||
abstract class IBlockChainService { | ||
/// The project ID used when querying the API. | ||
String get projectId; | ||
Future<void> init(); | ||
|
||
/// Gets the name and avatar of a provided address on the given chain | ||
Future<BlockchainIdentity> getIdentity(String address, int chainId); | ||
Future<BlockchainIdentity> getIdentity(String address); | ||
|
||
// Future<JsonRpcResponse?> getBalance(String chainId, String address); | ||
|
||
// Future<String> fetchEnsName(String rpcUrl, String address); | ||
|
||
// Future<String> fetchEnsAvatar(String rpcUrl, String address); | ||
Future<dynamic> getRpcRequest({ | ||
required String method, | ||
required List<dynamic> params, | ||
required String chain, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.