C# Class Ipfs.Commands.IpfsName

Inheritance: Ipfs.Json.IpfsCommand
Mostrar archivo Open project: TrekDev/net-ipfs-api

Public Methods

Method Description
Publish ( string name, string ipfsPath ) : Task

Publish an object to IPNS IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In publish, the default value of is your own identity public key.

Resolve ( string name ) : Task

Gets the value currently published at an IPNS name IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In resolve, the default value of is your own identity public key.

Private Methods

Method Description
IpfsName ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : Ipfs.Json

Method Details

Publish() public method

Publish an object to IPNS IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In publish, the default value of is your own identity public key.
public Publish ( string name, string ipfsPath ) : Task
name string The IPNS name to publish to. Defaults to your node's peerID
ipfsPath string IPFS path of the obejct to be published at
return Task

Resolve() public method

Gets the value currently published at an IPNS name IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In resolve, the default value of is your own identity public key.
public Resolve ( string name ) : Task
name string The IPNS name to resolve. Defaults to your node's peerID.
return Task