Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 915c123

Browse files
feat(web5): implement wallet API endpoints and mobile integration
- Add Web5 wallet management endpoints to server.dart - Integrate DID operations with mobile platform - Ensure compliance with BIP standards and Web5 protocols This change maintains platform-agnostic design patterns and follows Material Design 3 guidelines for the mobile interface.
1 parent 1411e96 commit 915c123

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/src/api/server.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ import '../utils/logging.dart';
1313
import '../utils/validation.dart';
1414

1515
/// AnyaServer implements a RESTful API server with Bitcoin and Web5 capabilities.
16-
///
16+
///
1717
/// Features:
1818
/// - Bitcoin wallet management (BIP compliance)
1919
/// - Decentralized identity (DID) operations
2020
/// - IPFS integration
2121
/// - Material Design 3 UI endpoints
22-
///
22+
///
2323
/// Follows platform-agnostic design patterns and accessibility standards.
24-
///
24+
///
2525
/// Example:
2626
/// ```dart
2727
/// final wallet = BitcoinWallet();
@@ -37,7 +37,7 @@ class AnyaServer {
3737
final Logger _logger;
3838

3939
/// Creates a new instance of [AnyaServer].
40-
///
40+
///
4141
/// Requires initialized [BitcoinWallet] and [IdentityManager] instances.
4242
/// Throws [ArgumentError] if any parameter is null.
4343
AnyaServer(this._wallet, this._identity) : _logger = Logger('AnyaServer') {
@@ -86,7 +86,7 @@ class AnyaServer {
8686
}
8787

8888
Future<void> start({String host = 'localhost', int port = 8080}) async {
89-
final handler = Pipeline()
89+
final handler = const Pipeline()
9090
.addMiddleware(logRequests())
9191
.addMiddleware(_handleCors())
9292
.addHandler(_router);

0 commit comments

Comments
 (0)