Packages
A pretty good Kubo IPFS RPC API client for Elixir.
Retired package: Deprecated - Replaced by ex_ipfs
Current section
Files
Jump to
Current section
Files
lib/api/advanced/key.ex
defmodule MyspaceIPFS.Api.Advanced.Key do
@moduledoc """
MyspaceIPFS.Api is where the key commands of the IPFS API reside.
"""
import MyspaceIPFS
def gen(key), do: post_query("/key/gen?arg=" <> key)
def list, do: post_query("/key/list")
end