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.Utils
@spec gen(binary) :: any
def gen(key), do: request_get("/key/gen?arg=", key)
@spec list :: any
def list, do: request_get("/key/list")
end