-
-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Jose Eduardo Rojas Jimenez edited this page Dec 14, 2025
·
1 revision
Add to your pubspec.yaml:
dependencies:
dart_ipfs: ^1.2.0Then run:
dart pub getdependencies:
dart_ipfs:
git:
url: https://github.com/jxoesneon/IPFS.git| Requirement | Version |
|---|---|
| Dart SDK | ≥3.5.4 <4.0.0 |
| Flutter | Optional (for mobile) |
import 'package:dart_ipfs/dart_ipfs.dart';
void main() async {
final node = await IPFSNode.create(
IPFSConfig(dataDir: './test_data', offline: true),
);
await node.start();
print('IPFS Node started: ${node.peerID}');
await node.stop();
}- Quick-Start - Basic usage examples
- Configuration - Configure your node