Skip to content

@ipfs

Upload text content to IPFS and return the CID.

Returns: string

@ipfs(text)
NameTypeDescription
textstringContent to upload
# Upload text to IPFS
set $cid @ipfs("hello world")

Content is pinned byte-exact as plain text, so the CID addresses exactly the text you uploaded — a pinned module file can be loaded directly with load --from.