IpfsKeyCommand class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
export({required String name, String? output, String? format})
→ Future<Map<String, dynamic>>
-
Export a keypair
/api/v0/key/export
-
gen({required String name, String? type, int? size, String? ipnsBase})
→ Future<Map<String, dynamic>>
-
Create a new keypair.
/api/v0/key/gen
-
import({required String name, required String path, String? base, String? format, bool? allowAnyKeyType})
→ Future<Map<String, dynamic>>
-
Import a key and prints imported key id
/api/v0/key/import
-
list({bool? verbose, String? ipnsBase})
→ Future<Map<String, dynamic>>
-
List all local keypairs.
/api/v0/key/list
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
rename({required String name, required String newName, bool? force, String? ipnsBase})
→ Future<Map<String, dynamic>>
-
Rename a keypair.
/api/v0/key/rename
-
rm({required List<String> names, bool? verbose, String? ipnsBase})
→ Future<Map<String, dynamic>>
-
Remove a keypair.
/api/v0/key/rm
-
rotate({String? oldKey, String? type, int? size})
→ Future<Map<String, dynamic>>
-
Rotates the IPFS identity.
/api/v0/key/rotate
-
toString()
→ String
-
A string representation of this object.
inherited